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

Add failSuite() helper to abort the entire test suite #37

Closed
olafurpg opened this issue Feb 2, 2020 · 2 comments · Fixed by #59
Closed

Add failSuite() helper to abort the entire test suite #37

olafurpg opened this issue Feb 2, 2020 · 2 comments · Fixed by #59

Comments

@olafurpg
Copy link
Member

olafurpg commented Feb 2, 2020

Currently, you can use fail() to abort a single test case with a custom message. However, the next test case will continue to run unchanged.

It would be nice if there was a failSuite() helper that would abort subsequent test cases as well.

Context: https://contributors.scala-lang.org/t/announcing-munit-a-new-scala-testing-library/4007/5?u=olafurpg

@olafurpg
Copy link
Member Author

cc/ @Daron666 will you look into this?

@terjokhin
Copy link
Contributor

@olafurpg yep!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants