Kevin Rich
Unit Testing: Activate Easy Mode
The Four Horsemen: AutoMock, AutoFixture, Shouldly, and xUnit
Introduction
Yesterday, after presenting to the Willamette Valley Software Engineering meetup about Dependency Injection, an engineer by the name of Josh and I got to talking. After making an offhand comment about a testing framework combination I'd used, he got really excited. I figured I'd use this as an excuse to do a . . .
Posted in: asp.netautofixtureautomoqboilerplatedebuggingdependency-injectionfluent assertionsmoqshouldlytddtest-driven-developmenttestingxunit
Entity Framework SQL Debugging
Using Lambdas to Log Generated SQL
Scenario
My boss is a SQL guy, a DBO by trade. Every now and again, he wan't to know what SQL my application is running against the database.
I am not a SQL guy. I've been using EntityFramework and lambdas from nearly the beginning of my .NET adventures. I can read and write SQL...
Solution
. . .Posted in: asp.netdebuggingentity-frameworklambdasql
Autofac registering a dependency for non-existent library
A case in which the problem wasn't in the code
Problem
Last week, our team ran into an issue which was, individually, leaving us scratching our heads. In the end, the entire process boiled down to one hidden checkbox.
We were receiving the following exception:
None of the constructors found with . . .
Posted in: autofacdebuggingdependency-injectionpublish
Cover image credit: http://whoiskevinrich.com