Skip to content

Print the active section/generator selection #3099

Description

@jtunhag

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 -

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions