catchorg / catchorg/Catch2

Look into supporting CMake's generic test discovery

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

Description

**Description**
Since 4.4, CMake has support for generic test discovery from a binary. It supports most features from our current discovery mechanism (except for writing through a file), but relies on regex + plain stdout to exchange the information.

**Additional context**
https://cmake.org/cmake/help/latest/command/discover_tests.html#command:discover_tests

Contributor guide

Open the contributing guide

Research direction

Start with CMake's discover_tests documentation linked in the issue, then locate Catch2's current CMake test-discovery mechanism. Compare the supported features and identify the entry points needed for generic binary discovery using regex and stdout. Done means Catch2 supports the requested generic discovery behavior while retaining the documented limitation around writing through a file.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp
Domain
build-system, testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.