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 ?
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With