Rapid Generation of test objects

I came across a very easy to use and useful generation tool for objects today, 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.

If you understand Lambda then you’re going to be able to build test data for your objects.

All you need to do is reference FizzWare.NBuilder.dll in to your test project and you are off.

FizzWare.NBuilder-2.1.9-beta.zip (32.47 kb)