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

Outstanding issues with Dafny test support #451

Open
robin-aws opened this issue Dec 4, 2019 · 3 comments
Open

Outstanding issues with Dafny test support #451

robin-aws opened this issue Dec 4, 2019 · 3 comments
Assignees
Labels
part: documentation Dafny's reference manual, tutorial, and other materials

Comments

@robin-aws
Copy link
Member

robin-aws commented Dec 4, 2019

From #447:

  • Reject programs that use {:test} incorrectly before attempting to compile them (must be "static", must return a "result type", etc.)
  • Explicitly report the lack of support in the other target languages
  • Backfill documentation
  • Define minimal requirements for {:test} semantics, in order to specify correctness for translation to each target language. I'd propose that there must at least exist a command that provides a non-zero exit code IFF at least one {:test} method returns a result for which IsFailure() returns true.
  • Provide CLI switches for running tests using the target language tooling? Something like dafny /test?
  • Create a mechanism for customizing the compiler per language? It would be better not to reference specific libraries in the compiler itself.
@robin-aws
Copy link
Member Author

Removed bullet on special-casing modifies - Main() is not special-cased, methods with {:main} are, and I don't think we want that here anyway.

@MikaelMayer
Copy link
Member

Where are we on this issue? Is it just a documentation issue or a feature/enhancement?

@robin-aws robin-aws self-assigned this Mar 14, 2022
@robin-aws
Copy link
Member Author

It's a mix of a bunch of different issues really, just a brain dump from when I first added the attribute. :) I'll split it up and perhaps knock off the easy documentation tasks with a quick PR.

@atomb atomb removed this from the Dafny 3.1 milestone Apr 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
part: documentation Dafny's reference manual, tutorial, and other materials
Projects
None yet
Development

No branches or pull requests

4 participants