add hint for troubleshooting tests

This commit is contained in:
Valentin Gagarin 2023-09-29 10:46:42 +02:00
parent 9428d7dcd1
commit 1dd03c62ad

View file

@ -130,6 +130,15 @@ GNU gdb (GDB) 12.1
One can debug the Nix invocation in all the usual ways. One can debug the Nix invocation in all the usual ways.
For example, enter `run` to start the Nix invocation. For example, enter `run` to start the Nix invocation.
### Troubleshooting
Sometimes running tests in the development shell may leave artefacts in the local repository.
To remove any traces of that:
```console
git clean -x --force tests
```
### Characterization testing ### Characterization testing
Occasionally, Nix utilizes a technique called [Characterization Testing](https://en.wikipedia.org/wiki/Characterization_test) as part of the functional tests. Occasionally, Nix utilizes a technique called [Characterization Testing](https://en.wikipedia.org/wiki/Characterization_test) as part of the functional tests.