catchorg / catchorg/Catch2

Print the active section/generator selection

Open
#3,099 4 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**
I sometimes find it hard to correctly select the section and/or generator when digging through failing tests. A part of this is that Catch2 provides very little info about what I have actually selected with the given options.

I would like the whole test spec to be printed, just like it is when no path/section spec is given. I would also like the given filter/generator selection to be printed, just like the `Filters: ` printout.

I'm currently using Catch2 v3.14.0.

**Additional context**
This is the complete printout I currently get when I've made a selection that leads nowhere, which doesn't help me find out what I need to change to reach the expected assertion.

```
Filters: "Scenario: Create and train model on entire dataset"
Randomness seeded to: 3221299838
===============================================================================
test cases: 1 | 1 passed
assertions: - none -
```

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.