[Nitro] Nitro/Og rspec heads-up: any alternative solutions.

* William william.full.moon at gmail.com
Tue Oct 9 04:36:30 EDT 2007


... I often have been know to make names like:

  *  class Class_test_001
         @desc = 'this tests something-K or another"

you use the desc to tell what's IN the test ;)


On 09/10/2007, Jonathan Buch <john at oxyliquit.de> wrote:
> Hi,
> > The essential point is that rspec describe blocks are not isolated name
> spaces.
> > Consequence: if you're going to define classes then you'll need to
> > choose different class names for each describe/example block, or else
> > the spec's will run a good chance of being contaminated.
> one more point for the old Test::Unit! ;D
> But nah, I guess we just have to adhere to some naming scheme...
> Or packing each spec into a module (which is quite unnice with Og where
> the generated table name changes)...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/nitro-general/attachments/20071009/98ad8fef/attachment.html 

More information about the Nitro-general mailing list