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

cucumber / cucumber-jvm / 4186
86%

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

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

55 of 55 new or added lines in 4 files covered. (100.0%)

6806 of 7911 relevant lines covered (86.03%)

0.86 hits per line

Jobs
ID Job ID Ran Files Coverage
3 4186.3 (COVERAGE=true) 21 Jun 2020 11:24PM UTC 0
86.03
Travis Job 4186.3
Source Files on build 4186
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4186
  • 3efc6061 on github
  • Prev Build on master (#4182)
  • Next Build on master (#4188)
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