Home Explore Blog CI



nixpkgs

1st chunk of `nixos/doc/manual/development/linking-nixos-tests-to-packages.section.md`
30127b41b6d3737831bd0f155125af36cfef969e3cc59574000000010000015a
# Linking NixOS tests to packages {#sec-linking-nixos-tests-to-packages}

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
[described in the nixpkgs manual](https://nixos.org/manual/nixpkgs/stable/#ssec-nixos-tests-linking).

Title: Linking NixOS Tests to Packages
Summary
NixOS module tests can be linked to the packages they test, enabling automatic test execution during code review when the package is modified. This functionality is detailed in the nixpkgs manual.