mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 07:36:27 -04:00
| .. | ||
| deprecated | ||
| helpers | ||
| runner | ||
| tests | ||
| tui | ||
| types | ||
| integration.go | ||
| integration_test.go | ||
| README.md | ||
Integration Tests
There's a lot happening in this package so it's worth a proper explanation.
This package is for integration testing: that is, actually running a real lazygit session and having a robot pretend to be a human user and then making assertions that everything works as expected.
There are three ways to invoke a test:
- go run pkg/integration/runner/main.go commit/new_branch
- go test pkg/integration/integration_test.go