test.assertions
Description This option allows modules to express conditions that must
hold for the evaluation of the system configuration to
succeed, along with associated error messages for the user. Type list of (submodule)
Default [ ]
Example [
{
assertion = false;
message = "you can't enable this for some reason";
}
]
Declared in modules/testing/test-options.nix test.assertions.*.assertion
Description assertion value Type boolean
Default false
Declared in modules/testing/test-options.nix test.assertions.*.message
Description assertion message Type string
Default
Declared in modules/testing/test-options.nix test.description
Description Test description Type string
Default
Declared in modules/testing/test-options.nix test.enable
Description Whether to enable test Type boolean
Default true
Declared in modules/testing/test-options.nix test.name
Description Test name Type string
Default
Declared in modules/testing/test-options.nix test.script
Description Test script to use for e2e test Type null or strings concatenated with "\n" or path
Default null
Declared in modules/testing/test-options.nix
Test