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

cucumber / cucumber-jvm / 3824
86%

Build:
DEFAULT BRANCH: master
Ran 20 Feb 2020 01:37PM UTC
Jobs 1
Files 356
Run time 51s
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
3824

push

travis-ci

web-flow
[JUnit Platform] Support skipping scenarios with cucumber.filter.tags (#1899)

The JUnit Platform supports skipping tests. For example in JUnit Jupiter a
test can be annotated with `@Disabled`. This test will be marked as skipped.

Cucumber scenarios do not have annotations nor is there any support to disable
specific scenarios. A typical work around with Cucumber JUnit 4 integration was
to set a permanent tag filter for `not @Disabled` in `@CucumberOptions`.

This wasn't possible with the JUnit Platform yet. By adding the
`cucumber.filter.tags` property it becomes possible to recreate JUnit Jupiter's
`@Disabled` functionality.
By setting `cucumber.filter.tags=not @Disabled` property any scenarios tagged
with `@Disabled` will be skipped.

Note that contrary to JUnit 4 skipped scenarios are not removed from the test
hierarchy. This is entirely intentional and a result of the way the JUnit
Platform supports skipping tests.

6351 of 7650 relevant lines covered (83.02%)

0.83 hits per line

Jobs
ID Job ID Ran Files Coverage
3 3824.3 (COVERAGE=true) 20 Feb 2020 01:37PM UTC 0
83.02
Travis Job 3824.3
Source Files on build 3824
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3824
  • d14c4372 on github
  • Prev Build on master (#3820)
  • Next Build on master (#3825)
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