JamesKovacs / FactoryGirl.NET

A .NET implementation of Thoughtbot's factory_girl for Ruby
MIT License
55 stars 20 forks source link

Add Named Factories to FactoryGirl.Net #7

Closed CalvinRodo closed 11 years ago

CalvinRodo commented 11 years ago

Unnamed Factories are still available the only difference is the key is a string instead of the type of the object the factory builds

The named factories are built from the type of the object as well as from the Generic Arguments and a key. This is different from @rbuskov 's implementation as defining List and List would throw a duplicate factory exception.

.

CalvinRodo commented 11 years ago

I'm going to open a pull request from a different branch