datafaker icon indicating copy to clipboard operation
datafaker copied to clipboard

Generating fake data for the JVM (Java, Kotlin, Groovy) has never been easier!

Results 40 datafaker issues
Sort by recently updated
recently updated
newest added

**Describe the bug** Methods `nextInt` and `nextLong` have inconsistent behaviour. The "max" parameter is **exclusive** for most of them, but **inclusive** for one of them. * nextInt(3): [0, 1, 2]...

bug

**Describe the solution you'd like** Add Mobile Country Codes (MCC) and Mobile Network Code (MNC) generators for phone data generator. **Describe alternatives you've considered** Alternative is to use numerify functions...

e.g. * `randomService.nextInt(Integer.MIN_VALUE, Integer.MAX_VALUE)` * `randomService.nextLong(Long.MIN_VALUE, Long.MAX_VALUE)`

**Describe the bug** After bumping to `2.4.0` started reproducing an issue with using the following method `random().nextInt(1, Integer.MAX_VALUE)` 2.3.1 - works fine 2.4.0 - has a bug **To Reproduce** ❌...

bug

``` $ gpg net/datafaker/datafaker/2.4.2/datafaker-2.4.2.jar.asc gpg: Signature made Tue 19 Nov 2024 03:36:53 CET gpg: using EDDSA key C164CF5D76B509A6DB8E2F7E8B028A668EFF11CC gpg: Good signature from ... [expired] gpg: Note: This key has expired!...

Hi I used for some months this project and I saw that sometimes we need to have some boilerplate code for use it. Right now we must to create always...

Hi all, I was trying to use Semver (https://semver.org/) for releases. We (well, I.....) haven't been always accurate with this, but the general thinking was: MAJOR (x.0.0) -> really big...

As an idea, what if we declare the desired distributions in percentages instead of duplicating the values? Like, instead of duplicating "more desired" name patterns in yml: ```yml - name:...

enhancement
proposal