datafaker
datafaker copied to clipboard
Generating fake data for the JVM (Java, Kotlin, Groovy) has never been easier!
Hi, I started migrating `Disease` provider under `healthcare`, however I'm not sure if this wouldn't break backward compatibility, because: 1. `Disease` is moved from `BaseProviders` to `HealthcareProviders` 2. `disease.yml` was...
Hi all, Another proposal: I'm thinking of breaking DateAndTime. At the moment, it's using `java.sql.Timestamp` for `future()`, `past()` and `birthday()` methods. I don't think anyone would use a SQL Timestamp...
**Describe the bug** Running the following code shows the issue: ```java public class ExpressionBugTest { @Test void testExpressionEnglishFails() { Faker faker = new Faker(Locale.ENGLISH); String expression = faker.expression("#{name.first_name}"); System.out.println(expression); }...
In a project I'm working on, I'm working with AWS Comprehend to detect and redact PII data. It would be nice if Datafaker could generate some explicit data including PII...
The problem with current method like `net.datafaker.transformations.JsonTransformer#generate(net.datafaker.transformations.Schema, int)` it generates the whole `String` and then returns it. As a result for bigger numbers it consumes larger amount of memory and...
After upgrade to version 2.3.0 I am getting: Error occurred during initialization of boot layer java.lang.module.FindException: Error reading module: G:\MyMavenRepo\net\datafaker\datafaker\2.3.0\datafaker-2.3.0.jar Caused by: java.lang.module.InvalidModuleDescriptorException: Package net.datafaker.formats not found in module To...
**Is your feature request related to a problem? Please describe.** I suggest to create a dictionary of obscene words. It may be useful for testing spam filters, blog prettifiers etc....
Faker().locality().allSupportedLocales() returns empty when Datafaker is embedded in Spring Boot Uber JAR.
it's a simplified version of what happens with `FakeValuesService.MAP_OF_METHOD_AND_COERCED_ARGS`. @snuyanzin Can you help with fixing `CopyOnWriteMap`?
Support weighted faking in custom providers. Inspired from https://fakerjs.dev/api/helpers#weightedarrayelement ```javascript faker.helpers.weightedArrayElement([ { weight: 5, value: 'sunny' }, { weight: 4, value: 'rainy' }, { weight: 1, value: 'snowy' } ])...