Re: Test::More, BEGIN use_ok, plan, what?

2006-07-23 Thread Michael G Schwern
On 7/21/06, Adriano Ferreira <[EMAIL PROTECTED]> wrote: If I run this script use Test::More; plan tests => 2; BEGIN { use_ok( 'My', 'foo' ); } ok(1); is(foo, 1); I got the output, which says nothing about the use_ok. It is not counted as a test, it does not ruin the plan,

Re: some CPANTS news

2006-07-23 Thread Randy J. Ray
One thing that would be helpful would be a way to remove "dead" modules from CPANTS. For example, my module X11::Fvwm has been superceded by code that is in the core fvwm distribution (I suspect that it derives from my code, even though I'm not credited). So I haven't updated it in ages, and I eve

Re: planning at the end

2006-07-23 Thread Nicholas Clark
On Thu, Jul 20, 2006 at 04:01:00PM -0700, Michael G Schwern wrote: > On 7/20/06, Gabor Szabo <[EMAIL PROTECTED]> wrote: > >If I am not mistaken the problem with no_plan is that the test script > >might exit before actually running all the tests you wanted and Harness > >won't notice it. > > PS In