Monthly Archives: February 2015

Reliable database tests with Respawn

Creating reliable tests that exercise the database can be a tricky beast to tame. There are many different sub-par strategies for doing so, and most of the documented methods talk about resetting the database at teardown, either using rolled back … Continue reading 

Posted in Testing | 25 Comments

Clean Tests: Isolating Internal State

Other posts in this series: A Primer Building Test Types Isolating Internal State Isolating the Database Isolation with Fakes Database Persistence One of the more difficult problems with slow tests that touch shared resources is building a clean starting point. … Continue reading 

Posted in Fixie, Testing | 13 Comments

Cross-Platform AutoMapper (again)

Building cross-platform support for AutoMapper has taken some…interesting twists and turns. First, I supported AutoMapper in Silverlight 3.0 five (!) years ago. I did this with compiler directives. Next, I got tired of compiler directives, tired of Silverlight, and went … Continue reading 

Posted in AutoMapper | 4 Comments

Clean Tests: Building Test Types

Posts in this series: A Primer Building Test Types Isolating Internal State Isolating the Database Isolation with Fakes Database Persistence In the primer, I described two types of tests I generally run into in my systems: Arrange/act/assert fully encapsulated in … Continue reading 

Posted in Testing | 12 Comments

AutoMapper support for ASP.NET 5.0 and ASP.NET Core 5.0

In the vein of “supporting all the frameworks”, I’ve extended AutoMapper to support ASP.NET 5.0 and CoreCLR (aspnetcore50). For those that are counting, I’m up to 11-12 different platforms supported, depending on how you tally: aspnet50 aspnetcore50 MonoAndroid MonoTouch net40 … Continue reading 

Posted in ASPdotNET, AutoMapper | 7 Comments