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

AfterTestCaseUserHook never executed if user hook failed with RTE or Abort #385

Closed Garados007 closed 1 year ago

Garados007 commented 1 year ago

Is this intended behavior? AfterTestCaseUserHook is responsible for the following things:

t-b commented 1 year ago

Is this intended behavior?.

IMHO no. I think the IUTF hooks should always be executed now matter what the user hooks do.

Do you agree?

Garados007 commented 1 year ago

I don't know why the listed tasks shouldn't be executed if a user hook failed with an RTE or abort. So yes. They should always be executed.