KStocky / ShaderTestFramework

An automation testing framework for testing shader code
MIT License
20 stars 1 forks source link

Provide line numbers of SECTION in failed asserts #25

Closed KStocky closed 2 months ago

KStocky commented 5 months ago

Is your feature request related to a problem? Please describe. Currently, if an assert fails in a SECTION the line number of that section is not given. This is something that could easily be provided without any extra effort from the test writer. This would help to add context to any failed assert

Describe the solution you'd like Like thread IDs, we just add an integer to the assert info and we can use the global section info to get the current line of the current section.

KStocky commented 2 months ago

With #66 I do not think this is required anymore. I can reopen it if not. But the main reason behind this ticket was there was no way to identify an assert that failed in a section. But with #66 we now have the ability to give sections unique names so this is somewhat redundant