{ describe, it, ... }: let test = import ../tix/test.nix; in [ (describe "the test function" [ (it "get's test results" { expected = { name = builtins.baseNameOf ./example.test.nix; value = { "an example" = { succeeds = { success = true; }; }; }; }; actual = test ./example.test.nix; }) (it "fails to build non test" { actual = test ./bad/string.nix; throws = true; }) (it "tests suite that is not a file" { actual = test ({...}: []); expected = {name = "anonymous"; value = {};}; }) ]) ]