|
| 1 | +// Available variables which can be used inside of strings. |
| 2 | +// ${workspaceRoot}: the root folder of the team |
| 3 | +// ${file}: the current opened file |
| 4 | +// ${fileBasename}: the current opened file's basename |
| 5 | +// ${fileDirname}: the current opened file's dirname |
| 6 | +// ${fileExtname}: the current opened file's extension |
| 7 | +// ${cwd}: the current working directory of the spawned process |
| 8 | + |
1 | 9 | {
|
2 | 10 | "version": "2.0.0",
|
3 | 11 | "_runner": "terminal",
|
|
10 | 18 | "args": ["-c"]
|
11 | 19 | },
|
12 | 20 | "isShellCommand": true,
|
13 |
| - "showOutput": "silent", |
| 21 | + // "showOutput": "silent", |
14 | 22 | "_runner": "terminal",
|
15 | 23 | "tasks": [
|
16 | 24 | {
|
17 |
| - "taskName": "Testing project", |
| 25 | + "taskName": "Testing project (1testrunner)", |
18 | 26 | "args": [
|
19 | 27 | "1testrunner",
|
20 | 28 | "-runall",
|
|
36 | 44 | }
|
37 | 45 | },
|
38 | 46 | {
|
39 |
| - "taskName": "Testing current test-file", |
| 47 | + "taskName": "Testing project (opm test)", |
40 | 48 | "args": [
|
41 |
| - "1testrunner", |
42 |
| - "-run", |
43 |
| - "${file}" |
| 49 | + "oscript", |
| 50 | + "src/opm.os", |
| 51 | + "test" |
44 | 52 | ],
|
45 | 53 | "echoCommand": true,
|
46 | 54 | "showOutput": "always",
|
47 | 55 | "suppressTaskName": true,
|
48 |
| - "isBuildCommand": false, |
49 |
| - "isTestCommand": true, |
| 56 | + // "isBuildCommand": false, |
| 57 | + "isTestCommand": false, |
50 | 58 | "problemMatcher": {
|
51 | 59 | "fileLocation": "absolute",
|
52 | 60 | "pattern": {
|
|
58 | 66 | }
|
59 | 67 | },
|
60 | 68 | {
|
61 |
| - "taskName": "Opm: package build", |
| 69 | + "taskName": "Testing current test-file", |
62 | 70 | "args": [
|
63 |
| - "opm", |
64 |
| - "build", |
65 |
| - "${workspaceRoot}" |
| 71 | + "1testrunner", |
| 72 | + "-run", |
| 73 | + "${file}" |
66 | 74 | ],
|
67 | 75 | "echoCommand": true,
|
68 | 76 | "showOutput": "always",
|
69 | 77 | "suppressTaskName": true,
|
70 |
| - "isBuildCommand": false |
| 78 | + "isBuildCommand": false, |
| 79 | + "isTestCommand": true, |
| 80 | + "problemMatcher": { |
| 81 | + "fileLocation": "absolute", |
| 82 | + "pattern": { |
| 83 | + "regexp": "{Модуль\\s+(.+)\\s\\/\\s.*:\\s+(\\d+)\\s+\\/\\s+([^{]*)", |
| 84 | + "file": 1, |
| 85 | + "location": 2, |
| 86 | + "message": 3 |
| 87 | + } |
| 88 | + } |
71 | 89 | },
|
72 | 90 | {
|
73 | 91 | "taskName": "Exec all features",
|
74 | 92 | "args": [
|
75 | 93 | "1bdd",
|
76 | 94 | "${workspaceRoot}/features",
|
| 95 | + "-fail-fast", |
77 | 96 | "-out",
|
78 | 97 | "${workspaceRoot}/exec.log"
|
79 | 98 | ],
|
|
145 | 164 | }
|
146 | 165 | },
|
147 | 166 | {
|
148 |
| - "taskName": "Exec feature + debug", |
| 167 | + "taskName": "Generate feature steps", |
149 | 168 | "args": [
|
150 | 169 | "1bdd",
|
| 170 | + "gen", |
151 | 171 | "${file}",
|
152 |
| - "-fail-fast", |
153 |
| - "-verbose", |
154 |
| - "on", |
155 | 172 | "-out",
|
156 | 173 | "${workspaceRoot}/exec.log"
|
157 | 174 | ],
|
158 | 175 | "echoCommand": true,
|
159 | 176 | "showOutput": "always",
|
160 | 177 | "suppressTaskName": true,
|
161 |
| - // "isBuildCommand": false, |
| 178 | + "isBuildCommand": false, |
162 | 179 | "isTestCommand": false,
|
163 | 180 | "problemMatcher": {
|
164 | 181 | "fileLocation": "absolute",
|
|
171 | 188 | }
|
172 | 189 | },
|
173 | 190 | {
|
174 |
| - "taskName": "Generate feature steps", |
| 191 | + "taskName": "Opm: package build", |
175 | 192 | "args": [
|
176 |
| - "1bdd", |
177 |
| - "gen", |
178 |
| - "${file}", |
179 |
| - "-out", |
180 |
| - "${workspaceRoot}/exec.log" |
| 193 | + "opm", |
| 194 | + "build", |
| 195 | + "${workspaceRoot}" |
181 | 196 | ],
|
182 | 197 | "echoCommand": true,
|
183 | 198 | "showOutput": "always",
|
184 | 199 | "suppressTaskName": true,
|
185 |
| - "isBuildCommand": false, |
186 |
| - "isTestCommand": false, |
187 |
| - "problemMatcher": { |
188 |
| - "fileLocation": "absolute", |
189 |
| - "pattern": { |
190 |
| - "regexp": "{Модуль\\s+(.+)\\s\\/\\s.*:\\s+(\\d+)\\s+\\/\\s+([^{]*)", |
191 |
| - "file": 1, |
192 |
| - "location": 2, |
193 |
| - "message": 3 |
194 |
| - } |
195 |
| - } |
| 200 | + "isBuildCommand": false |
196 | 201 | },
|
197 | 202 | {
|
198 | 203 | "taskName": "OneScript: compile",
|
|
0 commit comments