Skip to content


Subversion checkout URL

You can clone with
Download ZIP


@txn should have a default @Order #398

mmalmeida opened this Issue · 5 comments

2 participants


the @txn hook is added if you define in your hook.

However, with the current implementation you cannot seem to add any other @before hook that runs before that one.

Suggestion: Add a default @Order(10) to that hook, so we can add before hooks before that one.


I need to refresh my memory and read through #46 again. It's from before I started maintaining a proper


Sure.If you want any help with it let me know. If you think this is something worth doing I can take care of this ticket.


Allright, I think this makes sense. Let's make it a higher number - 10 seems arbitrailiy low. How about 1000?


I think 1000 might be too high if we want to have hooks before and after this one - you'll need to give a number higher than 1000 to the ones ran after this one. Maybe 100 would suffice? I'm not sure there are many use cases where one would have 100 other hooks (and even then, you can repeat order numbers).

@aslakhellesoy aslakhellesoy closed this issue from a commit
@aslakhellesoy aslakhellesoy Set a default order of 100 for Spring @txn hooks in the cucumber.runt…
… glue package. Closes #398.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.