I have 150+ examples, and it will take around 30 minutes to finish all examples 
execution. So some users need one progress bar [%] to show where rsepc has been 
done.

Therefore, I'd like to get example list first, and then execute them one by 
one; at the same time, I can print progress bar according to completed examples

-- Pin Xie

On Jun 11, 2012, at 5:30 PM, David Chelimsky wrote:

On Mon, Jun 11, 2012 at 4:27 AM, Pin Xie <[email protected]> wrote:
> Is there any option in RSpec v2 to get example list before running?
> 
> I can grep those information from files, however, if considered tags
> support, it is a little bit complex. For example, "rspec spec/ --tag
> p1 --tag p2 --tag ~bug-fixing "
> 
> Therefore, is there any native option in RSpec v2 to get example list
> before running, or is there any best practices to do it?

There's no public API for this. What do you need that list for?

-- 
You received this message because you are subscribed to the Google Groups 
"rspec" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rspec?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
"rspec" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rspec?hl=en.

Reply via email to