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.)
|19-39||Models and Unit Tests|
|40-1:04||Controllers and Functional Tests|
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