mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 01:33:10 +00:00
af60e68744
This is very useful in conjunction with meta.pkgConfigModules, as the new tester can use the list provided by this meta attribute as a default value for moduleNames, making its usage in passthru.tests very convenient. For backwards compatibility, a shim under the old name is maintained with a warning. |
||
---|---|---|
.. | ||
default.nix | ||
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.