Tear down your ASP.NET Core api between integration tests

June 21, 2017 · c# integration-testing testing couchbase

The way to write integration tests for ASP.NET applications has been made much easier with the advent of ASP.NET Core. This is mainly due to the programming model becoming super modular, which means that it is really easy »

Stubbing service dependencies in .NET using Stubbery

June 12, 2016 · .net .net-core testing integration-testing

Introduction When writing integration tests for a service (especially if we are running a long, end-to-end test), it often causes a problem that the external dependencies of our service fail. Let's say we have a service handling customer payments and »