Several data generators exist if you want to populate objects with a semantic that is more evolved than a plain random string like
Even more advanced, the following generators allow to directly bind generic data on a model. However, data quality is not always optimal:
There are two main kinds of implementation:
Implementations using a pattern and random generated data.
Implementations using a set of precomputed data extrapolated to create new values.
Check your use case to know which one fits best.
|An alternative to data generation can be to import real data and use Talend Studio to sanitize the data, by removing sensitive information and replacing it with generated or anonymized data. Then you just need to inject that file into the system.
If you are using JUnit 5, you can have a look at glytching.github.io/junit-extensions/randomBeans.