diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2026-01-11 16:05:06 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2026-01-11 16:05:06 +0000 |
| commit | 149a6af5ebe7d92f8063734104e444f48b33b012 (patch) | |
| tree | 4ef1669a57b3b0af376ea4a73e6149b233622f1d /docs/reference/test-strategy.md | |
| parent | 59f429cb18f218993a5052e4c36199fa96a82d2d (diff) | |
fix: only run unit tests during Nix build, skip integration tests
Changed from selectively skipping test modules to running only --lib
tests (unit tests). This is cleaner and more maintainable.
Integration tests (tests/*.rs) require:
- git binary in PATH
- Ability to spawn subprocesses
- Network access for some tests
- TestRelay fixture (spawns ngit-grasp)
These requirements don't work in the Nix sandbox, so we run only
unit tests (--lib) during package build. Full integration test suite
runs in environments where git is available:
- Local dev (nix develop includes git)
- CI/CD (git installed)
- Manual testing (cargo test runs all tests)
Diffstat (limited to 'docs/reference/test-strategy.md')
0 files changed, 0 insertions, 0 deletions