aku-aku: v.. To move a tall, flat bottomed object (such as a bookshelf) by swiveling it alternatively on its corners in a "walking" fashion. [After the book by Thor Heyerdahl theorising the statues of Easter Island were moved in this fashion.] source: LangMaker.com. Aku Aku also has another meaning to the islanders: a spiritual guide.
« 29 of 52: Exquisite Corpse | Main Page | 30 of 52: Coachella Explorer »
Test Driven Recruitment
Posted by dav at 2008 April 19 08:14 AM
File under: Geek

I need to hire some Rails developers at Lumos Labs, so I decided to write a spec for the position:


require File.dirname(__FILE__) + '/../spec_helper'

describe Developer do
  before(:each) do
    @developer = Developer.new(ideal_developer_qualities_ hash)

  it "should test drive" do
    @developer.should be_test_driven

  it "should know rails 2.x" do
    @developer.experience.should include(:rails2)

  it "should know REST patterns" do
    @developer.experience.should include(:rest)

  it "should use selenium" do
    @developer.experience.should include(:selenium)

  it "should use capistrano" do
    @developer.experience.should include(:capistrano)

  it "should receive competitive compensation" do
    @developer.should respond_to(:competitive_compensation)

  it "should like brains" do
    @developer.should be_familiar_with('www.lumosity.com')

I know the 'it' thing seems a bit odd, that's just how rspec works. I could have created a new dsl but then he_or_she looked dumb too. I was tempted to add an "it puts the lotion in the basket" but figured that would be just a tad too creepy for a job listing.


Hey dav, haven't talked to you in a while. See you at rails conf again ?




I am not looking for work. I just saw your post and thought it was fun.

Posted by: Tim Dysinger on April 19, 2008 04:07 PM

Ha, thanks for the refactorings :) ...Although I'd have to disagree with the second one, being clear trumps DRY in tests. First and third are dead on though. Yep, I'll be at Rails Conf again, see you there!

Posted by: dav on April 20, 2008 07:26 AM

Post a new comment:

Thanks for signing in, . Now you can comment. (sign out)

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

Remember me?