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

cucumber / cucumber-jvm / 3944
86%

Build:
DEFAULT BRANCH: master
Ran 15 Apr 2020 10:49PM UTC
Jobs 1
Files 359
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
3944

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.

27 of 27 new or added lines in 3 files covered. (100.0%)

6664 of 7740 relevant lines covered (86.1%)

0.86 hits per line

Jobs
ID Job ID Ran Files Coverage
3 3944.3 (COVERAGE=true) 15 Apr 2020 10:49PM UTC 0
86.1
Travis Job 3944.3
Source Files on build 3944
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3944
  • 80d99941 on github
  • Prev Build on master (#3934)
  • Next Build on master (#3945)
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