Subject: skip_all with Test::More?
From: Tels <[EMAIL PROTECTED]>
Date: Wed, 31 May 2006 17:53:46 +0200

}####################################################################
}use Test::More;
}
}plan tests => 123;
}
}skip_all( 'reason' ) if ...;
}
}# tests here
}####################################################################
}
}Did I miss something or is this simple not yet possible?

Actually, it goes something like this:

####################################################################
use Test::More;
plan skip_all, "No tests here" if $some_condition;
plan tests => 22;
####################################################################

skip_all is a plan descriptor and as such needs to be given to plan.

-Pete K
-- 
Pete Krawczyk
  perl at bsod dot net

Reply via email to