This commit is contained in:
David Arnold 2021-05-06 16:07:24 -04:00
parent bbc5e3d477
commit 1bd3fe4d4e
No known key found for this signature in database
GPG key ID: 6D6A936E69C59D08
22 changed files with 49 additions and 609 deletions

View file

@ -6,7 +6,7 @@ let
cfg = config.testing;
testModule = {
imports = [ ./test.nix ];
imports = [ ./evalTest.nix ];
# passthru testing configuration
config._module.args = {
@ -86,12 +86,14 @@ in {
};
success = mkOption {
internal = true; # read only property
description = "Whether testing was a success";
type = types.bool;
default = all (test: test.success) cfg.tests;
};
testScript = mkOption {
internal = true; # set by test driver
type = types.package;
description = "Script to run e2e tests";
};