-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document how to test packages automatically #73076
Comments
There is also https://nixos.org/nixpkgs/manual/#sec-standard-meta-attributes It should be called |
@jtojnar commented in #27604 (comment)
So this looks like the way to go for now! |
Thank you for your contributions.
|
i still want to do it waiting for markdown docs |
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/how-many-people-are-paid-to-work-on-nix-nixpkgs/8307/51 |
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/contributor-retention/12412/45 |
We have documentation on how to write NixOS (module) tests.
https://github.com/tfc/nixpkgs/blob/40396a7e12419fc772063d2a3fa87ec7d14a46d9/nixos/doc/manual/development/writing-nixos-tests.xml
But how to write tests for packages?
I asked on IRC and got some helpful informations:
So my goal with this issue is to get this information documented.
We maybe have to decide on a policy when a test should be added and when not (e.g. it's not important enough to use costly module tests)
Related issues:
The text was updated successfully, but these errors were encountered: