Wrote a Blog Post
Pair programming

Are Your Unit Tests Failing for the Expected Reasons?


I wrote this blog post on Unit Tests Failing for Unexpected Reasons after helping a coworker debug some failing unit tests, and at first glance - a few red herrings got in the way, as the unit tests were failing - but not for the reasons that we were testing.

This inspired me to dig into the problem a little bit deeper and discuss the importance of ensuring that your unit tests are passing or failing for the reasons that you expect.