May 20th: RSpec and TDD in Ruby [updated]
:through => John | :belongs_to Animal Perfect! | Posted on 18-05-2010
0
Following our last two meetings, where we started building the new Gorge Tech Alliance web app and added a series of successful tests to the code, our next meeting will be focused on RSpec and Test-Driven Development. We’ll be looking at how to write specifications, and what to write them for (and what to NOT write them for). Then we’ll get down to work on the GTA website, adding tests and some new features.
[update] If we have time and desire, I’m also thinking of putting together an introduction to the RubyMine Ruby IDE from the JetBrains team. Just a quick intro on its basic functions and features.
Join us at 6pm at the Indian Creek campus of the Columbia Gorge Community College, room #311.
Code Update
If you have the code already, there’ve been some changes that will necessitate installing some more libraries, mostly for testing, so run:
$ cd crgta $ sudo rake gems:install $ sudo gem install rspec rspec-rails rcov ci_reporter thoughtbot-shoulda faker
to install all the new testing infrastructure.
For those who haven’t grabbed the code, and need to get set up, I’ve written a Getting Started page to help you along.

