mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 11:45:45 +03:00
improves: comprehensiveness
This commit is contained in:
parent
70c36dcfb8
commit
09ee6241b5
1 changed files with 3 additions and 8 deletions
|
@ -188,17 +188,12 @@ rec {
|
||||||
- result
|
- result
|
||||||
- The actual `result` of the test
|
- The actual `result` of the test
|
||||||
|
|
||||||
Denoting the attribute name of the failing
|
|
||||||
test and its expected and actual results.
|
|
||||||
|
|
||||||
Used for regression testing of the functions in lib; see
|
Used for regression testing of the functions in lib; see
|
||||||
tests.nix for an example.
|
tests.nix for more examples.
|
||||||
|
|
||||||
> Important: In general only `tests` having names starting with
|
Important: Only attributes that start with `test` are executed.
|
||||||
"test" are run.
|
|
||||||
|
|
||||||
- Add attr { tests = ["testName"]; } to run tests from list only.
|
- If you want to run only a subset of the tests add the attribute `tests = ["testName"];`
|
||||||
- If `tests` in not specififed all tests will be evaluated.
|
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue