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

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

Build:
DEFAULT BRANCH: master
Ran 15 Apr 2020 10:49PM UTC
Files 359
Run time 25s
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

15 Apr 2020 10:41PM UTC coverage: 86.098% (+0.04%) from 86.055%
COVERAGE=true

push

travis-ci

web-flow
[JUnit Platform] Map tags to exclusive resources (#1944)

Using exclusive resources it is possible to control which scenarios will
not run concurrently with other scenarios that use the same resource.

Cucumber tags can be mapped to exclusive resources. A resource can be\
either locked with a read-write-lock, or a read lock.

For example:

```gherkin
Feature: Exclusive resources

 @my-tag-ab-rw
 Scenario: first example
   Given this reads and writes resource a
   And this reads and writes resource b
   When it is executed 
   Then it will not be executed concurrently with the second example

 @my-tag-a-r
 Scenario: second example
   Given this reads resource a
   When it is executed
   Then it will not be executed concurrently with the first example

```

With this configuration:

```
cucumber.execution.exclusive-resources.my-tag-ab-rw.read-write=resource-a,b
cucumber.execution.exclusive-resources.my-tag-a-r.read=a
```

The first scenario tagged with `@my-tag-ab-rw` will lock resource `a` and `b`
with a read-write lock and will not be concurrently executed with the second
scenario that locks resource `a` with a read lock.

Note: The `@` is not included.

6664 of 7740 relevant lines covered (86.1%)

0.86 hits per line

Source Files on job 3944.3 (COVERAGE=true)
  • Tree
  • List 0
  • Changed 4
  • Source Changed 4
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 3217
  • Travis Job 3944.3
  • 80d99941 on github
  • Prev Job for COVERAGE=true on master (#3934.3)
  • Next Job for COVERAGE=true on master (#3945.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