BSD Ports

devel/hs-tasty-expected-failure 0.12.3nb3 NetBSD

Mark tasty tests as failure expected

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
mit
Categories
devel
Package size
64.6 KiB, 359.9 KiB installed

Description

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.

Install

Binary package:

pkgin install hs-tasty-expected-failure

From pkgsrc:

cd /usr/pkgsrc/devel/hs-tasty-expected-failure && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_640.12.3nb3
NetBSD 10.1 aarch640.12.3nb3
SmartOS / illumos x86_640.12.3nb3
macOS 15 arm640.12.3nb3

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 4
Required by 1