Merge pull request #9065 from fricklerhandwerk/testing-hints

add hint for troubleshooting tests
This commit is contained in:
Théophane Hufschmitt 2023-09-29 13:52:54 +02:00 committed by GitHub
commit a66bd8f1f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -186,6 +186,15 @@ GNU gdb (GDB) 12.1
One can debug the Nix invocation in all the usual ways.
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
Occasionally, Nix utilizes a technique called [Characterization Testing](https://en.wikipedia.org/wiki/Characterization_test) as part of the functional tests.