1Test::Able::Helpers(3)User Contributed Perl DocumentationTest::Able::Helpers(3)
2
3
4

NAME

6       Test::Able::Helpers
7

SYNOPSIS

9        use Test::Able::Helpers;
10
11        my $t = MyTest;
12        $t->shuffle_methods;
13        $t->run_tests;
14

DESCRIPTION

16       Test::Able::Helpers are a collection of mixin methods that can be
17       exported into the calling test class.  These are meant to make doing
18       some things with Test::Able easier.
19
20       See Test::Able::Cookbook for example usages.
21

METHODS

23       prune_super_methods
24           Removes any test-related methods from the associated method list if
25           its from a superclass (literally not from $self's class).
26
27           By default it does this for all test-related method types.  Type
28           names can be optionally provided as args to limit what types this
29           is done for.
30
31       shuffle_methods
32           Randomizes the test-related method lists.
33
34           By default it does this for all test-related method types.  Type
35           names can be optionally provided as args to limit what types this
36           is done for.
37
38       get_loop_plan
39           Calculates the plan for a test method when used in a "Loop-Driven"
40           context.  This assumes the setup and teardown method lists are
41           being explicitly run as many times as the test method.
42
43           Has two required args: the test method name and the test count.
44           The test method name is used to lookup the plan of the test method
45           itself.  The test count is the number of times the test method will
46           be called.
47

AUTHOR

49       Justin DeVuyst, "justin@devuyst.com"
50
52       Copyright 2009 by Justin DeVuyst.
53
54       This library is free software, you can redistribute it and/or modify it
55       under the same terms as Perl itself.
56
57
58
59perl v5.32.0                      2020-07-28            Test::Able::Helpers(3)
Impressum