[rspec-users] Display Rspec output in an html file

David Chelimsky dchelimsky at gmail.com
Wed Jan 20 07:23:44 EST 2010

On Wed, Jan 20, 2010 at 5:03 AM, Amit Kulkarni <lists at ruby-forum.com> wrote:
> Amit Kulkarni wrote:
>> Ok.Thanks a lot David
> Hello,
> Is there any way to display rspec result in .csv or .xls format.

You can write a custom formatter and invoke it with:

  spec spec --require my_formatter.rb --formatter MyFormatter

See http://rspec.rubyforge.org/rspec/1.3.0/classes/Spec/Runner/Formatter/BaseFormatter.html
for all the methods you'll want to implement in the formatter.


More information about the rspec-users mailing list