You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This does have instructions for blessing the failure (cp tests/minicrater/resource-exhaustion/markdown.md.context.actual.json tests/minicrater/resource-exhaustion/markdown.md.context.expected.json), but there's so much output it's easy to miss it. In particular, if more than one test fails it's very easy to miss that there are multiple commands you need to run, since they might have disappeared off your terminal screen, requiring you to run the tests again to see the output.
It would be great to have a cargo test minicrater -- --bless command that automatically updates the expected JSON files.
The text was updated successfully, but these errors were encountered:
Right now, failed tests have output like this:
Output
This does have instructions for blessing the failure (
cp tests/minicrater/resource-exhaustion/markdown.md.context.actual.json tests/minicrater/resource-exhaustion/markdown.md.context.expected.json
), but there's so much output it's easy to miss it. In particular, if more than one test fails it's very easy to miss that there are multiple commands you need to run, since they might have disappeared off your terminal screen, requiring you to run the tests again to see the output.It would be great to have a
cargo test minicrater -- --bless
command that automatically updates the expected JSON files.The text was updated successfully, but these errors were encountered: