SpicyCode

The ramblings of Chad Humphries

RSpec 1.0

RailsConf was quite fun this and I finally got a chance to meet David Chelimsky and Aslak Hellesøy on Saturday. Ken and I sat down with them and coded a patch or two for RSpec 1.0.

We got the “not implemented” spec feature added during this time. It worked like this:

describe YourClass do

  it "should do something awesome later"

end

By not giving the example (‘it’) a block you get a Not Implemented spec notice in all the various outputs. This will be yellow in the console output when color is on, and the same in the html output. Having not implemented specs will not break your build, and they do not count as errors or failures.

All in all a very fun time.

Advertisements

Written by spicycode

May 22, 2007 at 6:10 pm

Posted in programming

Tagged with , ,

%d bloggers like this: