How to Integrate rspec into a Sinatra App


This Cyber Monday Envato Tuts+ courses will be reduced to just $3. Don't miss out.

In today's video tutorial, I'm going to teach you how to use rspec within a Sinatra application. Along the way, we'll also arrange for autotesting with Growl notifications so that our tests run automatically when we save our projects. If you're quite new to the idea of testing, this is the perfect introduction.

We'll Cover...

  • Installing rspec
  • Integrating rspec into a Sinatra application
  • The basic syntax for rspec tests
  • Enabling Growl notifications
  • Autotesting