Unit Testing the IIS URL Rewrite Module
Ever wanted to unit test your url rewrite configuration before adding it in production? Here's how to get it done with .net 6.…
Ever wanted to unit test your url rewrite configuration before adding it in production? Here's how to get it done with .net 6.…
When integrating with APIs all over the internet, it's nice to be able to run tests fast without actually calling the third parties. Here's a bunch of tricks I employ to stub at the very frontier of my network communication.…
ApprovalTests is great when popping diffs in Visual Studio. But can it also be used in CI environments and other non-dev cases? Sure. Here's how.…
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.…
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.…
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.…
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.…
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.…