nixpkgs/pkgs/build-support/testers/test
Artturin 3f3ca2d90d tests.testers.testBuildFailure.helloDoesNotFail: fix confusing output
the output made me think that the test failed but did not fail

testBuildFailure-helloDoesNotFail> Checking /nix/store/x6403x1llpk00i59cmr96iy92mx1f7hb-hello-2.12.1/testBuildFailure.log
testBuildFailure-helloDoesNotFail> testBuildFailure: The builder did not fail, but a failure was expected!
2023-01-17 20:49:24 +02:00
..
default.nix tests.testers.testBuildFailure.helloDoesNotFail: fix confusing output 2023-01-17 20:49:24 +02:00
README.md

Tests for the testers

cd nixpkgs
nix-build -A tests.testers

Tests generally derive their own correctness from simplicity, which in the case of testers (themselves functions) does not always work out. Hence the need for tests that test the testers.