add test help text
This commit is contained in:
parent
bfa12db1db
commit
cf125cc808
6 changed files with 64 additions and 49 deletions
|
@ -7,16 +7,7 @@
|
|||
in [
|
||||
(describe "the test function" [
|
||||
(it "get's test results" {
|
||||
expected = {
|
||||
name = builtins.baseNameOf ./example.test.nix;
|
||||
value = {
|
||||
"an example" = {
|
||||
succeeds = {
|
||||
success = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
expected."an example".succeeds.success = true;
|
||||
actual = test ./example.test.nix;
|
||||
})
|
||||
(it "fails to build non test" {
|
||||
|
@ -25,7 +16,7 @@ in [
|
|||
})
|
||||
(it "tests suite that is not a file" {
|
||||
actual = test ({...}: []);
|
||||
expected = {name = "anonymous"; value = {};};
|
||||
expected = {};
|
||||
})
|
||||
])
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue