Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 1.24 KB

README.md

File metadata and controls

35 lines (22 loc) · 1.24 KB

What is jPopulator ?

jPopulator is a java library that allows you to populate java beans with random data.

Populating a deep type hierarchy by hand is a tedious task and the goal of jPopulator is to make this task hassle-free.

Let's see an example, suppose you have the following classes:

If you want to populate a Person bean with jPopulator, you write this:

Populator populator = new PopulatorBuilder().build();
Person person = populator.populateBean(Person.class);

And voila! jPopulator will introspect the Person type hierarchy, generate an instance for each nested bean and populate it with random data.

Documentation

jPopulator documentation can be found here : https://github.com/benas/jPopulator/wiki

Awesome contributors

Thank you all for your contributions!

License

jPopulator is released under the MIT License.