Skip to content
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

Finish JSON reporter & use it for more reliable CMake/CTest integration #2828

Open
horenmar opened this issue Feb 27, 2024 · 0 comments
Open
Labels
Extras Touches utility scripts outside of Catch2 proper, e.g. CMake integration. Feature Request

Comments

@horenmar
Copy link
Member

Catch2 currently provides XML reporter for tooling integration, but CMake
has never figured out XML. Instead, it can parse JSON (with a very weird,
very CMake, API), so we need a JSON reporter for CMake and CTest integration
(e.g. catch_discover_tests). People are also generally more comfortable
with JSON than with XML.

Catch2 already understands JSON escaping and can list tests in JSON, but
rest of the reporter is not done, neither is adapting catch_discover_tests
for JSON output.

@horenmar horenmar added this to the Long term goals milestone Feb 27, 2024
@horenmar horenmar added Extras Touches utility scripts outside of Catch2 proper, e.g. CMake integration. Feature Request labels Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Extras Touches utility scripts outside of Catch2 proper, e.g. CMake integration. Feature Request
Projects
None yet
Development

No branches or pull requests

1 participant