development full of
merriment and sense

test/spec docs for Rails

Geoffrey on February 24, 2008 at 12:35 am

map
photo by Kriston Lewis

I am a big RSpec fan. But occasionally, I work on projects that use test/spec. When I want output the spec documentation with RSpec, I just use rake spec:doc. With test/spec, I couldn’t find such a thing. So I made one and stuck it in lib/tasks/test_spec.rake


Rake::TestTask.new(:specdox) do |t|
  t.options = '--runner=specdox'
  t.libs << 'test'
  t.pattern = 'test/**/*_test.rb'
  t.verbose = true
end
Rake::Task[:specdox].comment = "Generate specdox."

Now I can use rake specdox to see all the wonderful spec documentation!

Filed under: RSpec, Testing, test/spec, documentation

Joining an awesome team!

Geoffrey on February 11, 2008 at 11:08 am

I have been given the opportunity to join a GREAT group of guys. Starting today, I will be working full-time with Relevance. So if you are looking for software development, I know a good group of developers who can build exactly what you need.

Filed under: Uncategorized

Dallas.rb Presentation

Geoffrey on February 5, 2008 at 8:37 pm

Train graffiti
photo by vitalyzator

I presented on RSpec 1.1 tonight at the Dallas.rb. I don’t claim to be an expert, I just love my specs (and now stories).

Feel free to take a look at the slides.

Filed under: RSpec, Ruby, Dallas, Testing

Powered by WordPress