Testing Containers with Container Structure Test

It is no secret that when we are writing software, tests are a critical component to ensure the code actually does what we say it does. It is so critical that most languages come with testing frameworks. JavaScript has testing frameworks such as mocha and jasmine. Go ships with its…

Read this article

Code Coverage is Useless

Not too long ago there were talks around the office regarding a new testing initiative. Now, by itself, this is fantastic news. Who wouldn't want to actually spend some time and get our testing story up to par?The problem lies within the approach that was proposed, going so far…

Read this article

A Best Practices Guide for Unit Testing

As more and more developers embrace the joys of unit testing, I'm starting to see a lot more tests in code reviews, which is great to see! I am, however, seeing a lot of the same mistakes pop up.To help with this, I wanted to use this blog post…

Read this article

Fakes, Mocks, Stubs, and Spies.. Oh My..

As I do more and more work with the exercism.io community, I've noticed a reoccurring theme. There seems to be a lot of confusion around the various types of "test doubles" and what each of them actually do.Now, if you've had some exposure to test driven development already,…

Read this article

The Transformation Priority Premise

Recently I stumbled across a test driven development article that mentioned something I had not heard before. It's a premise that Uncle Bob came up with as a means to order the priority of the transformations you should apply when practicing test driven development. He called it the Transformation Priority…

Read this article