Test cases are not executed
Hello everybody,
I have a problem when i want to execute unit test cases on a folder of resources. I generated the test cases and tried to execute them, parasoft tells me there are 32 files in scope of the tests, which is correct, but it does not execute any testcase. I copied the generate unit tests and run unit tests from the configurations given by parasoft and didnt change any settings.
Please help me, i am desperate
Best Answer
-
Hi @juergenwuergen ,
If you copied C/C++test generated test cases into a project from somewhere else, then it might be that your context paths in test suite files are not correct in terms of path levels, or resources they reference. Check if the macros at the beginning of test suite have correct paths:
CPPTEST_CONTEXT()
CPPTEST_TEST_SUITE_INCLUDED_TO()If this does not help, try getting more information by looking at C/C++test Console tab, and see if any information printed there gives any hints.
If this does not help, I'd suggest to contact our support team.
5
Answers
-
Thank you, that solved it
0 -
Perfect! Thank you for the update.
0