On Thu, Feb 25, 2010 at 11:47 AM, rogerdpack <[email protected]> wrote:
> On Feb 25, 8:44 am, Matt Wynne <[email protected]> wrote:
>> Do you mean --format specdoc ?
>
> Interesting.
> It appears that with both specdoc and --format nested, it outputs the
> test name *after* running it.  I would have expected the opposite.  Is
> this expected?

Actually it is (now that you mention it). The reason is that each
example reports whether it passed or failed, which it clearly can't
know until it's run.

Another solution for your issue would be to write a custom formatter:
http://wiki.github.com/dchelimsky/rspec/custom-formatters

HTH,
David

> Thanks.
> -r
> _______________________________________________
> rspec-users mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/rspec-users
>
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to