Skip to content

dziga/jPopulator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Populate your java beans with random data

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%