kubenix/docs/content/examples/testing/_index.md

14 lines
257 B
Markdown
Raw Normal View History

2023-06-03 02:38:28 -04:00
Testing is still very much in flux (contributions welcome!) but here's a rough example.
2022-08-29 02:04:47 -04:00
{{< source "default.nix" >}}
2023-06-03 02:38:28 -04:00
Where we've defined a test that might look like:
2022-08-29 02:04:47 -04:00
{{< source "test.nix" >}}
Execute with
```sh
nix eval -f . config.testing.success
```