tasty-expected-failure: Mark tasty tests as failure expected
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]
Downloads
- tasty-expected-failure-0.12.3.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
Versions [RSS] | 0.11, 0.11.0.1, 0.11.0.2, 0.11.0.3, 0.11.0.4, 0.11.1, 0.11.1.1, 0.11.1.2, 0.12, 0.12.1, 0.12.2, 0.12.3 |
---|---|
Dependencies | base (>=4.9 && <5), tagged (>=0.7 && <0.9), tasty (>=0.11), unbounded-delays (<0.2) [details] |
Tested with | ghc ==8.0.2, ghc ==8.2.2, ghc ==8.4.4, ghc ==8.6.5, ghc ==8.8.3, ghc ==8.10.1 |
License | MIT |
Copyright | 2015 Joachim Breitner |
Author | Joachim Breitner |
Maintainer | mail@joachim-breitner.de |
Category | Testing |
Home page | http://github.com/nomeata/tasty-expected-failure |
Source repo | head: git clone git://github.com/nomeata/tasty-expected-failure |
Uploaded | by JoachimBreitner at 2021-02-16T16:50:47Z |
Distributions | Arch:0.12.3, Debian:0.11.1.2, LTSHaskell:0.12.3, NixOS:0.12.3, Stackage:0.12.3 |
Reverse Dependencies | 7 direct, 71 indirect [details] |
Downloads | 18236 total (207 in the last 30 days) |
Rating | 2.0 (votes: 1) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2021-02-16 [all 1 reports] |