Submit and vote on feature ideas.

Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

cpptestcli does not fail if a test suite has a compilation error

Options
ThomasMoore
ThomasMoore Posts: 7

When using cpptestcli from the Processional version of C/C++test, I've noticed that if a test suite has a compilation error, no failures are generated by cpptestcli and the other test suites are executed. The only way to determine that a test suite didn't run is by looking at the number of tests executed.

When ruining unit tests with the eclipse client, compilation errors with the test suites or stubs cause an error to be generated and the testing to stop. Is it possible to replicate this with cpptestcli?

Tagged:

Comments

  • ThomasMoore
    ThomasMoore Posts: 7
    Options

    Update: I found that the errors are included in the XML report generated by cpptestcli. However, they are not included in the xUnit report, which prevents any type of CI system from being aware that some of the tests weren't run.

    As a possible improvement, it would be nice if this failure information was reflected in the xUnit report in such a way that a CI system could determine that there was a failure.