Co-produced by TechWeb and O'Reilly Media, Inc.
©2008 TechWeb and O'Reilly Media, Inc.
(707) 827-7000 / (800) 998-9938
conf-webmaster@oreilly.com
Event Software Powered by Expectnation
Vicki Sanders
415-947-6107
vsanders@techweb.com
Download the Web 2.0 Expo San Francisco Sponsor/Exhibitor Prospectus
Liliana Arancibia
415-947-6179
larancibia@cmp.com
Have a suggestion for a speaker or topic at Web 2.0 Expo San Francisco? Send an email to: sf-idea@web2expo.com
or
Natalia Wodecki
415-947-6762
NWodecki@cmp.com
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.
Many other languages / web frameworks are following suit with their own BDD testing tools. We’ll take a quick look at JBehaive for Java, NBehaive for .NET, PHPSpec for PHP, and even JSSpec for JavaScript.
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.