mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 00:08:07 +02:00
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
1 changed files with 0 additions and 3 deletions
|
@ -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