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
Test__Main should be generated from translate as well as test
Background and Motivation
Sometimes a person wants to do some testing or instrumentation, and needs to get at an entry point that runs all the tests. Test__Main is that entry point, and so it should be more widely available.
Proposed Feature
In Rust, or possibly all languages, dafny translate should generate the same Test__Main function as dafny test.
The only difference between the two outputs would then be that dafny test creates a main() where dafny translate does not.
Alternatives
No response
The text was updated successfully, but these errors were encountered:
Summary
Test__Main should be generated from
translate
as well astest
Background and Motivation
Sometimes a person wants to do some testing or instrumentation, and needs to get at an entry point that runs all the tests. Test__Main is that entry point, and so it should be more widely available.
Proposed Feature
In Rust, or possibly all languages,
dafny translate
should generate the same Test__Main function asdafny test
.The only difference between the two outputs would then be that
dafny test
creates amain()
wheredafny translate
does not.Alternatives
No response
The text was updated successfully, but these errors were encountered: