Test::Class::Moose::Config - Configuration information for Test::Class
0.04
my $tc_config = Test::Class::Moose::Config->new({ show_timing => 1, builder => Test::Builder->new, statistics => 1, randomize => 0, }); my $test_suite = Test::Class::Moose->new($tc_config);
For internal use only (maybe I'll expose it later). Not guaranteed to be stable.
This class defines many of the attributes for Test::Class::Moose. They're kept here to minimize namespace pollution in Test::Class::Moose.
show_timing
Boolean. Will display verbose information on the amount of time it takes each test class/test method to run.
statistics
Boolean. Will display number of classes, test methods and tests run.
builder
Usually defaults to Test::Builder->new, but you could substitute your own if it conforms to the interface.
Test::Builder->new
randomize
Boolean. Will run tests in a random order.
args
my $tests = Some::Test::Class->new($test_suite->test_configuration->args);
Returns a hash reference of the args used to build the configuration. Used in testing. You probably won't need it.
Curtis "Ovid" Poe, <ovid at cpan.org>
<ovid at cpan.org>
Please report any bugs or feature requests to bug-test-class-moose at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Test-Class-Moose. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-test-class-moose at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Test::Class::Moose
You can also look for information at:
RT: CPAN's request tracker (report bugs here)
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Test-Class-Moose
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Test-Class-Moose
CPAN Ratings
http://cpanratings.perl.org/d/Test-Class-Moose
Search CPAN
http://search.cpan.org/dist/Test-Class-Moose/
Copyright 2012 Curtis "Ovid" Poe.
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; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install Test::Class::Moose, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::Class::Moose
CPAN shell
perl -MCPAN -e shell install Test::Class::Moose
For more information on module installation, please visit the detailed CPAN module installation guide.