We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Snapshot test that successfully compile will have a different final line, e.g., either:
Finished debug [unoptimized + fuel] target(s) [32 B] in ???
or
Finished release [optimized + fuel] target(s) [32 B] in ???
depending if we compile the test project in debug or release build.
debug
release
We need support for snapshot tests to be able to compare snapshots no matter if the test is executed in the debug or release mode.
The current workaround is to force such snapshot tests to always compile in release mode by adding cmds to the snapshot.toml:
cmds
snapshot.toml
cmds = ["forc build --path {root} --release"]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Snapshot test that successfully compile will have a different final line, e.g., either:
or
depending if we compile the test project in
debug
orrelease
build.We need support for snapshot tests to be able to compare snapshots no matter if the test is executed in the debug or release mode.
The current workaround is to force such snapshot tests to always compile in release mode by adding
cmds
to thesnapshot.toml
:The text was updated successfully, but these errors were encountered: