Videos tagged with RSpec
With Rspec and Cucumber, Ruby has brought testing to a whole new level, but tests still require a lot of work. But things just got better. Llewellyn Falco will show you new patterns and practices to dramatically decrease the amount of effort needed to test.
Under The Hood
Summary One of the most exciting aspects of Ruby is the overwhelming number of open source projects that have been contributed by the community for all of us to enjoy. As of January, 2008 Rubyforge sports over 2500 projects with over 19 million gem downloads. And that's just gems. It doesn't account for the millions of checkouts from source control as developers contribute back to other project...
Railscasts #157: RSpec Matchers & Macros
You can improve the readability and remove duplication in RSpec by adding matchers and macros. Learn how in this episode.
Executable User Stories with RSpec and BDD
Summary This presentation gives an introduction to the principles and practices of BDD and shows how make plain text User Stories executable with RSpec's Story Framework. The framework itself is written in Ruby, but it can run against production code written in any programming language. Bio Aslak Hellesøy is the Chief Scientist of BEKK Consulting in Norway, and worked for ThoughtWorks be...
Railscasts #155: Beginning with Cucumber
Cucumber is a high-level testing framework. In this episode we will create a new Rails application from scratch using behavior driven development.
MountainWest RubyConf 2009: Outside-In Development with Cucumber
Cucumber is a BDD tool that aids in outside-in development by executing plain-text features/stories as automated acceptance tests. Written in conjunction with the stakeholder, these Cucumber “features” clearly articulate business value and also serve as a practical guide throughout the development process: by explicitly outlining the expected outcomes of various scenarios developers...
RubyConf 2008: RSpec and Cucumber
Author: David Chelimsky
NetBeansTV: Nick Sieger Uses RSpec with the NetBeans Ruby Support
Nick Sieger demonstrates behavior driven development using RSpec in the NetBeans Ruby support. He tests the Ruby Weblog application by using the Red/Green refactor cycle of running, modifying, saving, and running tests.
PeepCode: RSpec Mocks and Models
This is part 2 of the highly anticipated RSpec series. You’ll learn about adding mocks, stubs, and matchers to your behavior driven development skillset. The screencast continues the project from part 1 but focuses on writing examples for ActiveRecord models. During the process you’ll also learn about parsing XML with Hpricot!
PeepCode: RSpec Controllers and Tools
Part III of the popular RSpec series! (Part I and II are also available). This 69 minute screencasts shows how to write behavior examples for Rails Controllers, Views, and Helpers. It finishes the application started at the beginning of this series. It also talks about shared behaviors, writing specs for plugins and gems, using RSpec with Test::Unit, and tools like rcov and heckle.