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

Potential freeze with Umbraco and SignalR

I hit a small glitch when running Umbraco 7.7 with the new SignalR dependency. It's only there if you have some old stuff. Delete a registry key, and you're off.…

Read this article

Copying Umbraco datatype settings (prevalues).

Here's a quick tip on how to copy data type settings in Umbraco…

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

Rather Package Manager Console than Print?

I don't know about you, but I printed my last sheet of code sometime during the mid-nineties. Yet when you press Ctrl+P in Visual Studio, guess what happens? You may print your code! Here's how to make it pop the Package Manager Console instead.…

Read this article

How to kill Umbraco with UrlRewrite.Net

We've all got requirements to add the other 301 or rather lot of them. Stay alert though, you might choke on it all. Here's a case of the latter.…

Read this article