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

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

Build:
DEFAULT BRANCH: master
Ran 21 Jun 2020 11:24PM UTC
Files 395
Run time 26s
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

21 Jun 2020 11:15PM UTC coverage: 86.032% (+0.04%) from 85.995%
COVERAGE=true

push

travis-ci

web-flow
[Core] Generate valid parameter names in snippets (#2029)

Parameter names were taken directly form the parameter names used in the
cucumber expression. By passing these through the identifier generator
we can ensure that these are valid identifiers.

To reflect this new usage the `FunctionNameGenerator` was renamed to
`IdentifierGenerator`. The identifier generator uses a strategy pattern to join
words into method and parameter names.

Parameter names are always generated using the camel case strategy. While
long sentence like method names may be more readable in snake case, it is
expected that people will still want to follow the java conventions for
parameters.

To avoid issues where a parameter name were already in camel case or underscore
case sentences are also split on camel case and underscores (in addition to
whitespace). This also required using all lower case in the `UnderscoreJoiner`
which has since been renamed to `SnakeCaseJoiner`.

Fixes: #2028

6806 of 7911 relevant lines covered (86.03%)

0.86 hits per line

Source Files on job 4186.3 (COVERAGE=true)
  • Tree
  • List 0
  • Changed 5
  • Source Changed 5
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 3399
  • Travis Job 4186.3
  • 3efc6061 on github
  • Prev Job for COVERAGE=true on master (#4182.3)
  • Next Job for COVERAGE=true on master (#4188.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

© 2025 Coveralls, Inc