[rspec-users] Pretty HTML reporting for stories

David Chelimsky dchelimsky at gmail.com
Mon Jun 2 14:35:00 EDT 2008

On Jun 2, 2008, at 11:28 AM, Matt Wynne wrote:

> Hi all,
> I'm just getting to grips with rspec, and I'm trying to put together a
> showy demo. We're trying to use the (plain text) stories feature,  
> rather
> than the specs. I'd like to show off a fancy HTML report of the  
> results
> if possible.
> So it seems I can do this from the spec command line tool, but I can't
> make it work for a story.
> I've got the three files (story.txt, steps.rb, runner.rb) from the
> rspec.info homepage, and I can run then by doing
> ruby runner.rb
> All splendid so far.
> By when I try to do
> spec runner.rb
> It doesn't want to play. I don't get an error message or anything, it
> just seems to ignore me.
> Does spec support stories, or just specs? If so, what am I doing  
> wrong?

There is a bug right now when running stories w/ rails using the html  
formatter. I'm heading out the door right now, but will follow up  
later with a hack I used to get it to work. Should get fixed in source  
sometime soon.


More information about the rspec-users mailing list