NAME
TAP::Runner::Option - Option object
VERSION
version 0.005
DESCRIPTION
Object used for TAP::Runner::Test options
MOOSE SUBTYPES
ArrayRef::TAP::Runner::Option
Coerce ArrayRef[HashRef] to ArrayRef[TAP::Runner::Test] Used b TAP::Runner::Test
ATTRIBUTES
name Str
Option name
values ArrayRef[Str]
Array of option values
multiple Bool
If option multiple ( default not ) so for each option value will be new test with this value
Example:
For option { name => '--opt_exampl', values => [ 1, 2 ], multiple => 1 }
will run to tests, with diferrent optoins:
t/test.t --opt_exampl 1
t/test.t --opt_exampl 2
parallel Bool
If option should run in parallel. Run in parallel can be just multiple option.
METHODS
get_values_array
Build array used for cartesian multiplication
Example: [ [ opt_name, opt_val1 ], [ opt_name1, opt_val2 ] ]
AUTHOR
Pavel R3VoLuT1OneR Zhytomirsky <r3volut1oner@gmail.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Pavel R3VoLuT1OneR Zhytomirsky.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.