forked from lix-project/lix
Don’t recommend writing unit tests
As asked in <https://github.com/NixOS/nix/pull/6517#discussion_r869416905>
This commit is contained in:
parent
7c75f1d52b
commit
65a913d29b
|
@ -87,9 +87,6 @@ $ nix develop
|
||||||
|
|
||||||
Nix comes with three different flavors of tests: unit, functional and integration.
|
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
|
### Unit-tests
|
||||||
|
|
||||||
The unit-tests for each Nix library (`libexpr`, `libstore`, etc..) are defined
|
The unit-tests for each Nix library (`libexpr`, `libstore`, etc..) are defined
|
||||||
|
|
Loading…
Reference in a new issue