Skip to content

Commit d28334d

Browse files
authored
Move testing related settings under the Testing section (#1894)
In the settings move `additionalTestArguments` and `testEnvironmentVariables` to the Testing section of the settings. Issue: #1892
1 parent 0237549 commit d28334d

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

package.json

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -507,26 +507,6 @@
507507
"markdownDescription": "Additional arguments to pass to swift commands that do package resolution, such as `swift package resolve`, `swift package update`, `swift build` and `swift test`. Keys and values should be provided as individual entries in the list.",
508508
"scope": "machine-overridable"
509509
},
510-
"swift.additionalTestArguments": {
511-
"type": "array",
512-
"default": [],
513-
"items": {
514-
"type": "string"
515-
},
516-
"markdownDescription": "Additional arguments to pass to the `swift test` or `swift build` commands used when building and running tests from within VS Code.",
517-
"scope": "machine-overridable"
518-
},
519-
"swift.testEnvironmentVariables": {
520-
"type": "object",
521-
"patternProperties": {
522-
".*": {
523-
"type": "string"
524-
}
525-
},
526-
"default": {},
527-
"markdownDescription": "Environment variables to set when running tests. To set environment variables when debugging an application you should edit the `env` field in the relevant `launch.json` configuration.",
528-
"scope": "machine-overridable"
529-
},
530510
"swift.sanitizer": {
531511
"type": "string",
532512
"default": "off",
@@ -743,6 +723,26 @@
743723
{
744724
"title": "Testing",
745725
"properties": {
726+
"swift.additionalTestArguments": {
727+
"type": "array",
728+
"default": [],
729+
"items": {
730+
"type": "string"
731+
},
732+
"markdownDescription": "Additional arguments to pass to the `swift test` or `swift build` commands used when building and running tests from within VS Code.",
733+
"scope": "machine-overridable"
734+
},
735+
"swift.testEnvironmentVariables": {
736+
"type": "object",
737+
"patternProperties": {
738+
".*": {
739+
"type": "string"
740+
}
741+
},
742+
"default": {},
743+
"markdownDescription": "Environment variables to set when running tests. To set environment variables when debugging an application you should edit the `env` field in the relevant `launch.json` configuration.",
744+
"scope": "machine-overridable"
745+
},
746746
"swift.excludeFromCodeCoverage": {
747747
"description": "A list of paths to exclude from code coverage reports. Paths can be absolute or relative to the workspace root.",
748748
"type": "array",

0 commit comments

Comments
 (0)