1
+ {
2
+ "version" : " 0.1.0" ,
3
+ "windows" : {
4
+ "command" : " cmd" ,
5
+ // "args": ["/c"]
6
+ "args" : [" /c" , " chcp 65001 >nul &" ]
7
+ },
8
+ "linux" : {
9
+ "command" : " sh" ,
10
+ "args" : [" -c" ]
11
+ },
12
+ "isShellCommand" : true ,
13
+ "showOutput" : " silent" ,
14
+ "tasks" : [
15
+ {
16
+ "taskName" : " Testing project" ,
17
+ "args" : [
18
+ " 1testrunner" ,
19
+ " -runall" ,
20
+ " ${workspaceRoot}/tests"
21
+ ],
22
+ "echoCommand" : true ,
23
+ "showOutput" : " always" ,
24
+ "suppressTaskName" : true ,
25
+ // "isBuildCommand": false,
26
+ "isTestCommand" : false ,
27
+ "problemMatcher" : {
28
+ "fileLocation" : " absolute" ,
29
+ "pattern" : {
30
+ "regexp" : " {Модуль\\ s+(.+)\\ s\\ /\\ s.*:\\ s+(\\ d+)\\ s+\\ /\\ s+([^{]*)" ,
31
+ "file" : 1 ,
32
+ "location" : 2 ,
33
+ "message" : 3
34
+ }
35
+ }
36
+ },
37
+ {
38
+ "taskName" : " Testing current test-file" ,
39
+ "args" : [
40
+ " 1testrunner" ,
41
+ " -run" ,
42
+ " ${file}"
43
+ ],
44
+ "echoCommand" : true ,
45
+ "showOutput" : " always" ,
46
+ "suppressTaskName" : true ,
47
+ "isBuildCommand" : false ,
48
+ "isTestCommand" : true ,
49
+ "problemMatcher" : {
50
+ "fileLocation" : " absolute" ,
51
+ "pattern" : {
52
+ "regexp" : " {Модуль\\ s+(.+)\\ s\\ /\\ s.*:\\ s+(\\ d+)\\ s+\\ /\\ s+([^{]*)" ,
53
+ "file" : 1 ,
54
+ "location" : 2 ,
55
+ "message" : 3
56
+ }
57
+ }
58
+ },
59
+ {
60
+ "taskName" : " Exec all features" ,
61
+ "args" : [
62
+ " 1bdd" ,
63
+ " ${workspaceRoot}/features" ,
64
+ " -out" ,
65
+ " ${workspaceRoot}/exec.log"
66
+ ],
67
+ "echoCommand" : true ,
68
+ "showOutput" : " always" ,
69
+ "suppressTaskName" : true ,
70
+ "isBuildCommand" : true ,
71
+ "isTestCommand" : false ,
72
+ "problemMatcher" : {
73
+ "fileLocation" : " absolute" ,
74
+ "pattern" : {
75
+ "regexp" : " {Модуль\\ s+(.+)\\ s\\ /\\ s.*:\\ s+(\\ d+)\\ s+\\ /\\ s+([^{]*)" ,
76
+ "file" : 1 ,
77
+ "location" : 2 ,
78
+ "message" : 3
79
+ }
80
+ }
81
+ },
82
+ {
83
+ "taskName" : " Exec feature" ,
84
+ "args" : [
85
+ " 1bdd" ,
86
+ " ${file}" ,
87
+ " -fail-fast" ,
88
+ " -out" ,
89
+ " ${workspaceRoot}/exec.log"
90
+ ],
91
+ "echoCommand" : true ,
92
+ "showOutput" : " always" ,
93
+ "suppressTaskName" : true ,
94
+ "isBuildCommand" : false ,
95
+ "isTestCommand" : true ,
96
+ "problemMatcher" : {
97
+ "fileLocation" : " absolute" ,
98
+ "pattern" : [
99
+ {
100
+ "regexp" : " {Модуль\\ s+(.+)\\ s\\ /\\ s.*:\\ s+(\\ d+)\\ s+\\ /\\ s+([^{]*)" ,
101
+ "file" : 1 ,
102
+ "location" : 2 ,
103
+ "message" : 3
104
+ }
105
+ ]
106
+ }
107
+ },
108
+ {
109
+ "taskName" : " Exec feature for current step def" ,
110
+ "args" : [
111
+ " 1bdd" ,
112
+ " ${fileDirname}/../${fileBasenameNoExtension}.feature" ,
113
+ " -fail-fast" ,
114
+ " -out" ,
115
+ " ${workspaceRoot}/exec.log"
116
+ ],
117
+ "echoCommand" : true ,
118
+ "showOutput" : " always" ,
119
+ "suppressTaskName" : true ,
120
+ "isBuildCommand" : false ,
121
+ "isTestCommand" : true ,
122
+ "problemMatcher" : {
123
+ "fileLocation" : " absolute" ,
124
+ "pattern" : [
125
+ {
126
+ "regexp" : " {Модуль\\ s+(.+)\\ s\\ /\\ s.*:\\ s+(\\ d+)\\ s+\\ /\\ s+([^{]*)" ,
127
+ "file" : 1 ,
128
+ "location" : 2 ,
129
+ "message" : 3
130
+ }
131
+ ]
132
+ }
133
+ },
134
+ {
135
+ "taskName" : " Exec feature + debug" ,
136
+ "args" : [
137
+ " 1bdd" ,
138
+ " ${file}" ,
139
+ " -fail-fast" ,
140
+ " -verbose" ,
141
+ " on" ,
142
+ " -out" ,
143
+ " ${workspaceRoot}/exec.log"
144
+ ],
145
+ "echoCommand" : true ,
146
+ "showOutput" : " always" ,
147
+ "suppressTaskName" : true ,
148
+ // "isBuildCommand": false,
149
+ "isTestCommand" : false ,
150
+ "problemMatcher" : {
151
+ "fileLocation" : " absolute" ,
152
+ "pattern" : {
153
+ "regexp" : " {Модуль\\ s+(.+)\\ s\\ /\\ s.*:\\ s+(\\ d+)\\ s+\\ /\\ s+([^{]*)" ,
154
+ "file" : 1 ,
155
+ "location" : 2 ,
156
+ "message" : 3
157
+ }
158
+ }
159
+ },
160
+ {
161
+ "taskName" : " Generate feature steps" ,
162
+ "args" : [
163
+ " 1bdd" ,
164
+ " gen" ,
165
+ " ${file}" ,
166
+ " -out" ,
167
+ " ${workspaceRoot}/exec.log"
168
+ ],
169
+ "echoCommand" : true ,
170
+ "showOutput" : " always" ,
171
+ "suppressTaskName" : true ,
172
+ "isBuildCommand" : false ,
173
+ "isTestCommand" : false ,
174
+ "problemMatcher" : {
175
+ "fileLocation" : " absolute" ,
176
+ "pattern" : {
177
+ "regexp" : " {Модуль\\ s+(.+)\\ s\\ /\\ s.*:\\ s+(\\ d+)\\ s+\\ /\\ s+([^{]*)" ,
178
+ "file" : 1 ,
179
+ "location" : 2 ,
180
+ "message" : 3
181
+ }
182
+ }
183
+ },
184
+ {
185
+ "taskName" : " OneScript: compile" ,
186
+ "args" : [
187
+ " oscript" ,
188
+ " -encoding=utf-8" ,
189
+ " -compile" ,
190
+ " ${file}"
191
+ ],
192
+ "echoCommand" : true ,
193
+ "showOutput" : " always" ,
194
+ "suppressTaskName" : true ,
195
+ "isBuildCommand" : false
196
+ },
197
+ {
198
+ "taskName" : " OneScript: check" ,
199
+ "args" : [
200
+ " oscript" ,
201
+ " -encoding=utf-8" ,
202
+ " -check" ,
203
+ " ${file}"
204
+ ],
205
+ "echoCommand" : true ,
206
+ "showOutput" : " always" ,
207
+ "suppressTaskName" : true ,
208
+ "isBuildCommand" : false
209
+ },
210
+ {
211
+ "taskName" : " OneScript: make" ,
212
+ "args" : [
213
+ " oscript" ,
214
+ " -encoding=utf-8" ,
215
+ " -make" ,
216
+ " ${file}" ,
217
+ " ${fileBasename}.exe"
218
+ ],
219
+ "echoCommand" : true ,
220
+ "showOutput" : " always" ,
221
+ "suppressTaskName" : true ,
222
+ "isBuildCommand" : false
223
+ },
224
+ {
225
+ "taskName" : " OneScript: run" ,
226
+ "args" : [
227
+ " oscript" ,
228
+ " -encoding=utf-8" ,
229
+ " ${file}"
230
+ ],
231
+ "echoCommand" : true ,
232
+ "showOutput" : " always" ,
233
+ "suppressTaskName" : true ,
234
+ "isBuildCommand" : true ,
235
+ "problemMatcher" : {
236
+ "fileLocation" : " absolute" ,
237
+ "pattern" : {
238
+ "regexp" : " ^{Модуль\\ s+(.*)\\ s\\ /\\ s.*:\\ s+(\\ d+)\\ s+\\ /\\ s+(.*)}$" ,
239
+ "file" : 1 ,
240
+ "location" : 2 ,
241
+ "message" : 3
242
+ }
243
+ }
244
+ }
245
+ ]
246
+ }
0 commit comments