The tasty-expected-failure package
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.
[Skip to Readme]
|Versions||0.11, 0.11.0.1, 0.11.0.2, 0.11.0.3, 0.11.0.4|
|Dependencies||base (>=4.5 && <4.11), tagged (>=0.7 && <0.9), tasty (>=0.11) [details]|
|Copyright||2015 Joachim Breitner|
|Source repository||head: git clone git://github.com/nomeata/tasty-expected-failure|
|Uploaded||Wed Jun 8 09:37:58 UTC 2016 by JoachimBreitner|
|Updated||Tue May 16 22:14:07 UTC 2017 by JoachimBreitner to revision 1|
|Distributions||LTSHaskell:0.11.0.4, NixOS:0.11.0.4, Stackage:0.11.0.4, Tumbleweed:0.11.0.4|
|Downloads||559 total (52 in the last 30 days)|
|Status||Docs available [build log]
Last success reported on 2016-06-08 [all 1 reports]
Hackage Matrix CI
For package maintainers and hackage trustees