Skip to content

docs/contributing: link to NMT's bash-lib#4125

Merged
ncfavier merged 1 commit intonix-community:masterfrom
ncfavier:docs-nmt
Jun 22, 2023
Merged

docs/contributing: link to NMT's bash-lib#4125
ncfavier merged 1 commit intonix-community:masterfrom
ncfavier:docs-nmt

Conversation

@ncfavier
Copy link
Copy Markdown
Member

Comment thread docs/contributing.adoc
Home Manager includes a basic test suite and it is highly recommended to include at least one test when adding a module. Tests are typically in the form of "golden tests" where, for example, a generated configuration file is compared to a known correct file.

It is relatively easy to create tests by modeling the existing tests, found in the `tests` project directory.
It is relatively easy to create tests by modeling the existing tests, found in the `tests` project directory. For a full reference to the functions available in test scripts, you can look at NMT's https://git.sr.ht/~rycee/nmt/tree/master/item/bash-lib[bash-lib].
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we explicit NMT anywhere ?

@ncfavier ncfavier merged commit 6c78ba7 into nix-community:master Jun 22, 2023
@ncfavier ncfavier deleted the docs-nmt branch June 22, 2023 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants