Package0.12.3Testing
tasty-expected-failure
Mark tasty tests as failure expected
- Version0.12.3
- CategoryTesting
- LicenceMIT
- AuthorJoachim Breitner
- Maintainermail@joachim-breitner.de
- Homepagegithub.com/nomeata/tasty-expected-failure
- Pinned byhackage tasty-expected-failure 0.12.3
- Sourcehackage.haskell.org/package/tasty-expected-failure-0.12.3
Modules
1 moduleDescription
With the function Test.Tasty.ExpectedFailure.expectFail in the provided module Test.Tasty.ExpectedFailure, you can mark that you expect test cases to fail, and not to pass.
This can for example be used for test-driven development: Create the tests, mark them with Test.Tasty.ExpectedFailure.expectFail, and you can still push to the main branch, without your continuous integration branch failing.
Once someone implements the feature or fixes the bug (maybe unknowingly), the test suite will tell him so, due to the now unexpectedly passing test, and he can remove the Test.Tasty.ExpectedFailure.expectFail marker.
The module also provides Test.Tasty.ExpectedFailure.ignoreTest to avoid running a test. Both funtions are implemented via the more general Test.Tasty.ExpectedFailure.wrapTest, which is also provided.
Depends on
4 packages- base-4.20.2.0with GHC
- tagged-0.8.9in this set
- tasty-1.5.3in this set
- unbounded-delays-0.1.1.1in this set
Used by in this set · 0
Nothing in this set depends on it.