[rspec-users] rspec "output which test it is running before running it"
dchelimsky at gmail.com
Thu Feb 25 13:28:43 EST 2010
On Thu, Feb 25, 2010 at 11:47 AM, rogerdpack <rogerpack2005 at gmail.com> wrote:
> On Feb 25, 8:44 am, Matt Wynne <m... at mattwynne.net> wrote:
>> Do you mean --format specdoc ?
> 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:
> rspec-users mailing list
> rspec-users at rubyforge.org
More information about the rspec-users