On 8 Mar 2007, at 10:44, Ovid wrote:
[snip]
I cannot easily use 'Test::NoWarnings' because that adds an extra test,
thus forcing me to use 'no_plan' with one of my tests.  Is there some
other way around this?
[snip]

Do something like:

INIT { Test::Class->runtests( 'Foo', +1 ) }

Also, not that when not using test names, the setup and teardown tests
are getting the names of the method they're testing, thus obscuring tht
we're in setup and teardown.

Good point. My logic was that the setup and teardown tests are logically part of the test so should have their name. I guess it would make sense to annotate them with the setup/teardown method name. Added to the todo list.

Cheers,

Adrian

Reply via email to