Behaviour Driven Development with RSpec slides
Here’s my slides for the talk on Behaviour Driven Development and RSpec at the July 2007 singapore.rb meeting. It might not make much sense if you weren’t at the meeting.
Here’s my slides for the talk on Behaviour Driven Development and RSpec at the July 2007 singapore.rb meeting. It might not make much sense if you weren’t at the meeting.
Joel Spolsky has a new wiki launched for aggregating information related to the business of software. It’s pretty spare right now, with a handful of content largely on microISVs. Still, it could turn out to be a good resource for people starting out on their first software enterprise.
I’m excited to announce that I’ll be joining Bezurk as a Ruby on Rails Developer starting the middle of June. The startup is providing some extremely interesting services in the online travel booking space with tons of potential for growth.
Bezurk is currently continuing to recruit Rails developers to join the team. You’ll be working in a great location, interacting with smart people and challenged with building easy to use web applications that help people plan their holidays :) .
The release of RSpec 0.9.4 can be considered a landmark release of sorts. With the inclusion of Spec::Ui 0.2.0, RSpec can now perform functional testing of web applications within a browser. Out of the box support is limited to Watir/Internet Explorer for now as the Selenium RC custom matchers are not implemented yet. includes WATIR/Windows and Watirsafari/OSX. The custom matchers for Selenium RC are not implemented yet but its certainly possible to use Selenium with Spec::Ui, it just won't read as nicely compared to WATIR. Spec::Ui also comes with a custom result formatter that packages a screenshot of the browser on spec failure, along with its HTML source in the report.
To use Watirsafari in your functional specs, you'll need to install the gem for it: gem install watirsafari
spec_helper.rb should be updated to include the snippet below (code lifted from the original release announcement):
The specification will need before and after blocks like this:
There are a lot more useful information available in the examples supplied with Spec::Ui. Take a look at the samples to get up and running.
Update
My thanks to Aslak Hellesoy for correcting me on support for WATIR and Selenium.