DISABLED_TEST_CASE
- Dominant language
- C++
- Stars
- 21.5k
- Forks
- 3.5k
- Avg merge
- 3d 16h
- Merged PRs (30d)
- 2
Description
## Description
It would be nice to have solution build in for diabling tests. Not hiding them because when you hide only and pass eg. to not run [~long] tests cases then hidden will be executed.
### Extra information
Sample implementation
```
#pragma once
#define CONCAT_(x, y) x##y
#define CONCAT(x, y) CONCAT_(x,y)
#define DISABLED_TEST_CASE(...) __attribute__ ((unused)) static void CONCAT(disabled_test_,__LINE__)()
```
Contributor guide
Research direction
No source file or test is named. Start by tracing Catch2's test-case registration and test-selection behavior, then compare it with the proposed DISABLED_TEST_CASE macro. Done means disabled cases are supported without being hidden and remain excluded when selecting or excluding long tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- testing-qa
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100