Umbraco Unit Testing Workshop Material

I've got a unit testing workshop for Umbraco I'm running at conferences. Feel free to go at it alone, and come to a workshop if you need help.…

Read this article

Exploiting ApprovalTests for clearer tests

Ever written several asserts in one test because you have a big graph you want to verify? Here's how to never do that again.…

Read this article

UmbracoSupport got typed content

Been unit testing Umbraco and suffer from stubbing hell, weird errors or just not the content types you want? Here's how to get the whole content engine running in your tests.…

Read this article

Testing views with RazorGenerator

Want to add your ASP.NET views to the system under test? Here's a hidden gem that let's you do that in a jiffy.…

Read this article

Generating documentation from NUnit tests

There's a lot of benefits with unit testing. One of the less exploited ones would be documentation. In this post I share a couple of tricks with NUnit to make it feasible.…

Read this article

Automating creation of source data for tests

Use a lot of test-data when writing tests? Here's a quick way of preparing the infrastructure for file-based data.…

Read this article

The basics of unit testing Umbraco just got simpler

Testing Umbraco has gotten even simpler in 2017. Here's what you need to get tucked in and don't think about it.…

Read this article

The basics of unit testing Umbraco

Unit testing Umbraco may be a daunting task. Here's a shortcut to get started and focus on what matters: your logic.…

Read this article

Slides from CG16 and testing IPublishedContent properties

Stubbing properties on an IPublishedContent is rather useful when you just need a test for any content. Here's how you do it. Slides from CG16 also available from here.…

Read this article