What is Instancio?
Instancio is a Java library that simplifies test data generation with a fluent API, allowing for automatic creation of objects with random values.
The goal of Instancio is to reduce the time and lines of code spent on manual data setup in unit tests, and potentially to uncover bugs that may have gone unnoticed with static test data.
How does it work?
Instancio uses reflection to populate objects, including nested objects and collections. A single method call provides you with a fully populated instance of a class, ready to be used as an input to your test case.