Skip to content
New issue

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

Support Dafny tests for benerated test models #458

Closed
robin-aws opened this issue Jun 24, 2024 · 0 comments · Fixed by #460
Closed

Support Dafny tests for benerated test models #458

robin-aws opened this issue Jun 24, 2024 · 0 comments · Fixed by #460
Assignees
Labels
Rust TestModels Relates to Testing the code generator via the TestModels directory

Comments

@robin-aws
Copy link
Contributor

We've been manually editing Rust source tests, which is also valuable testing, but it's also very easy to test for the wrong symbols.

Primary blocker is figuring out the target for the Dafny tests - they are translated into a single main method instead of individual [#test]s. What's the most idiomatic way to provide a main method that should only be used for testing a library and not called by consumers?

@robin-aws robin-aws added TestModels Relates to Testing the code generator via the TestModels directory Rust labels Jun 24, 2024
@robin-aws robin-aws self-assigned this Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Rust TestModels Relates to Testing the code generator via the TestModels directory
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant