24 October 2007

Output the rspec report to an html file

rake spec

Create a spec.opts with:

--format
html:doc/rspec_report.html
--loadby
mtime


=> It will generate a rspec_report.html file in your doc folder!!!

The rspec documentation actually explains it but I missed an example to start using it ...

No comments: