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

cucumber / cucumber-jvm / 3784
86%

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

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

81 of 81 new or added lines in 4 files covered. (100.0%)

6317 of 7613 relevant lines covered (82.98%)

0.83 hits per line

Jobs
ID Job ID Ran Files Coverage
3 3784.3 (COVERAGE=true) 05 Feb 2020 11:52PM UTC 0
82.98
Travis Job 3784.3
Source Files on build 3784
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3784
  • 2f3c714f on github
  • Prev Build on master (#3780)
  • Next Build on master (#3786)
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