Episode #607
Code Coverage with SimpleCov

There are lots of reasons to write automated tests for code. One of those reasons is to make sure that we don’t accidentally break working code with our refactorings. But how do we know if the tests are sufficient to detect breakage?

Today, guest chef Ernesto Tagwerker is here to introduce us to the fundamental metric for tests: code coverage. He’ll demo the SimpleCov gem, and show you how you can use it to ensure your tests don’t have blind spots. Enjoy!

Members only

Log in below or get 48-hour access for $5.

Need more time? See all available plans.