# j-easy/easy-random

The simple, stupid random Java beans/records generator

Repository: https://github.com/j-easy/easy-random
Canonical: https://ross.abutalabs.com/products/easy-random
Homepage: https://github.com/j-easy/easy-random/wiki
Language: Java
License: MIT
License Family: permissive
Topics: java, random, random-generation, random-number-generators, random-data-generation
Last push: 2026-08-25T22:13:44+00:00

## Health v2 (maintenance only)
Score: 95/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 87, longevity 100
- inputs: {"age_days": 4855, "days_push": 8, "days_rel": 8, "gap_med": 85, "n_releases_24m": 2}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1652, forks 234 (observed 2026-08-28T04:05:17.055401+00:00)

## What it is
Easy Random is a Java library that generates random instances of arbitrary Java beans and records via an EasyRandom API extending java.util.Random. It is configurable through EasyRandomParameters controlling seeds, ranges, collection sizes, and randomization depth.

## Use cases
- generate random test fixtures for java classes
- create random instances of domain objects for unit tests
- populate java beans with random data
- generate random java records for property-based testing
- seed deterministic random object generation in tests
- replace manual object mother/test data builder boilerplate

## When to choose
- you need quick random instances of Java POJOs or records for testing
- you want configurable, deterministic random data generation with seeds
- you want a lightweight, dependency-free ObjectMother alternative on the JVM

## When to avoid
- the project is in maintenance mode with only bug fixes, so prefer actively developed alternatives for new projects
- you need realistic, semantically valid data (names, emails) rather than arbitrary random values
- you are not on the JVM or need Java 17+ features on older runtimes

## Facets
- artifact type: library
- maturity: maintenance
- function: data-generation, testing, developer-tools
- domain: developer-tools, testing
- platform: jvm
- tags: random-data, test-data, java-beans, java-records, object-mother, fixture-generation, automation

## Member repositories
- j-easy/easy-random (main) score 95

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:17.055401+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:45:00.255316+00:00, confidence not recorded.
  - readme: https://github.com/j-easy/easy-random (fetched 2026-08-28T04:05:17.055401+00:00, sha 9a411ab15adc)
  - homepage: https://github.com/j-easy/easy-random/wiki (fetched 2026-08-29T11:17:58.421448+00:00, sha 405984c1d137)
- Data as of 2026-08-30T08:39:29.467469+00:00.
