Advertisement

How to Integrate rspec into a Sinatra App

by
Student iconAre you a student? Get a yearly Tuts+ subscription for $45 →

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.

Choose 720p for optimal viewing.
Subscribe to our YouTube and Blip.tv channels to watch more screencasts.

We'll Cover...

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