-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
Description
Is your feature request related to a problem? Please describe.
in many cases it is necessary to check whether a unit test could finish within some expected execution time, in addition to the correctness checks of the outputs.
Describe the solution you'd like
this ticket looks for a generic timer wrapper for the unit testing module, so that it automatically fails a test (early) if the test takes longer than the expected execution time when running it on the monai CI/CD servers.
would also be great to have a global flag to switch this feature on/off so that the developers can run the tests locally without an execution time constraint