CheckOps
Easy Random
Easy Random is an MIT-licensed Java library that generates random Java beans and records for tests; it has been in maintenance mode since 2020 but released v6 with record support in 2026.
Latest public signals
Not refreshed yet. Refresh reads the public site and, when the entry has a GitHub repository, the latest release.
Introduction
Easy Random is ‘the simple, stupid random Java beans/records generator’. It creates random instances of Java objects, populating fields recursively, so tests do not need hand-written setup.
The README states that as of 15 November 2020 the project is in maintenance mode, meaning only bug fixes are addressed. Even so, v6.0.0 in June 2026 moved to Java 17 and added support for generating random Java records, and v6.0.1 followed in August 2026 with fixes.
Parameters control string lengths, collection sizes, date ranges, seeds and exclusions, and custom randomisers handle specific fields.
In the quality loop it supports Java unit tests.
The source code is at j-easy/easy-random on GitHub under the MIT licence, with about 1,700 stars; the most recent commit was on 25 August 2026.
Features
- Random objects: Recursive population.
- Records: Supported since v6.
- Parameters: Seeds, ranges and sizes.
- Custom randomisers: Per-field control.
- Exclusions: Skip fields.
Pros
- Simple: Minimal API.
- Free to use: Open source under the MIT licence, so the core tool costs nothing to use.
- Actively maintained: The repository had commits as recent as 25 August 2026.
Cons
- Maintenance mode: Bug fixes only; consider Instancio for new work.
Usage and Links (Example)
EasyRandom generator = new EasyRandom();
Person person = generator.nextObject(Person.class);
Resources:
Pricing
Easy Random is free and open source under the MIT licence.
Recommended for?
- Existing users on Java 17+.
- Not a fit for new projects wanting active feature development.
Conclusion
Easy Random still works, but its maintenance-mode status makes Instancio the safer choice for new projects.
On CheckOps, Easy Random is filed under the Unit testing stage. Related tools listed here include Instancio, Datafaker, AutoFixture, JUnit 5, Bogus and Hypothesis. Before choosing, compare them on licence, supported languages and platforms, hosting model, and how well each fits your existing CI pipeline. Facts on this page were checked against the official website, documentation and repository on 11 November 2026; statements the vendor makes about its own product are marked as vendor claims.
Alternatives
Other tools on CheckOps that cover similar ground. Open a page, or compare one with Easy Random side by side.
IInstancioInstancio is an Apache-2.0 Java library that automatically creates and populates objects, including nested objects and collections, for unit tests, with a fluent API to customise values.Compare with Easy Random
DDatafakerDatafaker is an Apache-2.0 fake data library for the JVM (Java, Kotlin, Groovy), a modern fork of Java Faker with updated dependencies, many more providers and schema-based generation to CSV, JSON, SQL and more.Compare with Easy Random
AAutoFixtureAutoFixture is an MIT-licensed .NET library that minimises the Arrange phase of unit tests by automatically creating anonymous test data and object graphs, with integrations for xUnit, NUnit and mocking libraries.Compare with Easy Random
JJUnit 5JUnit 5 is the current JUnit for Java and the JVM: Jupiter for new tests, Platform to launch them, Vintage to run JUnit 4.Compare with Easy Random
BBogusBogus is an MIT-licensed fake data generator for .NET (C#, F# and VB.NET), a port of faker.js with a fluent API for building realistic objects for tests and seed data.Compare with Easy Random
HHypothesisHypothesis is the MPL-2.0 property-based testing library for Python: describe the range of inputs, let it generate cases including edge cases, and get the simplest failing example when a property breaks.Compare with Easy Random