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

cucumber / cucumber-jvm / 3271
86%

Build:
DEFAULT BRANCH: master
Ran 30 Aug 2019 10:33PM UTC
Jobs 1
Files 337
Run time 29s
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
3271

push

travis-ci

mpkorstanje
[Core] Add dedicated DocStringTypeRegistry (#1745)

Cucumber uses the `DatatTableTypeRegistry` to convert doc strings. This is
rather confusing and ignores the type provided with the doc string. This
introduces a dedicated `DocStringTypeRegistry`.

Given some gherkin

```
Given a doc string
"""json
{hello:"world"}
"""
```

```
And a step definition:

```
@Given("a doc string")
public void a_doc_string(JsonNode json){

}

```

The using the `@DocStringType` annotation it is possible

```
public JsonNode json(String docString){
  return objectMapper.readTree(docString)
}
```

to convert the doc string automatically to `JsonNode`.

141 of 141 new or added lines in 17 files covered. (100.0%)

5574 of 6335 relevant lines covered (87.99%)

0.88 hits per line

Jobs
ID Job ID Ran Files Coverage
2 3271.2 30 Aug 2019 10:33PM UTC 0
87.99
Travis Job 3271.2
Source Files on build 3271
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3271
  • 3f966677 on github
  • Prev Build on master (#3266)
  • Next Build on master (#3272)
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