Alle Optionen
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Quellcode: haskell-tasty-expected-failure  ]

Paket: libghc-tasty-expected-failure-doc (0.12.3-1)

Links für libghc-tasty-expected-failure-doc

Screenshot

Debian-Ressourcen:

Quellcode-Paket haskell-tasty-expected-failure herunterladen:

Betreuer:

Externe Ressourcen:

Ähnliche Pakete:

mark tasty tests as failure-expected; documentation

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 '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 functions are implemented via the more general 'Test.Tasty.ExpectedFailure.wrapTest', which is also provided.

This package provides the documentation for a library for the Haskell programming language. See http://www.haskell.org/ for more information on Haskell.

Andere Pakete mit Bezug zu libghc-tasty-expected-failure-doc

  • hängt ab von
  • empfiehlt
  • schlägt vor
  • erweitert

libghc-tasty-expected-failure-doc herunterladen

Download für alle verfügbaren Architekturen
Architektur Paketgröße Größe (installiert) Dateien
all 42,7 kB208,0 kB [Liste der Dateien]