byte-physics / igortest

Igor Pro Universal Testing Framework
https://docs.byte-physics.de/igor-unit-testing-framework/
BSD 3-Clause "New" or "Revised" License
7 stars 2 forks source link

No test case name in summary output for TEST_CASE_END_OVERRIDE assertion #453

Open MichaelHuth opened 1 year ago

MichaelHuth commented 1 year ago

If there is a failing assertion in TEST_CASE_END_OVERRIDE in the summary the originating test case name does not appear. Currently the output looks like e.g. ? Assertion "CHECK_EQUAL_VAR(bugCount_ts, 0)" failed in TEST_CASE_END_OVERRIDE?CheckForBugMessages (UTF_HelperFunctions.ipf, line 144?767)

It would be very helpful if also the name of the originating test case is mentioned in the message.

t-b commented 1 year ago

Well we do treat the hook functions now as test cases so the behaviour you are seeing is kind of by design I guess. Still I agree that this would be helpful.