summary refs log tree commit diff
path: root/lib/debug.nix
diff options
context:
space:
mode:
authorhsjobeki <hsjobeki+github@gmail.com>2023-02-23 11:24:47 +0100
committerhsjobeki <hsjobeki+github@gmail.com>2023-02-23 11:24:47 +0100
commit09ee6241b55545d44011ae97fd48c9f46567db03 (patch)
treebe1bb8019108b5ea3cc2b10522b651be1bfdaffd /lib/debug.nix
parent70c36dcfb8bcd293171c0faae2d4056334d1e744 (diff)
downloadnixpkgs-09ee6241b55545d44011ae97fd48c9f46567db03.tar
nixpkgs-09ee6241b55545d44011ae97fd48c9f46567db03.tar.gz
nixpkgs-09ee6241b55545d44011ae97fd48c9f46567db03.tar.bz2
nixpkgs-09ee6241b55545d44011ae97fd48c9f46567db03.tar.lz
nixpkgs-09ee6241b55545d44011ae97fd48c9f46567db03.tar.xz
nixpkgs-09ee6241b55545d44011ae97fd48c9f46567db03.tar.zst
nixpkgs-09ee6241b55545d44011ae97fd48c9f46567db03.zip
improves: comprehensiveness
Diffstat (limited to 'lib/debug.nix')
-rw-r--r--lib/debug.nix11
1 files changed, 3 insertions, 8 deletions
diff --git a/lib/debug.nix b/lib/debug.nix
index 9ec0169e66e..35ca4c7dfb2 100644
--- a/lib/debug.nix
+++ b/lib/debug.nix
@@ -188,17 +188,12 @@ rec {
      - result
        - 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
-     tests.nix for an example.
+     tests.nix for more examples.
 
-     > Important: In general only `tests` having names starting with
-     "test" are run.
+     Important: Only attributes that start with `test` are executed.
 
-     - Add attr { tests = ["testName"]; } to run tests from list only.
-     - If `tests` in not specififed all tests will be evaluated.
+     - If you want to run only a subset of the tests add the attribute `tests = ["testName"];`
 
     Example: