NBuilder - fluent, rapid generation of test objects(code.google.com)
submitted by
garethdown44(45) 2 years, 8 months ago
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 (int, string etc). NBuilder allows you to override for properties you are interested in using lambda expressions.
Builder<Product>.CreateListOfSize(10)
.WhereRandom(5)
.Have(x => x.Price = 12.51m)
.Persist();
|category: Unit Testing
|Views: 21
tags:
Testing another
Everyones tags:
Your Tags: