mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-11-27 22:38:09 +02:00
Don't generate test list before running integration test
It's annoyingly slow, and there is a separate task for generating the list if needed. Also, clear the terminal before running the test; this makes it easier to see the results of the last test run.
This commit is contained in:
9
.vscode/tasks.json
vendored
9
.vscode/tasks.json
vendored
@@ -24,22 +24,24 @@
|
|||||||
{
|
{
|
||||||
"label": "Run current file integration test",
|
"label": "Run current file integration test",
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
"command": "go generate pkg/integration/tests/tests.go && go run cmd/integration_test/main.go cli ${relativeFile}",
|
"command": "go run cmd/integration_test/main.go cli ${relativeFile}",
|
||||||
"problemMatcher": [],
|
"problemMatcher": [],
|
||||||
"group": {
|
"group": {
|
||||||
"kind": "test",
|
"kind": "test",
|
||||||
"isDefault": true
|
"isDefault": true
|
||||||
},
|
},
|
||||||
"presentation": {
|
"presentation": {
|
||||||
|
"clear": true,
|
||||||
"focus": true
|
"focus": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"label": "Run current file integration test (slow)",
|
"label": "Run current file integration test (slow)",
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
"command": "go generate pkg/integration/tests/tests.go && go run cmd/integration_test/main.go cli --slow ${relativeFile}",
|
"command": "go run cmd/integration_test/main.go cli --slow ${relativeFile}",
|
||||||
"problemMatcher": [],
|
"problemMatcher": [],
|
||||||
"group": {
|
"group": {
|
||||||
|
"clear": true,
|
||||||
"kind": "test",
|
"kind": "test",
|
||||||
},
|
},
|
||||||
"presentation": {
|
"presentation": {
|
||||||
@@ -49,12 +51,13 @@
|
|||||||
{
|
{
|
||||||
"label": "Run current file integration test (sandbox)",
|
"label": "Run current file integration test (sandbox)",
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
"command": "go generate pkg/integration/tests/tests.go && go run cmd/integration_test/main.go cli --sandbox ${relativeFile}",
|
"command": "go run cmd/integration_test/main.go cli --sandbox ${relativeFile}",
|
||||||
"problemMatcher": [],
|
"problemMatcher": [],
|
||||||
"group": {
|
"group": {
|
||||||
"kind": "test",
|
"kind": "test",
|
||||||
},
|
},
|
||||||
"presentation": {
|
"presentation": {
|
||||||
|
"clear": true,
|
||||||
"focus": true
|
"focus": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user