Don’t recommend writing unit tests

As asked in <https://github.com/NixOS/nix/pull/6517#discussion_r869416905>
This commit is contained in:
Théophane Hufschmitt 2022-05-12 12:02:31 +02:00
parent 7c75f1d52b
commit 65a913d29b

View file

@ -87,9 +87,6 @@ $ nix develop
Nix comes with three different flavors of tests: unit, functional and integration.
Most tests are currently written as functional tests.
**However**, it is preferable (as much as it makes sense) to primarily test new code with unit tests.
### Unit-tests
The unit-tests for each Nix library (`libexpr`, `libstore`, etc..) are defined