diff --git a/.vscode/tasks.json b/.vscode/tasks.json index f0d10c7e4..f020e1d0c 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -24,7 +24,7 @@ { "label": "Run current file integration test", "type": "shell", - "command": "go run cmd/integration_test/main.go cli ${relativeFile}", + "command": "go generate pkg/integration/tests/tests.go && go run cmd/integration_test/main.go cli ${relativeFile}", "problemMatcher": [], "group": { "kind": "test", @@ -37,7 +37,7 @@ { "label": "Run current file integration test (slow)", "type": "shell", - "command": "go run cmd/integration_test/main.go cli --slow ${relativeFile}", + "command": "go generate pkg/integration/tests/tests.go && go run cmd/integration_test/main.go cli --slow ${relativeFile}", "problemMatcher": [], "group": { "kind": "test", @@ -49,7 +49,7 @@ { "label": "Run current file integration test (sandbox)", "type": "shell", - "command": "go run cmd/integration_test/main.go cli --sandbox ${relativeFile}", + "command": "go generate pkg/integration/tests/tests.go && go run cmd/integration_test/main.go cli --sandbox ${relativeFile}", "problemMatcher": [], "group": { "kind": "test", @@ -73,7 +73,7 @@ { "label": "Sync tests list", "type": "shell", - "command": "go generate ./...", + "command": "go generate pkg/integration/tests/tests.go", "problemMatcher": [], "group": { "kind": "test",