[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Test results as XML files


Hi,

I am trying to find an appropriate unit testing framework for our project. I find the cmocka with it's mocking capabilities to be very promising. I wrote some tests and I really like the concept. There is one thing that I would like to ask about, though.

We would like to run our unit tests as a part of the nightly build. Continuous integration tools, like Jenkins or Bamboo (which we use), often offer test result reporting and error highlighting. For this they should be supplied with some XML files which contain the test results. From what I know, the JUnit format is supported out of the box, at least by the two continuous integration tools mentioned before.

It would be really nice if cmocka could create XML reports using some well-known format (like JUnit). The framework would be complete then. Do you plan to add such functionality? Maybe there are some tools out there which could parse the cmocka output and create proper XML files?

Best regards,
Krzysztof


Follow-Ups:
Re: Test results as XML files"James Grenning" <james@xxxxxxxxxxxx>
Re: Test results as XML filesJakub Hrozek <jakub.hrozek@xxxxxxxxx>