Skip to content

Instantly share code, notes, and snippets.

View dotnetchris's full-sized avatar

Chris Marisic dotnetchris

View GitHub Profile
@dotnetchris
dotnetchris / gist:1473259
Created December 13, 2011 18:36
Using Machine.Fakes to share testing configuration through composition
[Subject(typeof(ThingOrchestrator))]
public class Given_i_am_a_logged_user_and_view_things : WithSubject<ThingOrchestrator>
{
private static readonly List<People> PeopleRepository = new List<People> {.....};
private static readonly List<Thing> ThingsRepository = new List<Thing> { ...... };
private static readonly List<Thing> ResultThings = new List<Thing>();
private static readonly List<Exception> Exceptions = new List<Exception>();