tasty-expected-failure: Mark tasty tests as failure expected
This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.
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]
Properties
Versions | 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.2, 0.12.3 |
---|---|
Change log | None available |
Dependencies | base (>=4.9 && <5), tagged (>=0.7 && <0.9), tasty (>=0.11), unbounded-delays (<0.2) [details] |
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 2020-12-31T14:23:03Z |
Modules
[Index] [Quick Jump]
- Test
Downloads
- tasty-expected-failure-0.12.2.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
Package maintainers
For package maintainers and hackage trustees