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

trevershick / java-faker / #4 / 1
95%
master: 94%

Build:
Build:
LAST BUILD BRANCH: ensure_error_messages_are_useful
DEFAULT BRANCH: master
Ran 15 Oct 2016 09:17PM UTC
Files 33
Run time 1s
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

14 Oct 2016 06:37AM UTC coverage: 94.813% (+59.3%) from 35.464%
#4.1

push

codingricky
Add arguments to YML directives (#135)

resolves DiUS/java-faker#134 (closed PR)

The idea to use arguments in resolve was closely related to something i wanted to do which is to put the power of
letterify, numberify and regexify into the YML expression language.  This allows for more complicated expressions
that can be sculpted to be more correct without having to write java.

Now you can use something like #{regexify '[45]{2}ABC'} and it will work returning either 4ABC or 5ABC.  This should
help in creating more correct phone numbers, area codes, etc...

Any method exposed on Faker, even with arguments will work.

Even #{bothify '##??','true'} will work.  While all arguments are 'strings' in the YML, they are coerced to the appropriate
type prior to calling the method in Faker, so this expression will result in faker.bothify("##??", true).

786 of 829 relevant lines covered (94.81%)

10271.16 hits per line

Source Files on job #4.1
  • Tree
  • List 0
  • Changed 33
  • Source Changed 0
  • Coverage Changed 33
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 4
  • 7d41c366 on github
  • Prev Job for on ensure_error_messages_are_useful (##3.1)
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