[boost] Re: [boost.test] feature request - random order of testing
by David Abrahams other posts by this author
May 23 2004 7:19AM messages near this date
[boost] Re: [boost.test] feature request - random order of testing
|
[boost] Re: [boost.test] feature request - random order of testing
"Gennadiy Rozental" <gennadiy.rozental@[...].com> writes:
> > I plan in this release to add an ability to run a test case by name. It
> may
> > help you a bit. As for random order I will think about it, but it fills a
>
> Sorry. Meant *feels*.
>
> > bit incorrect (see above).
I don't know why; randomization of tests is good, as long as the seed
is written when a test fails and a specific seed can be injected to
reproduce the case. It means that your tests aren't unintentionally
dependent on some arbitrary order or input data/size you may have
chosen. I've used this strategy very successfully in the past.
--
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Thread:
Pavel Vozenilek
Pavel Vozenilek
David Abrahams
Gennadiy Rozental
Gennadiy Rozental
|