RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: test xFree Episodes xPlugins x
Testing Time & Web Requests
Episode #276Jul 25, 201150 comments

Testing Time & Web Requests

It can be difficult to test code that deals with the current time or an external web request. Here I show you how to do both using the Timecop and FakeWeb gems. (8 minutes)
Testing JavaScript with Jasmine
Episode #261Apr 11, 201144 comments

Testing JavaScript with Jasmine

Are you testing your JavaScript? Learn how to add specs using Jasmine. This episode also covers jQuery integration with jasmine-jquery. (15 minutes)
A/B Testing with A/Bingo
Episode #214May 17, 201052 comments

A/B Testing with A/Bingo

A/B Testing (or Split Testing) is a way to experiment with variations in an application to see the most effective option. (11 minutes)
Spork
Episode #285Sep 26, 201176 comments

Spork

Spork improves the loading time of your test suite by starting up your Rails application once in the background. Use it with Guard for the ultimate combo in fast feedback while doing TDD. (9 minutes)
Request Specs and Capybara
Episode #257Mar 14, 201154 comments

Request Specs and Capybara

Request specs in RSpec are a great way to ensure the entire application stack is working properly. Here I also show how to use capybara with integrated JavaScript testing using Selenium. (13 minutes)
Exploring RubyGems
Episode #384Oct 07, 201284 comments

Exploring RubyGems

RubyGems can make it easy to add a feature to a Rails application, but it can also cause headaches down the road. Here I give some tips on researching gems to decide which one to choose, or when to do it from scratch. (7 minutes)
Copycopter
Episode #336Mar 27, 201276 comments

Copycopter

Copycopter provides a nice interface that clients can use to edit the text in a Rails application. Learn how to deploy a Copycopter server using Heroku and integrate it in a Rails application through I18n. (6 minutes)
Beginning with Cucumber
Episode #155Mar 30, 2009107 comments

Beginning with Cucumber

Cucumber is a high-level testing framework. In this episode we will create a new Rails application from scratch using behavior driven development. (15 minutes)
Webrat
Episode #156Apr 06, 200960 comments

Webrat

If you prefer writing integration tests in ruby instead of Cucumber's plain english, consider interacting with Webrat directly as I show in this episode. (7 minutes)
Upgrading to Rails 3 Part 2
Episode #226Aug 09, 201048 comments

Upgrading to Rails 3 Part 2

Here we continue upgrading an application to Rails 3 by getting our specs up and running and going through the rails_upgrade plugin. (12 minutes)