Latest Free Screencasts
Acceptance Tests with RSpec and Capybara
Teach Me To Code - 2011-05-23 - free
On the Ruby Rogues podcast I mentioned that I had moved away from Cucumber to RSpec and Capybara for my integration tests. Here’s a demo on how to do some TDD with RSpec and Capybara.
Watch this screencastRailsCasts #264 Guard
Railscasts - 2011-05-02 - free
Guard watches files and runs a command after a file is modified. This allows you to automatically run tests in the background, restart your development server, reload the browser, and more.
Watch this screencastRailsCasts #257 Request Specs and Capybara
Railscasts - 2011-03-14 - free
Request specs in RSpec are a great way to ensure the entire application stack is working properly. Here I also show how to use capybara with integrated JavaScript testing using Selenium.
Watch this screencastCanCan: Setting Permissions – Delicious Clone
Teach Me To Code - 2011-02-11 - free
In this installment in the Delicious Clone, we use CanCan to set some permissions on the Bookmarks Controller. Next week, we’ll finish the bookmark creation process and the following, we’ll add styling with SASS.
Watch this screencastSetting Up And Testing Devise – Delicious Clone
Teach Me To Code - 2011-01-21 - free
Because I’m going to be testing in cucumber sections of the site that require a user to be logged in, I decided to get it out of the way. So, in this video, I write a cucumber feature to test login and round it off with a few tests on the devise generated user model [...]
Watch this screencastRails 3.0.3 Setup – Delicious Clone
Teach Me To Code - 2011-01-14 - free
Here is what I’ve done to create this application: Use the ‘rails new’ command to create a rails application Set up the Gemfile Configure the Database Install Cucumber Install Rspec Install Devise Install CanCan Install jQuery Configure Devise Download (HD) 84.2 MB Download (iPod & iPhone) 47.4 MB
Watch this screencastRails 3 – Building a Blog – Part 1: Test Setup & Generators
Teach Me To Code - 2010-06-22 - free
Every good project needs a good setup. In this episode, I set up a github repo, create a new rails application, hook in Cucumber and Rspec, write a Cucumber feature, and write the code to make it pass.
Watch this screencastRSpec Matchers
Teach Me To Code - 2010-06-03 - free
RSpec gives us many powerful tools to make our tests readable. Matchers allow us to provide custom predicates to our should statements that succinctly define the behavior of our code.
Watch this screencastEpisode 1 - Moving to Bundler
Bddcasts - 2010-05-17 - free
Launching a new series: URLAgg updates. We upgrade URLAgg to the latest gems and migrate from using config.gem to Gem Bundler.
Watch this screencast