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

Fix: Allow run() functions inside independent modules #435

Closed Garados007 closed 1 year ago

Garados007 commented 1 year ago

The AfterFileOpenHook will now check for run() functions inside the same module as igortest is located.

Close #412

t-b commented 1 year ago

I'm not assigned but I don't understand why you did not have to modify one of the test experiments.

Garados007 commented 1 year ago

@t-b

I don't understand why you did not have to modify one of the test experiments.

The IMUnitTests experiment works differently and requires it's run() in ProcGlobal for instrumentation. I added a new test suite in internal_dev to showcase the fix.

@t-b @MichaelHuth Ready for review

t-b commented 1 year ago

LGTM. Thanks!