PeepCode

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.

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!

This screencast 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 (Notes) · Created: Dec 26, 2006 · Length: min · 101 MB

What People Are Saying

“I've never seen a screencast as well made as the PeepCode screencasts. They are easy to follow even if advanced topics are covered.” Christoph Budzinski, Developer
“A week or so ago I downloaded the PeepCode Screencast on Test First Development. It was the first really clear example on Test Driven Development I’d seen and it helped clear up a lot of questions I’d had about it.” Mark Carey on the Kognitive Jelly Blog
“The format works really well for tutorials as you can follow along by simple pausing every 30 seconds or so and typing in the examples as you can go...This really lets you follow along at your own pace. The other nice thing was that all of the code typed in actually worked.” Ed Gibbs, Software Developer
“These screencasts are amazing! The TDD one has a lot of tips which helped me to go deep in this interesting Test-First world! Before watching this I haven't realized how to write tests FIRST in Rails apps. Long live PeepCode!” Arthur Zapparoli
Rails101

Free Samples

What People Are Saying About PeepCode

“PeepCode is awesome!” Tim O'Reilly, O'Reilly Media
“These things are fantastic and the price is a steal. I strongly urge you to support this effort and buy the episodes. What a terrific way to learn!” Scott Barron, Rails Core Committer
“I'm usually a traditional dead-tree book learner, but this time I decided to try the PeepCode approach. I had heard good things about them and I can now tell you that reputation is well deserved.” James Edward Gray II
“The PeepCode Git screencast saved my sanity!” Jim Weirich, Ruby pioneer and creator of Rake
“The TextMate screencast is nicely produced and runs through virtually all of the features of the RoR Bundle...I already feel that I'm going to be much more productive after just running through it once.” David Alison, Entrepreneur

More Reviews

Rspec

Have a Coupon?

Login or signup and enter the code on your account page. If it is still valid you will be able to browse the list of products and redeem an episode.