summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorGeorge Fraser <george@fivetran.com>2018-09-16 11:26:19 -0700
committerGeorge Fraser <george@fivetran.com>2018-09-16 11:26:19 -0700
commit2615850fb5ee84f176cb510ba34c9f8d6ee90d7d (patch)
tree8887d865aa178a7b9564a18fe74df0ba50f4dda6 /package.json
parente10debe4f63d79d437b097213d491d0c2ccffe98 (diff)
downloadjava-language-server-2615850fb5ee84f176cb510ba34c9f8d6ee90d7d.zip
Configurable test command
Diffstat (limited to 'package.json')
-rw-r--r--package.json20
1 files changed, 14 insertions, 6 deletions
diff --git a/package.json b/package.json
index 2c01e95..491d419 100644
--- a/package.json
+++ b/package.json
@@ -52,12 +52,6 @@
"path": "./snippets/java.json"
}
],
- "jsonValidation": [
- {
- "fileMatch": "javaconfig.json",
- "url": "./lib/javaconfig.schema.json"
- }
- ],
"configuration": {
"title": "Java configuration",
"properties": {
@@ -76,6 +70,20 @@
},
"description": "External dependencies of the form groupId:artifactId:version or groupId:artifactId:packaging:version:scope"
},
+ "java.testMethod": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Command to run one test method, for example [\"mvn\", \"test\", \"-Dtest=${class}#${method}\""
+ },
+ "java.testClass": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Command to run all tests in a class, for example [\"mvn\", \"test\", \"-Dtest=${class}\""
+ },
"java.trace.server": {
"scope": "window",
"type": "string",