Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

FactoryGirl/machinist equivalent in c#/.Net

Rails has very nice way to generate test data with factoryGirl/Machinist +Shoulda . from factorygirl site "Factory Girl provides a framework and DSL for defining and using factories to create data records for ruby test suites. The goal is to be less error-prone, more explicit, and all-around easier to work with than Rails’ fixtures." Does there exist something like FactoryGirl/machinist in .Net/c# for test data ?

like image 847
Tinku Avatar asked Nov 11 '09 05:11

Tinku


2 Answers

This is a shameless plug of my own project, but also a valid answer. I just released Plant which tries hard to be a factory_girl for .NET.

like image 152
James Avatar answered Oct 02 '22 13:10

James


I may be late to the party but you may want to look into the über simple and clean FactoryGirl.Net by James Kovak. It may not cover all the factory_girl features but you may want to pitch in if you're interested enough.

like image 34
samy Avatar answered Oct 02 '22 13:10

samy