NAME
Test::Skip - Framework to skip tests under certain conditions
SYNOPSIS
use Test::Skip
{
comment => 'test XXX under linux and XP',
has =>
{
executables => [ 'some_binary', 'another_binary' ],
modules => ['IPC::Run', ['Data::TreeDumper' => 0.36 ]] ,
os => [ 'linux', ['Win32' => 'XP']]
},
has_no =>
{
modules =>
{
comment => 'Safe is too old!',
modules => ['Safe' => '<2.26']
},
}
}
#---------------------------------------------------
use Test::Skip qw(:skip_all_test) ;
skip_all_test_unless 'modules' => 'IPC::Run, 'no IPC::Run, needed for test xxx' ;
#---------------------------------------------------
use Test::Skip qw(:skip_test) ; # Test::Block style
skip_test \%pre_requisits
{
# many tests in this block
} ;
skip_test \%pre_requisits
{
# many tests in this block
} ;
DESCRIPTION
* As of version 0.01_1, this is a placeholder. Please give feedback on the API *
This module implements a framework wich run plugins that verify certain conditions and skips tests.
DOCUMENTATION
SUBROUTINES/METHODS
BUGS AND LIMITATIONS
None so far.
AUTHOR
Nadim ibn hamouda el Khemir
CPAN ID: NKH
mailto: nadim@cpan.org
COPYRIGHT AND LICENSE
Copyright 2009 Nadim Khemir.
This program is free software; you can redistribute it and/or modify it under the terms of either:
the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version, or
the Artistic License version 2.0.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc Test::Skip
You can also look for information at:
AnnoCPAN: Annotated CPAN documentation
RT: CPAN's request tracker
Please report any bugs or feature requests to L <bug-test-skip@rt.cpan.org>.
We will be notified, and then you'll automatically be notified of progress on your bug as we make changes.
Search CPAN