Does the catch unit test framework support junit-style test reports?

1.4k views Asked by At

Planning to switch over to the Catch unit test framework for c++.

I need the test results to be in junit report format and I just want to confirm if it has that capability.

2

There are 2 answers

0
maxschlepzig On BEST ANSWER

Yes, it does.

You can generate a JUnit compatible XML report via adding

-r junit

to the command line of your compiled Catch test suite (cf. Integration with build systems).

1
Kerrek SB On

A small amount of reading reveals:

Other core features

JUnit xml output is supported for integration with third-party tools, such as CI servers.