tasty-expected-failure-0.11.1.1: Mark tasty tests as failure expected

tasty-expected-failure-0.11.1.1: Mark tasty tests as failure expected

With the function 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 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 expectFail marker.

The module also provides ignoreTest to avoid running a test. Both funtions are implemented via the more general wrapTest, which is also provided.

Signatures

Modules