···11# Bug Reproduction den
2233+READ: https://den.oeiuwq.com/tutorials/ci/
44+35Use this small template to reproduce bugs in den.
4657Edit the `rev` list being tested at [`test.yml`](.github/workflows/test.yml), include `"main"` and any other release tag or commit sha you might want to test. This is useful for showing regressions.
6879Create a **minimal** bug reproduction at [`modules/bug.nix`](modules/bug.nix)
81099-See also [Den debugging tips](https://den.oeiuwq.com/debugging.html)
1111+Each `denTest` is isolated from others so you can create as many
1212+as you want with same hosts and users.
10131114Then run tests:
1215···1417nix flake check
1518```
16192020+Running a single test with `nixpkgs#nix-unit` on PATH:
2121+2222+```shell
2323+# append any attrName to run just particular tests
2424+nix-unit --flake .#.tests.systems.x86_64-linux.system-agnostic
2525+```
2626+1727Please share a link to your reproduction repo, showing the CI step and the error at CI build.
18281929## Fixing Den
···2232use your local den checkout.
23332434```shell
2525-cd <den-working-copy>
2626-nix flake check --override-input den . ./templates/bogus
3535+nix-unit --override-input den <den-working-copy> --flake <your-bogus-repo>#.tests.systems.x86_64-linux.system-agnostic
2736```