Skip to content

Latest commit

 

History

39 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fabrication The build status of this project

A Java testing library that helps fabricate classes with test data.

Given the following class:

public class TestObject
{
	private String name;
	private int age;

	// Getters and setters...
}

You can quickly and easily create in instance to test with by using the Fabricator:

TestObject result = new Fabricator<TestObject>()
				        .createNew(TestObject.class)
				        .with(x -> x.setName("Tom"))
				        .fabricate();

This will create a test object with the name set as "Tom" and the age set as 0

About

A Java testing library that helps fabricate classes with test data.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages