Skip to content

Commit 08ad8a0

Browse files
committed
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.
1 parent 3ea4cf0 commit 08ad8a0

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.vscode/tasks.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,22 +24,24 @@
2424
{
2525
"label": "Run current file integration test",
2626
"type": "shell",
27-
"command": "go generate pkg/integration/tests/tests.go && go run cmd/integration_test/main.go cli ${relativeFile}",
27+
"command": "go run cmd/integration_test/main.go cli ${relativeFile}",
2828
"problemMatcher": [],
2929
"group": {
3030
"kind": "test",
3131
"isDefault": true
3232
},
3333
"presentation": {
34+
"clear": true,
3435
"focus": true
3536
}
3637
},
3738
{
3839
"label": "Run current file integration test (slow)",
3940
"type": "shell",
40-
"command": "go generate pkg/integration/tests/tests.go && go run cmd/integration_test/main.go cli --slow ${relativeFile}",
41+
"command": "go run cmd/integration_test/main.go cli --slow ${relativeFile}",
4142
"problemMatcher": [],
4243
"group": {
44+
"clear": true,
4345
"kind": "test",
4446
},
4547
"presentation": {
@@ -49,12 +51,13 @@
4951
{
5052
"label": "Run current file integration test (sandbox)",
5153
"type": "shell",
52-
"command": "go generate pkg/integration/tests/tests.go && go run cmd/integration_test/main.go cli --sandbox ${relativeFile}",
54+
"command": "go run cmd/integration_test/main.go cli --sandbox ${relativeFile}",
5355
"problemMatcher": [],
5456
"group": {
5557
"kind": "test",
5658
},
5759
"presentation": {
60+
"clear": true,
5861
"focus": true
5962
}
6063
},

0 commit comments

Comments
 (0)