NBuilder website launched - Rapid generation of test objects for .NET(nbuilder.org)
submitted by
garethdown44(45) 2 years, 11 months ago
NBuilder now has a website which will serve as the home for all its documentation.
http://nbuilder.org
About NBuilder -
Through a fluent, extensible interface, NBuilder allows you to rapidly create test data, automatically assigning values to properties and public fields that are of type of the built in .NET data types (e.g. ints and strings). NBuilder allows you to override for properties you are interested in using lambda expressions.
Example usage:
Builder<Product>
.CreateListOfSize(10)
.WhereTheFirst(2)
.Have(x => x.Title = "special title")
.And(x => x.Price = 15.24m)
.Build();
NBuilder is an open source project, hosted on google code.
|category: Unit Testing
|Views: 15
tags:
Testing another
Everyones tags:
Your Tags: