PeepCode

RSpec Basics

"Preview"

Download Free Preview

Purchase includes Quicktime (zip) download Purchase includes iPod download Purchase includes Ogg download

Many prominent Rails developers have jumped on the BDD bandwagon, and with good reason! It’s a great workflow and values clarity, small steps, database-independence, and self-documenting code.

If Test::Unit doesn’t make sense to you, or if you want to write better code, this is the place to start.

This 55 minute screencast is the first of a 3-part series on RSpec. You’ll learn how to install and configure RSpec. We’ll walk through a simple project. Then we’ll install RSpec in a Rails application and start writing examples for a simple model.

Part 2 is available now and covers mocking, stubbing, and custom matchers. Part 3 will cover controllers, views, and auxiliary tools.

"Skills"

This screencast assumes that you are familiar with Ruby and the basics of writing a Rails application. The Rails from Scratch screencast covers these concepts.

Revision (Notes) · Created: Jul 06, 2007 · Length: 55 min · 40 MB

What People Are Saying

“I just started programming about six months ago and I've peeled through a lot of books and other materials in that time. Nothing has been as helpful to me as PeepCode.” Neil Rahilly
“It's not often that I am excited about spending money. I've even managed to convince myself that I don't need an iPhone, but I find myself checking several times a day for the new PeepCode screencasts and the opportunity to spend another nine dollars.” Phil Peterman, Traffic Engineering, eMarketSouth
“I love the idea [of RSpec] but haven't really been able to make it work for me, but being able to look over your shoulder while you worked the process helped tremendously. I think my BDD issues were all about workflow because I would skip around and not actually write the tests first, then struggle with the API when I did.” Jeff Whitmire, Grockit
“This kind of learning really works for me, and a good amount of content is covered in each episode. I felt a little strange paying for a screencast, but after buying 3, I feel it's been money well spent!” Thomas, developer
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
“[The] git PeepCode book is awesome. Congrats on a job very well done. This should be required reading for all git users.” Jamis Buck, Rails Core Alumnus
“It was refreshing to read about git from the bottom up, and not compared to SVN. I was at the stage where I could do most of the basic tasks I used to do in SVN, but lacked a fundamental understanding of how it was working under the hood...Understanding all those concepts really helped me grok why the higher level commands and workflows work the way they do, and how to avoid some of the pitfalls.” James, in blog comment
“Even if you are not planning to write a Rails plugin, you should absolutely check this book, there are great insights about how Rails works and you will figure out that building a plugin is as easy as anything in Ruby, it’s just a matter of knowing where to place your code.” Codevader Blog

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.