I have 150+ examples, and it will take around 30 minutes to finish all examples execution. Some users want to get progress bar [%] to show where rspec has been done.
Therefore, I need to get example list first, and then execute them one by one; at the same time, I can print progress bar. On Jun 11, 5:30 pm, David Chelimsky <[email protected]> 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.
