4.flake-parts/dev/tests
Robert Hensing b437169e50 fix(inputs'): do not unnecessarily evaluate formatters
This compromises the ability to `inputs'?formatter`, but that seems
like a particularly rare use case.
Instead, we treat `inputs'` as another "programmatic" as opposed to
"polished" interfaces, similar to the `config` vs flake attributes
distinction.
The programmatic interfaces always prioritize laziness whereas the
polished interfaces may choose to omit known-missing things, to a
reasonable degree.
2026-05-04 13:42:13 +02:00
..
perSystem-memoize test(perSystem): make sure it is memoized 2026-05-02 23:30:55 +01:00
nix-unit.nix fix(inputs'): do not unnecessarily evaluate formatters 2026-05-04 13:42:13 +02:00
perSystem-memoize.nix test(perSystem): make sure it is memoized 2026-05-02 23:30:55 +01:00
README.md Explain hci effect tests 2022-11-13 12:25:55 +01:00
template.nix dev: Make the test slightly more sensible 2024-01-30 00:00:55 +01:00

Running the tests

These tests can be run locally with the hci effect run command. This gives the tests access to a proper nix daemon and the network.

Designed for convenient deployments, it needs some information from git. You may use --no-token to disable this functionality if you're getting errors, or if you're asked to log in.

Example:

hci effect run --no-token default.effects.tests.template