catchorg / catchorg/Catch2

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

Open
#2,828 0 comments 0 reactions 0 assignees View on GitHub
Extras Feature Request
Dominant language
C++
Stars
21.5k
Forks
3.5k
Avg merge
3d 16h
Merged PRs (30d)
2

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.