Thank you so much all for your quick response on this, yes I will try out these options.
Thanks, Satya. On Friday, 24 February 2017 04:01:49 UTC+5:30, Jon Rowe wrote: > > I’d say https://github.com/piotrmurach/rspec-benchmark is exactly what > you want as you can specify your performance requirements in either direct > timing or IPS, and should be cleaner memory wise. > > Jon Rowe > --------------------------- > [email protected] <javascript:> > jonrowe.co.uk > > On Friday, 24 February 2017 at 02:06, Aaron Kromer wrote: > > Let me explain what I’m trying to do here. In my rspec script I have 5 > examples(i.e. 5 it blocks) under 1 describe block which I need to repeat > all these 5 examples sequentially 5 lach times to test the stability of my > device under test. this is my requirement. What is the best possible way to > do this? > > Create a new single spec specifically for this. > > In general it is advised that specs are not order dependent. Meaning each > spec should be able to run, testing what is expected, in isolation (i.e. by > itself). Having spec order dependencies general is an indication of global > state leak and is a bad thing. This is why RSpec sets up the default > configuration to set random spec run order. > > With that being said, I have written similar “stress” tests specifically > with regard to threading. It can be hard to ensure a known thread failure > path is hit so often things are run in a loop, within a single spec, to > ensure enough workload to produce a high probability of issue. > > > -- > 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] <javascript:>. > To post to this group, send email to [email protected] <javascript:>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/rspec/CAKCESdjkBgbEUXn9ghdT9%2B82vd2EwUryX6MzGMzZifXyhqgJrQ%40mail.gmail.com > > <https://groups.google.com/d/msgid/rspec/CAKCESdjkBgbEUXn9ghdT9%2B82vd2EwUryX6MzGMzZifXyhqgJrQ%40mail.gmail.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/d1234c2e-5b9d-4f3c-8f21-967da02d6f01%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
