Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 9.2% on hackage.haskell.org
Top 8.7% downloads on hackage.haskell.org
Top 4.6% dependent packages on hackage.haskell.org
Top 3.3% dependent repos on hackage.haskell.org

hackage.haskell.org : tasty-expected-failure

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.

Registry - Source - Homepage - JSON
purl: pkg:hackage/tasty-expected-failure
Keywords: library, mit, testing
License: MIT
Latest release: about 3 years ago
First release: over 8 years ago
Dependent packages: 4
Dependent repositories: 152
Downloads: 17,043 total
Stars: 21 on GitHub
Forks: 9 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 13 days ago

    Loading...
    Readme
    Loading...