Skip to content

Support assertion trigger testing #114

@mqtthiqs

Description

@mqtthiqs

Hello and thanks for your great work.

Is testing for assertion triggering supported? I'm using Catch2 and would like to test that a function is asserting as expected with incorrect input. Something like:

REQUIRE_ASSERT(f(-1));

maybe with some kind of matching on the particular assertion message.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is neededquestionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions