Execution order of dynamically registered tests #860
Labels
Component: Bash Code
Everything regarding the bash code
Priority: High
Broken behavior in specific environments like in parallel mode or only on some operating systems
Type: Enhancement
Milestone
I just found out that dynamically registered tests have now been implemented (#349), and they are awesome! Thank you so much for implementing this!
I have one question though: could the dynamically registered tests be executed after the statically defined tests from the file? Right now they are executed first:
It is of course possible to force the order by dynamically registering all the tests in a file, but that feels a bit clumsy.
Maybe it is a lack of my imagination, but I don't see when I would ever want to run the static tests last. If I have a mix of static and dynamic tests, then the static tests may provide some initial setup that is being utilized by the dynamic test matrix later.
I know there is
setup_file
, but I may want to run the setup in@test
functions because it is part of the functionality being tested, and may fail at various points too.The text was updated successfully, but these errors were encountered: