Skip to content

Commit 1352deb

Browse files
committed
fixed the vscode configuration to launch tests from gutter
1 parent 510e10d commit 1352deb

File tree

2 files changed

+46
-4
lines changed

2 files changed

+46
-4
lines changed

.vscode/settings.json

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,28 @@
11
{
22
"maven.view": "hierarchical",
33
"java.compile.nullAnalysis.mode": "automatic",
4+
"java.dependency.packagePresentation": "hierarchical",
45
"maven.executable.preferMavenWrapper": true,
56
"java.server.launchMode": "LightWeight",
6-
"java.configuration.updateBuildConfiguration": "interactive",
7-
"java.autobuild.enabled": false
7+
"java.configuration.updateBuildConfiguration": "automatic",
8+
"java.autobuild.enabled": false,
9+
"java.sources.organizeImports.starThreshold": 1,
10+
"java.sources.organizeImports.staticStarThreshold": 1,
11+
"java.test.config": [
12+
{
13+
"name": "dev",
14+
"workingDirectory": "${workspaceFolder}",
15+
"vmArgs": ["-Dtest.properties.file=environments/dev/test.properties"]
16+
},
17+
{
18+
"name": "dev-saucelabs",
19+
"workingDirectory": "${workspaceFolder}",
20+
"vmArgs": [
21+
"-Dtest.properties.file=environments/dev/test.properties",
22+
"-Dprovider=provider.saucelabs.",
23+
"-Dsaucelabs.reporter.url=https://${env.SAUCELABS_USER}:${env.SAUCELABS_PASSWORD}@ondemand.saucelabs.com:443/wd/hub"
24+
]
25+
}
26+
],
27+
"java.test.defaultConfig": "dev"
828
}
Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,30 @@
11
{
2-
"java.compile.nullAnalysis.mode": "automatic",
32
"maven.view": "hierarchical",
3+
"java.compile.nullAnalysis.mode": "automatic",
44
"java.dependency.packagePresentation": "hierarchical",
5+
"maven.executable.preferMavenWrapper": true,
6+
"java.server.launchMode": "LightWeight",
57
"java.configuration.updateBuildConfiguration": "automatic",
8+
"java.autobuild.enabled": false,
69
"java.sources.organizeImports.starThreshold": 1,
7-
"java.sources.organizeImports.staticStarThreshold": 1
10+
"java.sources.organizeImports.staticStarThreshold": 1,
11+
"java.test.config": [
12+
{
13+
"name": "dev",
14+
"workingDirectory": "${workspaceFolder}",
15+
"vmArgs": [
16+
"-Dtest.properties.file=environments/dev/test.properties"
17+
]
18+
},
19+
{
20+
"name": "dev-saucelabs",
21+
"workingDirectory": "${workspaceFolder}",
22+
"vmArgs": [
23+
"-Dtest.properties.file=environments/dev/test.properties",
24+
"-Dprovider=provider.saucelabs.",
25+
"-Dsaucelabs.reporter.url=https://${env.SAUCELABS_USER}:${env.SAUCELABS_PASSWORD}@ondemand.saucelabs.com:443/wd/hub"
26+
]
27+
}
28+
],
29+
"java.test.defaultConfig": "dev"
830
}

0 commit comments

Comments
 (0)