mirror of
https://github.com/nix-community/nix-direnv.git
synced 2025-11-11 04:56:11 +01:00
The majority of the test code is just creating the stdout data against which to make assertions. Increasing the test cases will be more manageable if the assertions are separate from this data generation. It is also a generally preferred style to have one assertion per test, because this way all assertions run even if others fail and each test only fails for one reason. It also facilitates better test documentation and adding additional tests without increasing complexity. |
||
|---|---|---|
| .. | ||
| testenv | ||
| test.py | ||