A Tale of Two Testing Frameworks

September 2015 at Jozi Ruby, Johannesburg, South Africa

Abstract

There are two main testing frameworks for Ruby code: RSpec and Minitest. I learnt testing coming to Ruby using RSpec as many of our companies Rails app used it. As I gained more experience, I begun to wonder why. I started to feel subtle pains of maintaining a large RSpec codebase. On my latest project I gave minitest a go, and this is what I learnt…

There’s no true winner. I prefer the simplicity of Minitest, but because RSpec is so popular, you need to know both frameworks as a professional Rubyist.

View Slideshow, and get the code

Cover slide

Presentation cover slide

Grid of presentation slide thumbnails

Grid of slide thumbnails

Questions? I’d be humbled and happy to help.