The real difference between NUnit and XUnit

I’ve just started yet another pet project and wanted to pick a unit testing framework (.NET). On a soon-to-regret whim I’m tried googling “NUnit vs. XUnit” and read the first 10 posts I got. They were informative and mostly correct, unfortunately all completely missed the one big difference between those two excellent unit testing frameworks… … Continue reading The real difference between NUnit and XUnit

Comparing Two objects using Assert.AreEqual()

Anyone who ever googled (binged?) about unit testing have heard about the “one assert per test rule”. The idea is that every unit test should have only one reason to fail. It’s a good rule that help me write good, robust unit test – but like all such rules-of-the-thumb it’s not always right (just most … Continue reading Comparing Two objects using Assert.AreEqual()

VS2015 Update 1 brings (back) parallel test execution

Yesterday I’ve installed the new VS2015 update and tried to make my machine talk to my win10 (IoT core) Raspberry PI. It didn’t help but that’s a story for another blog post – spoiler: it was a problem with my laptops Ethernet port.After the dust settled I’ve started reading about the new goodness that was … Continue reading VS2015 Update 1 brings (back) parallel test execution

When Mockito’s InjectMocks does not inject mocks

Looking back at the time wasted yesterday while trying to make a trivial functionality work makes me wonder if it was a good idea to begin with… It all started  (and ended) yesterday while I was mentoring a team on the fine art of Java unit testing. We’ve decided to use Mockito’s InjectMocks due to … Continue reading When Mockito’s InjectMocks does not inject mocks

Upcoming speaking engagements – AgileTD, DevMotion & NDC London

I’m going to have a good time in the next couple of months – I have several interesting speaking opportunities right around the corner:In less than two days I’ll be traveling to Germany to attend AgileTD. This is my first time at that AgileTD but from what I hear it’s an amazing conference. This year … Continue reading Upcoming speaking engagements – AgileTD, DevMotion & NDC London

Upcoming speaking engagements – User groups, meetups & AgileTD

It’s been a while since my last local appearance – too long in my opinion. Luckily I have a chance to remedy that:August 19th: I’ll be speaking at the IL .NET Developers user group (IDNDUG) about Navigating the TDD alphabet soup. I’ll be speaking about TDD/BDD/ATDD, their origins, how (and when) to use them and … Continue reading Upcoming speaking engagements – User groups, meetups & AgileTD