Skip to content

Additional Line Info for Catch2 #31

@KStocky

Description

@KStocky

Is your feature request related to a problem? Please describe.
Currently, if a failed assert is viewed using C++ TestMate for catch2 tests, it will bring the user to the line of the C++ assert. It would be great if we could make it bring users to the HLSL assert

Describe the solution you'd like
We could provide a custom REQUIRE macro that takes the line and file info from the results of the test run.

Describe alternatives you've considered
Another way is to try and contribute to Catch2 and provide a new REQUIRE macro from them.

Additional context
The Catch2 discord implied that this might be accepted. But it would be good to provide it for STF first before pushing it back.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions