▶   We’ve been acquired by Pluralsight!   ▶   Upgrade your account to Pluralsight   ▶   More details…

Test-First Development for Rails

Preview

Download Free Preview

Purchase includes Quicktime (zip) download Purchase includes iPod download

Test-first development can improve your workflow, improve the quality of your software, and give you confidence. Get started with our test-first development for Rails tutorial.

If you have looked at the “test” directory sitting at the bottom of your Rails applications and have wondered what it’s there for, this is the screencast for you!

Our test-first development video tutorial walks through the basics of writing a simple application with the principles of test-first and behavior-driven development. You’ll use the features already built into Rails and learn how to extend it for your own needs, too.

The download includes the actual code discussed in the screencast (recently updated for Rails 1.2.2). Rails 1.2.2 is used for the project but most of the content applies to any current version of Rails.

NOTE: Advanced or cutting edge topics such as rSpec and Test::Rails are not discussed in this screencast but will be covered in a future episode.

(Requires Quicktime 7 → Download.)

Cheat Sheet

→ Download Free Test Assertions Cheat Sheet

Script

Time (approx) Topic
0-5 Why Test?
5-11 Tools
11-18 Setup
19-39 Models and Unit Tests
40-1:04 Controllers and Functional Tests
1:05-1:15 Integration Tests
1:15-1:19 Tips

Skills

This screencast assumes that you have written at least one Rails application on your own.

Revision 3 (Notes) · Updated: Jan 07, 2011 · Length: 80 min · 101 MB

Screencast Catalog