View a complete list of Web 2.0 Expo contacts.
As the best practices of web frameworks have emerged in the past few years (e.g., MVC and ActiveRecord), we are now seeing the same evolution with Testing Methodologies. It just makes sense: as developers get intimately familiar with their application pattern, they can spend more time learning how to best test their applications.
This presentation will look at some of the new revolutionary testing methodologies implemented by Ruby on Rails.
The Ruby on Rails web framework comes with many traditional web framework testing methods. Any Java developer can appreciate unit testing, functional testing, and the importance of testing code in isolation.
However, with the emergence of Behavior Driven Development (BDD), a new testing methodology has emerged. With BDD testing becomes less about writing tests, and more about writing specifications and defining the behavior of your program.
We will take a detailed look at how Ruby on Rails implements BDD using a Ruby library called RSpec, and see a live demonstration of how it allows us to write incredibly readable and maintainable code.
Attendees who come to this talk should walk away with a firm grasp of the concepts of BDD and how to implement it in their applications, and possibly come away excited about testing your own code. Sound unrealistic? Just wait until you see how much fun it is with BDD.
No, I’m not kidding.
Gregg Pollack works at Envy Labs, where he produces a podcast, creates educational screencasts, and develops websites with Rails. He also runs the Ruby Hero Awards, organizes the Orlando Ruby Users Group, and is also sometimes known as the Ruby on Rails guy in the “Rails vs” commercials or the “C” in MVC.