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 t开发者_运维知识库han Rails’ fixtures." Does there exist something like FactoryGirl/machinist in .Net/c# for test data ?
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.
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.
精彩评论