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
“Your PDF has really inspired me, so it is well worth the money! You can quote me on that ;-)” Morgan Roderick
“Your screencasts are one of the best things you can buy on the Internet so far.” Liutauras Diu, developer
“I think the Peepcode Unlimited package is the single most useful tool in my box right now - when I look at time spent on research paired to benefit gained.” Seth Crosby, developer

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.