GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Test::Able::Helpers(3) User Contributed Perl Documentation Test::Able::Helpers(3)

Test::Able::Helpers

 use Test::Able::Helpers;

 my $t = MyTest;
 $t->shuffle_methods;
 $t->run_tests;

Test::Able::Helpers are a collection of mixin methods that can be exported into the calling test class. These are meant to make doing some things with Test::Able easier.

See Test::Able::Cookbook for example usages.

prune_super_methods
Removes any test-related methods from the associated method list if its from a superclass (literally not from $self's class).

By default it does this for all test-related method types. Type names can be optionally provided as args to limit what types this is done for.

shuffle_methods
Randomizes the test-related method lists.

By default it does this for all test-related method types. Type names can be optionally provided as args to limit what types this is done for.

get_loop_plan
Calculates the plan for a test method when used in a "Loop-Driven" context. This assumes the setup and teardown method lists are being explicitly run as many times as the test method.

Has two required args: the test method name and the test count. The test method name is used to lookup the plan of the test method itself. The test count is the number of times the test method will be called.

Justin DeVuyst, "justin@devuyst.com"

Copyright 2009 by Justin DeVuyst.

This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.

2010-11-21 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.