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

cucumber / cucumber-jvm / 3784 / 3
86%
master: 86%

Build:
DEFAULT BRANCH: master
Ran 05 Feb 2020 11:52PM UTC
Files 356
Run time 42s
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

05 Feb 2020 11:45PM UTC coverage: 82.976% (+0.02%) from 82.952%
COVERAGE=true

push

travis-ci

web-flow
[TestNG] Fix NPE when executing empty scenario (#1887)

The `TestCaseState` defaults to undefined when a scenario has no steps. The
`TestCaseResultListener` however expects there to be an undefined step.

That the `TestCaseState` defaults to undefined is rather unexpected. The status
should be the most severe of the states so far which means that it should
default to passed. Changing this however will require a major release.

So fixing the test case result listeners is the next best thing. It also
appears that there is some duplication ongoing between TestNG and the JUnit
Platform Engine. However this duplication is hard to fix because each
platform uses its own exceptions and TestNG still supports `--non-strict`.

Fixes: https://github.com/cucumber/cucumber-jvm/issues/1885

6317 of 7613 relevant lines covered (82.98%)

0.83 hits per line

Source Files on job 3784.3 (COVERAGE=true)
  • Tree
  • List 0
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 3091
  • Travis Job 3784.3
  • 2f3c714f on github
  • Prev Job for COVERAGE=true on master (#3780.3)
  • Next Job for COVERAGE=true on master (#3786.3)
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