Some examples of rspec2 output formats. If you are using Guard and Spork to speed up your test suite, you pass –format blah in the Guardfile. For example:
guard 'rspec', :version => 2, :cli => '--drb --color --format doc' do
watch(%r{^spec/.+_spec\.rb$})
...
end
You can specify multiple formats with --format one --format two
.
Anyway, here are some shots of what the output looks like:
--format doc
--format progress
--format nested --format progress
--format nested
--format html
HTML format is also the same as the Textmate format. I couldn’t get the output to go to a file like the documentation says. Maybe it hasn’t been updated for rspec2?