-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"order" for Hooks in Groovy. #807
Comments
Would you be interested in contributing a fix for this? |
@aslakhellesoy, yeah sure. |
mhshams
added a commit
to mhshams/cucumber-jvm
that referenced
this issue
Dec 12, 2014
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
mpkorstanje
pushed a commit
that referenced
this issue
Oct 4, 2019
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Apparently there is no way to set execution order for hooks in groovy.
In java implementation you can set the execution order in annotation
@Before(order = 100)
. but that's not the case in groovy.Looking at "GroovyHookDefinition.groovy" class, one can see following code implemented for "getOrder" which is returning the order based on filename and not be user provided order.
The text was updated successfully, but these errors were encountered: