···5252```
53535454Overrides can be added by defining an anonymous module in `all-tests.nix`.
5555-For the purpose of constructing a test matrix, use the `matrix` options instead.
56555756```nix
5857 hostname = runTest { imports = [ ./hostname.nix ]; defaults.networking.firewall.enable = false; };
···476475```
477476478477In that case, `numpy` is chosen from the generic `python3Packages`.
478478+479479+## Test Options Reference {#sec-test-options-reference}
480480+481481+The following options can be used when writing tests.
482482+483483+```{=docbook}
484484+<xi:include href="../../generated/test-options-db.xml" xpointer="test-options-list"/>
485485+```
···11-<section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="sec-writing-nixos-tests">
11+<section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude" xml:id="sec-writing-nixos-tests">
22 <title>Writing Tests</title>
33 <para>
44 A NixOS test is a module that has the following structure:
···6767</programlisting>
6868 <para>
6969 Overrides can be added by defining an anonymous module in
7070- <literal>all-tests.nix</literal>. For the purpose of
7171- constructing a test matrix, use the <literal>matrix</literal>
7272- options instead.
7070+ <literal>all-tests.nix</literal>.
7371 </para>
7472 <programlisting language="bash">
7573 hostname = runTest { imports = [ ./hostname.nix ]; defaults.networking.firewall.enable = false; };
···769767 In that case, <literal>numpy</literal> is chosen from the generic
770768 <literal>python3Packages</literal>.
771769 </para>
770770+ </section>
771771+ <section xml:id="sec-test-options-reference">
772772+ <title>Test Options Reference</title>
773773+ <para>
774774+ The following options can be used when writing tests.
775775+ </para>
776776+ <xi:include href="../../generated/test-options-db.xml" xpointer="test-options-list"/>
772777 </section>
773778</section>