|
1 | 1 | { |
2 | | - // Use IntelliSense to learn about possible attributes. |
3 | | - // Hover to view descriptions of existing attributes. |
4 | | - // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 |
5 | | - "version": "0.2.0", |
6 | | - "inputs": [ |
| 2 | + // Use IntelliSense to learn about possible attributes. |
| 3 | + // Hover to view descriptions of existing attributes. |
| 4 | + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 |
| 5 | + "version": "0.2.0", |
| 6 | + "inputs": [ |
| 7 | + { |
| 8 | + "id": "tag", |
| 9 | + "description": "Enter the tag to run", |
| 10 | + "type": "pickString", |
| 11 | + "options": [ |
| 12 | + "@smoke", |
| 13 | + "@rule1 or @smoke", |
| 14 | + "@keyword-asterisk", |
| 15 | + "@result:UNDEFINED", |
| 16 | + "@result:FAILED", |
| 17 | + "@fail_feature" |
| 18 | + ] |
| 19 | + }, |
| 20 | + { |
| 21 | + "id": "features", |
| 22 | + "description": "Enter the tag to run", |
| 23 | + "type": "pickString", |
| 24 | + "options": [ |
| 25 | + "cucumber_cpp/example/features", |
| 26 | + "cucumber_cpp/acceptance_test/features" |
| 27 | + ] |
| 28 | + } |
| 29 | + ], |
| 30 | + "configurations": [ |
| 31 | + { |
| 32 | + "name": "Debug Test", |
| 33 | + "type": "cppdbg", |
| 34 | + "request": "launch", |
| 35 | + "program": "${command:cmake.launchTargetPath}", |
| 36 | + "stopAtEntry": false, |
| 37 | + "cwd": "${workspaceFolder}", |
| 38 | + "environment": [], |
| 39 | + "externalConsole": false, |
| 40 | + "MIMode": "gdb", |
| 41 | + "setupCommands": [ |
7 | 42 | { |
8 | | - "id": "tag", |
9 | | - "description": "Enter the tag to run", |
10 | | - "type": "pickString", |
11 | | - "options": [ |
12 | | - "@smoke", |
13 | | - "@rule1 or @smoke", |
14 | | - "@keyword-asterisk", |
15 | | - "@result:UNDEFINED", |
16 | | - "@result:FAILED", |
17 | | - "@fail_feature" |
18 | | - ] |
19 | | - }, |
20 | | - { |
21 | | - "id": "features", |
22 | | - "description": "Enter the tag to run", |
23 | | - "type": "pickString", |
24 | | - "options": [ |
25 | | - "cucumber_cpp/example/features", |
26 | | - "cucumber_cpp/acceptance_test/features" |
27 | | - ] |
| 43 | + "description": "Enable pretty-printing for gdb", |
| 44 | + "text": "-enable-pretty-printing", |
| 45 | + "ignoreFailures": true |
28 | 46 | } |
29 | | - ], |
30 | | - "configurations": [ |
31 | | - { |
32 | | - "name": "Debug Test", |
33 | | - "type": "cppdbg", |
34 | | - "request": "launch", |
35 | | - "program": "${command:cmake.launchTargetPath}", |
36 | | - "stopAtEntry": false, |
37 | | - "cwd": "${workspaceFolder}", |
38 | | - "environment": [], |
39 | | - "externalConsole": false, |
40 | | - "MIMode": "gdb", |
41 | | - "setupCommands": [ |
42 | | - { |
43 | | - "description": "Enable pretty-printing for gdb", |
44 | | - "text": "-enable-pretty-printing", |
45 | | - "ignoreFailures": true |
46 | | - } |
47 | | - ] |
48 | | - }, |
| 47 | + ] |
| 48 | + }, |
| 49 | + { |
| 50 | + "name": "(gdb) Launch", |
| 51 | + "type": "cppdbg", |
| 52 | + "request": "launch", |
| 53 | + "program": "${command:cmake.launchTargetPath}", |
| 54 | + "args": [ |
| 55 | + "run", |
| 56 | + "--feature", |
| 57 | + "${input:features}", |
| 58 | + "--report", |
| 59 | + "console", |
| 60 | + "junit-xml", |
| 61 | + "--tag", |
| 62 | + "${input:tag}" |
| 63 | + ], |
| 64 | + "stopAtEntry": false, |
| 65 | + "cwd": "${workspaceFolder}", |
| 66 | + "environment": [], |
| 67 | + "externalConsole": false, |
| 68 | + "MIMode": "gdb", |
| 69 | + "setupCommands": [ |
49 | 70 | { |
50 | | - "name": "(gdb) Launch", |
51 | | - "type": "cppdbg", |
52 | | - "request": "launch", |
53 | | - "program": "${command:cmake.launchTargetPath}", |
54 | | - "args": [ |
55 | | - "run", |
56 | | - "--feature", |
57 | | - "${input:features}", |
58 | | - "--report", |
59 | | - "console", |
60 | | - "junit-xml", |
61 | | - // "--com", |
62 | | - // "COMx", |
63 | | - // "--nordic", |
64 | | - "--tag", |
65 | | - "${input:tag}" |
66 | | - ], |
67 | | - "stopAtEntry": false, |
68 | | - "cwd": "${workspaceFolder}", |
69 | | - "environment": [], |
70 | | - "externalConsole": false, |
71 | | - "MIMode": "gdb", |
72 | | - "setupCommands": [ |
73 | | - { |
74 | | - "description": "Enable pretty-printing for gdb", |
75 | | - "text": "-enable-pretty-printing", |
76 | | - "ignoreFailures": true |
77 | | - } |
78 | | - ] |
| 71 | + "description": "Enable pretty-printing for gdb", |
| 72 | + "text": "-enable-pretty-printing", |
| 73 | + "ignoreFailures": true |
79 | 74 | } |
80 | | - ] |
| 75 | + ] |
| 76 | + } |
| 77 | + ] |
81 | 78 | } |
0 commit comments