CGI::Session::Test::Default - Run a suite of tests for a given CGI::Session::Driver
my $t = CGI::Session::Test::Default->new( # These are all optional, with default as follows dsn => "driver:file", args => undef, tests => 77, );
Create a new test object, possibly overriding some defaults.
my $new_num = $t->number_of_tests($new_num);
A setter/accessor method to affect the number of tests to run, after new() has been called and before run().
new()
run()
$t->run();
Run the test suite. See new() for setting related options.
To install CGI::Session, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CGI::Session
CPAN shell
perl -MCPAN -e shell install CGI::Session
For more information on module installation, please visit the detailed CPAN module installation guide.