Blog Posts for: Nbuilder

Unit Testing with NBuilder and NSubstitute using either a FakeDBSet or a mock DbSet
11 August 2015

I extend the example from the previous blog post to demonstrate how you can unit test by mocking DbSet instead of using a fake DbSet.

Unit Testing with FakeDBSet and NBuilder
04 August 2015

I show how I unit test queries against my DbContext using a Fake DBSet and NBuilder.

Create test data with NBuilder and Faker
07 July 2015

Shows how you can easily create test data with NBuilder and Faker as part of your Seed data generation process for Entity Framework.