Clean Tests: Isolating the Database

Other posts in this series: A Primer Building Test Types Isolating Internal State Isolating the Database Isolating the database can be pretty difficult to do, but I’ve settled on a general approach that allows me to ensure my tests are … Continue reading 

Posted in Testing | 4 Comments

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 | 21 Comments

The dangerous SourceTree setting

The messy one, at any rate. Looking at a team’s git repository, I see the following evidence of somebody having a bad day: Those are three commits, in rapid succession, from the same developer, trying to mash files into a … Continue reading 

Posted in Uncategorized | Tagged , | 8 Comments

Clean Tests: Isolating Internal State

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

Posted in Fixie, Testing | 3 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 | 3 Comments

Clean Tests: Building Test Types

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

Posted in Uncategorized | 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 ASP.NET, AutoMapper | 5 Comments

Starting a new adventure

Looking back I’ve been working as an architect and chief architect for TOPAZ Technologies LLC more than 6 years. It has been an exciting time and I have learned a lot. In 2009 I inherited an enterprise application that, let’s … Continue reading 

Posted in hiring, job, learning, personal | 3 Comments

AutoMapper support for Xamarin Unified (64 bit)

I pushed out a prerelease package of AutoMapper for Xamarin Unified, including 64-bit support for iOS. http://www.nuget.org/packages/AutoMapper/ If you’ve had issues with Xamarin on 64-bit iOS, removing an adding the AutoMapper NuGet package reference should do the trick. And yes, … Continue reading 

Posted in AutoMapper | 2 Comments

Clean Tests: A Primer

Posts in this series: A Primer Building Test Types Isolating Internal State Isolating the Database Over the course of my career, I’ve an opportunity to work with a number of long lived codebases. Ones that I’ve been a part of … Continue reading 

Posted in Testing | 10 Comments