Skip to main content

Simple Testing in Ruby Using Minitest

By DAZ

Ruby

Share:

Free JavaScript Book!

Write powerful, clean and maintainable JavaScript.

RRP $11.95

Writing tests for your app is kind of like ensuring that your car brakes will still work, even if you accidentally change the language of your sat-nav to German. Really, it’s about avoiding nasty surprises. Today, I’m going to show you how to write tests in Ruby using MiniTest. Enjoy!

Darren has enjoyed coding since learning how to program in BASIC on his first Acorn Electron computer. Since then, he’s taught himself Ruby and Javascript. He is the author of Learn to Code using JavaScript, JavaScript: Novice to Ninja and Jump Start Sinatra. He also produced the 'Getting Started With Ruby' video tutorials for SitePoint Premium and has written a number of articles on the SitePoint website. He was born in the city of Manchester in the UK, where he still lives and teaches Mathematics and Computing at a local high school. You can find him on Twitter @daz4126.

New books out now!

Get practical advice to start your career in programming!


Master complex transitions, transformations and animations in CSS!

Latest Remote Jobs