Trying to test my C project on NetBeans, the tests never end while the output is:
Test: testFileOne ...passed Test: testFileTwo ...passed
Run Summary: Type Total Ran Passed Failed Inactive
suites 1 1 n/a 0 0
tests 2 2 2 0 0
asserts 8 8 8 0 n/a
Elapsed time = 0.000 seconds
Even if it seems complete, the progress bar is still shining at the value 0.0%.
Test cases are all like:
void testMethod() {
CU_ASSERT(1 == 1);
//other lines of code..
CU_ASSERT(0 == 0);
}
with more than one CU_ASSERT for each function. Some behaviour with auto-generated test code by NetBeans.
The command
make test
from command line works like a charme and ends with no problem.
Anybody has encountered this issue before? any way to get it solved without strambling my laptop? Thank you in advance for every comment.