1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-08-09 09:22:48 +03:00

add tests for my tests

This commit is contained in:
Jesse Duffield
2022-08-13 13:50:38 +10:00
parent 304d74370e
commit 5e475355bf
6 changed files with 119 additions and 3 deletions

View File

@@ -39,7 +39,7 @@ There are three ways to invoke a test:
1. go run pkg/integration/cmd/runner/main.go [<testname>...]
2. go run pkg/integration/cmd/tui/main.go
3. go test pkg/integration/integration_test.go
3. go test pkg/integration/go_test.go
The first, the test runner, is for directly running a test from the command line. If you pass no arguments, it runs all tests.
The second, the TUI, is for running tests from a terminal UI where it's easier to find a test and run it without having to copy it's name and paste it into the terminal. This is the easiest approach by far.