easy-random
easy-random copied to clipboard
The simple, stupid random Java beans/records generator
Java 14 introduced [Records](https://openjdk.java.net/jeps/359). It would be great if Easy Random can generate random instances of such types.
https://github.com/j-easy/easy-random/blob/0426dcd8b2df555d276a16513ab92d79f99f8de5/easy-random-core/src/main/java/org/jeasy/random/randomizers/range/BigDecimalRangeRandomizer.java#L84 Argument `scale` is incorrectly passed to `DoubleRangeRandomizer` as `seed` parameter.
Hi, Since easy-random deals a lot with data generation, I thought this PR would be beneficial for this library :) java-faker has not been well maintained lately, and has a...
I am trying to generate pojo with random values. My expectation is 2 member variables to have the same generated randomized value. .randomize(named("codeType|codeDescription").and(ofType(String.class)).and(inClass(Country.class)), () -> genericStringRandomizer.getRandomValue()) Expecting both codeType and...
After upgrading Spring Boot version from 2.6.8 to 2.7.0 and using easy-random in my project. I failed into building problem. I am getting error: `Could not find snakeyaml-1.30-android.jar (org.yaml:snakeyaml:1.30). Searched...
jakarta-validation-api annotations should be added into easy-random-bean-validation.
There are interfaces in the object that cannot be filled
Class scanning is a great feature, but depending on the size of your project, it leads to some minor issues. For example, I'd like to use `EasyRandom` as part of...
This PR introduces a new `TypeResolver` interface to the public API. This interface's default implementation is in `ReflectionUtils`, which is then delegated to the static helpers in `ClassGraphFacade`. This means...
This PR allows using `EnumRandomizer` with excluded values in a deterministic fashion, by also passing in a seed. This was previously only possible when using all the values from the...