[Nitro] Nitro/OG spec convention/organization questions
Mark Van De Vyver
mvyver at gmail.com
Mon Sep 3 03:05:44 EDT 2007
On 9/3/07, Arne Brasseur <arne at arnebrasseur.net> wrote:
> George Moschovitis schreef:
> > dunno why you would like to test a benchmark.
> Performance characteristics _can_ be part of a specification. The hard
> part is choosing good benchmark boundaries, since this greatly depends
> on the environment the tests run in.
> It wouldn't really count as a unit test, since it's not always
> reproducable. I would see it more as a sort of sanity check.
Yep, that's possible.
My thought was more for in the development cycle, maybe use fixture(s)
to have a quick way of testing if a change improves or harms
performance, and to get RSpecs' verification/signal that all is well
in that part of the code. Haven't fully worked this out.
More information about the Nitro-general