The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

TAP::Runner::Option - Option object

VERSION

version 0.003

DESCRIPTION

Object used for TAP::Runner::Test options

METHODS

get_values_array

Build array used for cartesian multiplication Example: [ [ opt_name, opt_val1 ], [ opt_name1, opt_val2 ] ]

ATTRIBUTES

name

Option name

values

Array of option values

multiple

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

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.