instancio/instancio
A library that creates fully populated objects for your unit tests. observed · 2026-09-01
Health v2 · maintenance only
95/100
- Activity 100
- Release rhythm 87
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 38.5
- age_days: 1644
- days_rel: 4
- days_push: 2
- n_releases_24m: 15
Adoption not part of the score
1159 stars · 68 forks observed · 2026-09-01
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Instancio is a Java library that automatically creates fully-populated objects with random data for unit tests, including nested objects, collections, and generic types. It offers selective field overrides, reusable templates, reproducible seeds, and integrations with JUnit, Kotlin, Guava, and Protobuf.
Use cases
- generate test data for java unit tests
- populate nested objects automatically in tests
- create random test fixtures with junit
- reduce boilerplate test setup code
- generate reproducible random test data with seeds
- create lists of test objects in java
- generate test data from csv files
When to choose
- you write Java or Kotlin unit tests and want to eliminate manual test data setup
- you need fully-populated object graphs including nested objects, collections, and generics
- you want randomized inputs with reproducible seeds for debugging failures
- you use JUnit and want parameter-free tests with dynamic data
When to avoid
- you need realistic domain-specific data like valid addresses or names as the primary goal
- you work outside the JVM ecosystem
- your tests require exact, deterministic values for every field
Facets
library · maturity active
testing data-generation mocking testing developer-tools jvm test-data-generator junit unit-testing object-population random-data kotlin protobuf java
4 sources
- readme: https://github.com/instancio/instancio · fetched 2026-09-01 · 108566084a79
- homepage: https://www.instancio.org · fetched 2026-08-29 · abe182b4c06b
- site_page: https://www.instancio.org/getting-started · fetched 2026-08-29 · 7aebd61a5a2a
- site_page: https://www.instancio.org/user-guide · fetched 2026-08-29 · 909cae3ce202
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| instancio/instancio | main | 95 |
For agents
markdown · JSON · MCP: product_card(name="instancio/instancio")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem