summary refs log tree commit diff
path: root/nixos/doc/manual/from_md/development
diff options
context:
space:
mode:
authorNiklas Hambüchen <mail@nh2.me>2021-06-26 01:31:10 +0200
committerNiklas Hambüchen <mail@nh2.me>2021-07-27 17:39:33 +0200
commitfe5f3f65e23f806eb07c130b631b732fa89911d7 (patch)
tree65f6a109ed73d657543c74acfe7f82f933c1b36a /nixos/doc/manual/from_md/development
parentf2462594dbf6127bf675501af7108bfe9d332519 (diff)
downloadnixpkgs-fe5f3f65e23f806eb07c130b631b732fa89911d7.tar
nixpkgs-fe5f3f65e23f806eb07c130b631b732fa89911d7.tar.gz
nixpkgs-fe5f3f65e23f806eb07c130b631b732fa89911d7.tar.bz2
nixpkgs-fe5f3f65e23f806eb07c130b631b732fa89911d7.tar.lz
nixpkgs-fe5f3f65e23f806eb07c130b631b732fa89911d7.tar.xz
nixpkgs-fe5f3f65e23f806eb07c130b631b732fa89911d7.tar.zst
nixpkgs-fe5f3f65e23f806eb07c130b631b732fa89911d7.zip
manuals: Describe how to link NixOS tests from packages
Diffstat (limited to 'nixos/doc/manual/from_md/development')
-rw-r--r--nixos/doc/manual/from_md/development/linking-nixos-tests-to-packages.section.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/nixos/doc/manual/from_md/development/linking-nixos-tests-to-packages.section.xml b/nixos/doc/manual/from_md/development/linking-nixos-tests-to-packages.section.xml
new file mode 100644
index 00000000000..666bbec6162
--- /dev/null
+++ b/nixos/doc/manual/from_md/development/linking-nixos-tests-to-packages.section.xml
@@ -0,0 +1,10 @@
+<section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="sec-linking-nixos-tests-to-packages">
+  <title>Linking NixOS tests to packages</title>
+  <para>
+    You can link NixOS module tests to the packages that they exercised,
+    so that the tests can be run automatically during code review when
+    the package gets changed. This is
+    <link xlink:href="https://nixos.org/manual/nixpkgs/stable/#ssec-nixos-tests-linking">described
+    in the nixpkgs manual</link>.
+  </para>
+</section>