+8
-7
nixos/doc/manual/development/writing-nixos-tests.section.md
+8
-7
nixos/doc/manual/development/writing-nixos-tests.section.md
···-Tests are invoked a bit differently depending on whether the test lives in NixOS or in another project.+Tests are invoked differently depending on whether the test is part of NixOS or lives in a different project.Tests that are part of NixOS are added to [`nixos/tests/all-tests.nix`](https://github.com/NixOS/nixpkgs/blob/master/nixos/tests/all-tests.nix).···-hostname = runTest { imports = [ ./hostname.nix ]; defaults.networking.firewall.enable = false; };-Outside the `nixpkgs` repository, you can instantiate the test by first acquiring the NixOS library,+Outside the `nixpkgs` repository, you can instantiate the test by first importing the NixOS library,
+11
-11
nixos/doc/manual/from_md/development/writing-nixos-tests.section.xml
+11
-11
nixos/doc/manual/from_md/development/writing-nixos-tests.section.xml
···<link xlink:href="https://github.com/NixOS/nixpkgs/blob/master/nixos/tests/all-tests.nix"><literal>nixos/tests/all-tests.nix</literal></link>.···-hostname = runTest { imports = [ ./hostname.nix ]; defaults.networking.firewall.enable = false; };