Hostinicon
GET HOSTING FROM $3.95/MO PLUS A FREE YEAR ON TUTS+ (RRP $180). HURRY OFFER LIMITED. Check it out
Advertisement

How to Integrate rspec into a Sinatra App

by
Gift

Get a free year on Tuts+ this month when you purchase a Siteground hosting plan from $3.95/mo

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
Advertisement