[rspec-devel] Multiple formatters
Dan North
dan at tastapod.com
Sun Apr 29 13:15:09 EDT 2007
+1.
One thing I would add is html:*/*absolute/file/path vs
rdoc:relative/path.rdoc.
Also, can you guys check the file stuff works with windows paths too
(e.g. html:/c:/temp/blah.html).
Cheers,
Dan
aslak hellesoy wrote:
> Hi all,
>
> RSpec supports multiple formatters, but currently you can only use one
> at a time. I really need to use several at the same time.
>
> I'd like to make RSpec handle several --format options. However, that
> would require some rethinking of how/where output is written - it
> can't all go to the same stream (file or stdout).
>
> So I'm thinking of making --format take a composite argument:
>
> --format html:/path/to/index.html --format rdoc:/path/to/index.rdoc
> --format progress
>
> If nothing comes after the format, output is STDOUT, so this would be
> backwards compatible.
>
> If we do this, we could also get rid of --failures - it would just be
> a special formatter.
>
> WDYT?
> _______________________________________________
> rspec-devel mailing list
> rspec-devel at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rspec-devel/attachments/20070429/2fb1307c/attachment.html
More information about the rspec-devel
mailing list