• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

cucumber / cucumber-jvm / 3218
86%

Build:
DEFAULT BRANCH: master
Ran 17 Aug 2019 09:07PM UTC
Jobs 1
Files 326
Run time 27s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
3218

push

travis-ci

web-flow
Merge pull request #1738 from cucumber/fix-hook-order

While the order in which hooks are added to the glue is undefined there
is the assumption that they are never the less reversed in order. So
given two methods both annotated with a before- and after hook, they
should be executed like so:

 - method a as a before hook
 - method b as a before hook
 - method b as a after hook
 - method a as a after hook

This failed to happen because Cucumber sorts hooks by order. This means
that before hooks with lower order are executed before hooks with a
higher order - and in reverse for after hooks. However because sort
preserves insertion order we ended up with this execution pattern:

 - method a as a before hook
 - method b as a before hook
 - method a as a after hook
 - method b as a after hook

17 of 17 new or added lines in 2 files covered. (100.0%)

5395 of 6183 relevant lines covered (87.26%)

0.87 hits per line

Jobs
ID Job ID Ran Files Coverage
2 3218.2 17 Aug 2019 09:07PM UTC 0
87.26
Travis Job 3218.2
Source Files on build 3218
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3218
  • f9b03a28 on github
  • Prev Build on master (#3215)
  • Next Build on master (#3221)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc