Package com.natpryce.makeiteasy

A tiny framework to make it easy to write Test Data Builders in Java.

See:
          Description

Interface Summary
Donor<T> Provides a value or values to other things.
Instantiator<T> Instantiates an object, with an initial state specified by some given property values or defaults defined by the implementer of this interface.
PropertyLookup<T> Looks up property values.
 

Class Summary
MakeItEasy Syntactic sugar for using Make It Easy test-data builders.
Maker<T> Makes objects of a given type with a specified initial state.
NewCollectionDonor<T extends Collection<E>,E>  
Property<T,V> An opaque "handle" that represents a property of of some type of object.
PropertyValue<T,V> The value of a property.
SameValueDonor<T> Always gives the sale value.
SequenceDonor<T>  
 

Package com.natpryce.makeiteasy Description

A tiny framework to make it easy to write Test Data Builders in Java.

Test Data Builders are described in the book Growing Object-Oriented Software, Guided by Tests by Steve Freeman and Nat Pryce. This library lets you write Test Data Builders with much less duplication and boilerplate code than the approach described in the book.



Copyright © 2010. All Rights Reserved.