Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
4ac28f8
Update version to 6.0.0-SNAPSHOT
fmbenhassine Jun 29, 2023
e2c450c
Upgrade minimum Java version to 17
fmbenhassine Jun 29, 2023
4e70b52
Update dependencies
fmbenhassine Jun 29, 2023
c4d2a3c
Add jakarta support
May 3, 2023
c94a9e2
Temporarily disable failing test
fmbenhassine Jun 29, 2023
547cfc0
Update CI build descriptor
fmbenhassine Jun 29, 2023
fc58f61
Update year in license headers
fmbenhassine Jun 30, 2023
b24b060
Update developer info
fmbenhassine Jun 30, 2023
6e67abf
Add support to generate random records
fmbenhassine Jun 30, 2023
3d53990
Update project description
fmbenhassine Jun 30, 2023
4b46b05
Update README.md
fmbenhassine Jun 30, 2023
5c430b4
Update current year in license-maven-plugin config
fmbenhassine Jul 2, 2023
a8ff209
CI: run maven in batch mode
murdos Jun 30, 2023
4bd4d20
Add missing license headers
fmbenhassine Jul 2, 2023
1912e10
Fix assertion on randomizerProvider
fmbenhassine Jul 2, 2023
f0b8851
Fix randomizerProvider initialization
fmbenhassine Jul 11, 2023
9299807
Make BeanValidationAnnotationHandler public
shalak May 5, 2023
5e8366d
Add missing assertion in BeanValidationTest
fmbenhassine Jul 15, 2023
8743c55
Replace dependency 'Java Faker' with 'Data Faker'
lewocki Jan 28, 2023
5124167
Fix constructor parameters in BigDecimalRangeRandomizer
lexakimov Dec 8, 2022
7a5cd4a
Fix for LocalDate.MIN and LocalDate.MAX range value exceptions #483
OguzhanKazak Nov 27, 2022
a1d6087
refactor: ensure EnumRandomizer can be used deterministically
npepinpe Mar 2, 2022
01f7a44
Fix tests
fmbenhassine Sep 2, 2023
cc4c7ce
Remove bean validation module
fmbenhassine Sep 2, 2023
504f440
Remove usage of classgraph utils in tests
fmbenhassine Sep 2, 2023
83ecacd
Merge easy-random-randomizers in the core module
fmbenhassine Sep 2, 2023
dfc5c2e
Rename easy-random-core module to easy-random
fmbenhassine Sep 3, 2023
365a83d
Add CharSequenceRandomizer
fmbenhassine Sep 3, 2023
6838395
Use getter if available when retrieving field value
fmbenhassine Sep 9, 2023
51150d4
Add warning for skipped fields
astubbs Nov 7, 2021
95db1ef
Update Maven dependencies and stabilize seeded tests
fmbenhassine Apr 6, 2026
6f5b1e4
Update GitHub Actions workflow versions
fmbenhassine Apr 6, 2026
75fddb4
Fix JDK-specific getDeclaredFields behavior
fmbenhassine Apr 9, 2026
68720f3
Fix generation of random records with record component type
fmbenhassine Apr 10, 2026
507d797
Update README.md
fmbenhassine Apr 25, 2026
f132544
Add ability to order user defined randomizers through custom registries
fmbenhassine Apr 25, 2026
a06202d
Fix generic type resolution across intermediate types
fmbenhassine Apr 25, 2026
8143c29
Fix generic resolution for nested inherited fields
fmbenhassine Apr 25, 2026
279aa22
Prevent empty EnumSet generation
fmbenhassine Apr 25, 2026
7208d80
Fix inclusive upper bounds for time randomizers
fmbenhassine Apr 25, 2026
7b6de84
Upgrade JUnit to 6.1.0
fmbenhassine May 28, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
11 changes: 6 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@v1
uses: actions/checkout@v6.0.2
with:
ref: master
- name: Set up JDK 11
uses: actions/setup-java@v1
- name: Set up JDK 17
uses: actions/setup-java@v5.2.0
with:
java-version: 11
distribution: 'temurin'
java-version: '17'
- name: Build with Maven
run: mvn clean package
run: mvn clean package --batch-mode
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License

Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com)
Copyright (c) 2023, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,13 @@

<div align="center">
<b><em>Easy Random</em></b><br>
The simple, stupid random Java&trade; beans generator
The simple, stupid random Java&trade; objects generator
</div>

<div align="center">

[![MIT license](http://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat)](http://opensource.org/licenses/MIT)
[![Build Status](https://github.com/j-easy/easy-random/workflows/Java%20CI/badge.svg)](https://github.com/j-easy/easy-random/actions)
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/org.jeasy/easy-random-core/badge.svg?style=flat)](https://repo1.maven.org/maven2/org/jeasy/easy-random-core/5.0.0/)
[![Javadocs](http://www.javadoc.io/badge/org.jeasy/easy-random-core.svg)](http://www.javadoc.io/doc/org.jeasy/easy-random-core)
[![Project status](https://img.shields.io/badge/Project%20status-Maintenance-orange.svg)](https://img.shields.io/badge/Project%20status-Maintenance-orange.svg)

</div>
Expand All @@ -31,7 +29,7 @@ for now. Please consider upgrading to one of these versions at your earliest con

# What is Easy Random ?

Easy Random is a library that generates random Java beans. You can think of it as an [ObjectMother](https://martinfowler.com/bliki/ObjectMother.html) for the JVM. Let's say you have a class `Person` and you want to generate a random instance of it, here we go:
Easy Random is a library that generates random Java objects. You can think of it as an [ObjectMother](https://martinfowler.com/bliki/ObjectMother.html) for the JVM. Let's say you have a class `Person` and you want to generate a random instance of it, here we go:

```java
EasyRandom easyRandom = new EasyRandom();
Expand Down Expand Up @@ -108,7 +106,7 @@ Address address = new Address(street, "123456", "London", "United Kingdom");
Person person = new Person("Foo", "Bar", "foo.bar@gmail.com", Gender.MALE, address);
```

And if these classes do not provide constructors with parameters (may be some legacy beans you can't change), you would write:
And if these classes do not provide constructors with parameters (may be some legacy types you can't change), you would write:

```java
Street street = new Street();
Expand Down
82 changes: 0 additions & 82 deletions easy-random-bean-validation/pom.xml

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading