[Rspec-devel] contexts in reporting

itsme213 itsme213 at hotmail.com
Fri Jun 9 18:27:33 EDT 2006


> 38 contexts, 228 specifications, 1 failure
>
> to this:
>
> 228 specifications, 1 failure

+1

But ... it would also be nice to have a 'verbose' mode in which the "..." 
are interleaved with the corresponding context + spec text, with an 
indicator of each "should_...". Output might look like:

context 1
  spec 1 .....
  spec 2 ..
  spec 3 .....
  spec 4
context 2
  spec 5 .

I am showing a "." for each "should", as I think in verbose mode this would 
be better than just a "." for each spec including assertion-less specs e.g. 
it would shows specs (spec 4) that pass simply because they have no 
assertions (e.g. if not in strictly test-first mode).



More information about the Rspec-devel mailing list