1. Code
  2. Ruby

How to Integrate rspec into a Sinatra App

Read Time:1 minLanguages:

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
Looking for something to help kick start your next project?
Envato Market has a range of items for sale to help get you started.