recursiveLoadEvalTests

Source: src/recursiveLoadEvalTests.nix

Type: { src, inputs? } -> {}

Arguments:

  • src : Path

    the path to the directory containing the tests

  • (optional) inputs : { ... }

    inputs passed into each test to make functions available

Result:

This function is used to load and evaluate tests from a directory (much like haumea.lib.loadEvalTests). But it will flatten the directory structure to allow for nested directories and add them to the tests name for easier debugging.