Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additional Line Info for Catch2 #31

Open
KStocky opened this issue Jan 17, 2024 · 0 comments
Open

Additional Line Info for Catch2 #31

KStocky opened this issue Jan 17, 2024 · 0 comments

Comments

@KStocky
Copy link
Owner

KStocky commented Jan 17, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant