-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support multiple reporters for catch_discover_tests
#2824
Comments
If anyone wants to poke into this, note that to have multiple reporters active, they have to have different output destinations, or use the extended reporter specification to explicitly target the same output. Currently For a general solution for N reporters, the script would have to accept "templated" reporter specs and understand how to rewrite them for the actual tests. For solution specific to this issue, there would likely need to be an extra argument along the lines of |
Description
When running Catch2 tests from the command line, it's possible to specify and configure multiple reporters, e.g. console with colors and JUnit, to make it easy to for a human to use console output and easy for a CI/CD system to digest JUnit results. However, when using the
catch_discover_tests
CMake utility, only one reporter can be provided. Is it possible it could be extended to support multiple reporters, or have some other way to get both colorful console output and JUnit output?The text was updated successfully, but these errors were encountered: