Skip to content

Instantly share code, notes, and snippets.

@ThomasArdal
Created July 26, 2012 18:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ThomasArdal/3183580 to your computer and use it in GitHub Desktop.
Save ThomasArdal/3183580 to your computer and use it in GitHub Desktop.
A bit more advanced AutoFixture usage
var fixture = new Fixture();
var model =
fixture
.Build<MyModel>()
.Without(x => x.Id)
.CreateAnonymous();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment