Hi Panayotis,

There currently isn't a default formatter which does that. Can you explain
a bit more behind the *why* of this type of output? For me, this type of
output would be a tad jarring to see.

There is an option you can set to
fail_fast<https://relishapp.com/rspec/rspec-core/v/3-0/docs/configuration/fail-fast>so
the suite stops at the first failing spec. Additionally, you can pass
the flag --fail-fast flag on the command line when you run RSpec.

Cheers!


On Fri, Mar 21, 2014 at 4:35 AM, Panayotis Matsinopoulos <
[email protected]> wrote:

> Hi,
>
> While running rspec I am getting output like this:
>
>
>
> ..FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF...............
>
>
> and at the end, I am getting detailed list of the problems.
>
> Question: How can I get the details of a failure before the whole suite
> finishes and at the failure point on each test?
>
> I would like to see the output while running the suite as follows:
>
> ..F
> <details of failure .... Test + error e.t.c.>
> F
> <details of failure .... Test + error e.t.c.>
> ......F
> <details of failure .... Test + error e.t.c.>
> ......F
> <details of failure .... Test + error e.t.c.>
> .................
>
>
> Is that clear?
>
> Any help?
>
> Panayotis
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "rspec" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/rspec/fe841952-0461-4b18-bdd1-3671ec60ff3e%40googlegroups.com<https://groups.google.com/d/msgid/rspec/fe841952-0461-4b18-bdd1-3671ec60ff3e%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"rspec" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rspec/CAKCESdj35w7hdZS87kQHQpg%2BhZAMycPj1%2BumdZ2FE5tsQn2GuA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to