namaka

release version deps license ci

Snapshot testing tool for Nix based on [haumea]

bash nix shell github:nix-community/namaka namaka check # run checks namaka review # review pending snapshots

Usage

``` Usage: namaka

Commands: check Wrapper around nix flake check to prepare snapshots for failed tests [aliases: c] review Review pending snapshots and selectively accept or reject them [aliases: r] help Print this message or the help of the given subcommand(s)

Options: -h, --help Print help -V, --version Print version ```

load

Type: { flake, dir?, ... } -> { ... }

Arguments:

Wrapper around [haumea.load] to loads snapshot tests from a directory. See tests for how the directory should be structured. Ignore the _snapshots, as it will be generated by namaka.

The rest of the arguments are passed directory to [haumea.load], with the exception of src, which always gets overwritten (ignored).

Related Tools