mirror of
https://github.com/jesseduffield/lazygit.git
synced 2024-12-10 11:10:18 +02:00
446 B
446 B
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