You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add support for cpputestTestAdapter.preLaunchTask setting
The configured task will be run at the beginning of load(), run(), and
debug(). This can be used to rebuild the test executable.
Addresses issue bneumann#42
Copy file name to clipboardExpand all lines: README.md
+2
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,8 @@ To let this plugin know where your tests are set the ```cpputestTestAdapter.test
19
19
```
20
20
They will be executed in the ```cpputestTestAdapter.testExecutablePath``` path.
21
21
22
+
To arrange for a task to be run prior to running tests or refreshing the test list, set ```cpputestTestAdapter.preLaunchTask``` to the name of a task from tasks.json. This can be used to rebuild the test executable, for example.
23
+
22
24
If you want to use the debugging functions you will also need to setup a launch.json file with your debugger path and arguments etc. The adapter will take care of the rest. Hopefully.
0 commit comments