[rspec-devel] Multiple formatters
David Chelimsky
dchelimsky at gmail.com
Tue Apr 24 07:02:33 EDT 2007
On 4/24/07, aslak hellesoy <aslak.hellesoy at gmail.com> 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?
+1
> _______________________________________________
> rspec-devel mailing list
> rspec-devel at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-devel
>
More information about the rspec-devel
mailing list