4

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.

Community
  • 1
  • 1
hopia
  • 4,880
  • 7
  • 32
  • 54

2 Answers2

5

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).

maxschlepzig
  • 35,645
  • 14
  • 145
  • 182
1

A small amount of reading reveals:

Other core features

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

Kerrek SB
  • 464,522
  • 92
  • 875
  • 1,084