Hi there,
Quite novice to CppUTest and this adapter, please bear with me - it just seems I'm missing something.
I have the Test Executable and Test Executable Path configured in the extension settings like this:
"cpputestTestAdapter.testExecutable": "${workspaceFolder}/t/Example_tests",
"cpputestTestAdapter.testExecutablePath": "${workspaceFolder}/t/"
Now when I change my source I don't see the test result change in the VS Code Testing panel, even though I've intentionally broken it. Example:
int test_func(void)
{
return 0; //was supposed to return 1
}
I take this to be because this extension is not re-running make, so the production code change isn't being picked up.
What I'm left wondering is how this extension is meant to be used for maximum benefit.
Otherwise my process would look like:
- Save change in source or tests,
- run
make (can be linked to the save keybind which makes this one step), - at this point I have shell output for pass/fail
- click 'Run all tests' in Test Explorer to see the test status change.
This sequence of steps does work for picking up changes, I just expected this to be more automatic. What am I missing here?
For info I'm using Ubuntu 14.04, VS Code 1.69.2, CppUTest latest.
Hi there,
Quite novice to CppUTest and this adapter, please bear with me - it just seems I'm missing something.
I have the Test Executable and Test Executable Path configured in the extension settings like this:
Now when I change my source I don't see the test result change in the VS Code Testing panel, even though I've intentionally broken it. Example:
I take this to be because this extension is not re-running
make, so the production code change isn't being picked up.What I'm left wondering is how this extension is meant to be used for maximum benefit.
Otherwise my process would look like:
make(can be linked to the save keybind which makes this one step), - at this point I have shell output for pass/failThis sequence of steps does work for picking up changes, I just expected this to be more automatic. What am I missing here?
For info I'm using Ubuntu 14.04, VS Code 1.69.2, CppUTest latest.