Tag: MINITEST 3 results found

  • TDD: Mocks and Messages

    Learn about Mocks and how they are similar to a phone tap -- we use TDD with MiniTest mocks to build a design for communication between an engineer and a conductor on a train. We then show RSpec mocks, and how to use RSpec mocks in a MiniTest. ...

  • Testing 3 Ways (RSpec, MiniTest, Test::Unit)

    This week is a short video -- about 30 minutes long … if you've ever wondered the difference between TestUnit, MiniTest, and RSpec --- watch this week's videos!

  • Introduction to Test Driven Design (TDD)

    Create a Miles to Kilometers calculator using test driven design (TDD). First, we use the RSpec syntax and cover both .should and expect().to syntaxes. Then, we show the same process in MiniTest, and discover the two frameworks are not so diffe...


Ruby Off Rails is dedicated to accelerating the mastering of Ruby and increasing developer happiness everywhere.

In my software training, I see two distinct sets of programmers: those who know Ruby, and those who haven’t learned it yet. People who learn Ruby have an easier time understanding Rails, gems, and what magic voodoo is going on. And most importantly, they can cast wicked voodoo themselves.