.net - Generating fake instances at runtime -


i'm looking utility class generate fake entity instances @ runtime. i'm implementing asp.net mvc3 website using ef4 code-first approach, i'd run site before creating database. fake instances should contain valid data (hopefully reflecting various dataannotation attributes used in each class definition).

are looking framework fakeiteasy?

description taken website:

a .net dynamic fake framework creating types of fake objects, mocks, stubs etc.    * easier semantics, fake objects     - fakes - use of fakes     determines whether they're mocks or stubs.   * context aware fluent interface guides developer.   * full vb.net support.   designed ease of use , compatibility both c# , vb.net.  

Comments

Popular posts from this blog

ruby - When to use an ORM (Sequel, Datamapper, AR, etc.) vs. pure SQL for querying -

php - PHPDoc: @return void necessary? -

c++ - Convert big endian to little endian when reading from a binary file -