NAME
Test::OnlySome - Skip individual tests in a *.t file
SYNOPSIS
TODO
use Test::OnlySome;
INTERNALS
_gen
This routine generates source code that, at runtime, will execute a given only-some test.
EXPORTS
import
The import
sub defines the keywords so that they will be exported.
os
Keyword os
marks a statement that should be excuted only oome of the time. Example:
os 'main::debug' $hrOpts ok 1,'Something';
# Run "ok 1,'Something'" if hashref $hrOpts indicates.
# Save debug information into $main::debug.
Syntax:
os ['debug::variable::name'] $hashref_options <statement | block>
$debug::variable::name
will be assigned at compilation time. $hashref_options
will be accessed at runtime.
CAUTION: The given statement or block will be run in its own lexical scope, not in the caller's scope.
VARIABLES
$TEST_NUMBER_OS
Exported into the caller's package. A sequential numbering of tests that have been run under "os".
AUTHOR
Christopher White, <cxwembedded at gmail.com>
BUGS
Please report any bugs or feature requests on GitHub, at https://github.com/cxw42/Test-OnlySome/issues.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc Test::OnlySome
You can also look for information at:
The GitHub repository
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
Search CPAN
RT: CPAN's request tracker
VERSION
Version 0.0.1
LICENSE AND COPYRIGHT
Copyright 2018 Christopher White.
This program is distributed under the MIT (X11) License: http://www.opensource.org/licenses/mit-license.php
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.