path: let it = import ./it.nix; describe = import ./describe.nix; suite = if builtins.typeOf path == "path" then import path else path; in ( if !builtins.isFunction suite then throw "A test suite should be in the form { it, describe }: [ ]." else builtins.listToAttrs (suite {inherit it describe;}) )