add test help text

This commit is contained in:
tristan 2024-12-08 21:27:18 +00:00
parent bfa12db1db
commit cf125cc808
6 changed files with 64 additions and 49 deletions

View file

@ -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 = {};
})
])
]