On 2005-03-13, Geoffrey Young <[EMAIL PROTECTED]> wrote: > > nevertheless, what you are replying to was just a discussion about a feature > that doesn't exist in the standard Test::More toolkit but was brought up > because Apache-Test's plan() works a bit differently and there are enough > people who like it that I thought it warranted a discussion here to see if > T::M was interested.
I like these ideas-- they seem like worthwhile additions. Let's see if I can get an example right. This: use Test::More; if( $^O eq 'MacOS' ) { plan skip_all => 'Test irrelevant on MacOS'; } else { plan tests => 42; } would become something more like: use Test::More tests => 5, have 'LWP', { "not Win32" => sub { $^O eq 'MSWin32'} }; (OK, so that example was highly adapted from the Apache::Test docs). It is shorter, but does mean a more functionality to understand for the programmer to use it. Mark