Skip to content

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
...
  • 2 commits
  • 1 file changed
  • 0 commit comments
  • 2 contributors
Commits on Aug 14, 2012
Tomas Bezdek cuke4duke convention is to run env.groovy Before/After methods first/…
…last
d72ddd2
Commits on Aug 18, 2012
@aslakhellesoy aslakhellesoy Merge pull request #374 from bezda/master
Run Before/After methods from env.groovy first
fd16b85
Showing with 2 additions and 1 deletion.
  1. +2 −1 groovy/src/main/java/cucumber/runtime/groovy/GroovyHookDefinition.java
View
3 groovy/src/main/java/cucumber/runtime/groovy/GroovyHookDefinition.java
@@ -47,6 +47,7 @@ public boolean matches(Collection<Tag> tags) {
@Override
public int getOrder() {
- return 0;
+ return location.getFileName() == "env.groovy" ? -1 : 0;
}
}
+

No commit comments for this range

Something went wrong with that request. Please try again.