java-faker
java-faker copied to clipboard
Brings the popular ruby faker gem to Java
`InputStream` from `FakerValues.findStream` is returned to `FakerValues.loadValues()` then passed to snake yaml, but it's never closed causing memory and file descriptor leaks. Calls to faker.username() triggers a call to `faker.firstName()`...
I set explicitly locale in the constructor ` Faker f = new Faker(Locale.ENGLISH);` but if I call `f.commerce().price()` it returns number in computer locale format. I think it is becouse...
**Describe the bug** When calling `faker.avatar().image()` or `faker.internet().avatar()` and pass the generated value to image viewer class it returns ```xml AllAccessDisabled All access to this object has been disabled 9F91MFA9EN9NAP4V...
Implemented a feature requested in issue #677 to enable Faker to generate randomized Java Duration instances from 0 to a given `long`. - `FakeDuration`.`atMostMinutes` takes a `long minutesMax` and returns...
I implemented a feature requested in #591. Originally `Address.zipCode` returned either a 5-digit zip code or a 9-digit zip code. Here the 5-digit and 9-digit zip code representations are split...
Implemented a feature requested in #361. `Name`.`username(int maxLength)` will return a username generated with maximum length `maxLength`.
Created function randomlyNull in class Options which does the same as the function option except null is one of the possible values. Additionally, added test cases for randomlyNull.