CGI::Se...:Default(3)

✨ NAME ✨

okay so bestie, welcome to the CGI::Session::Test::Default(3) manual page from the User Contributed Perl Documentation πŸ’… β€” the header shows it all abbreviated as CGI::Se...:Default(3), but the full manual name is CGI::Session::Test::Default. And what does it do? It does exactly this: Run a suite of tests for a given CGI::Session::Driver. no cap, that's the whole vibe. πŸ¦‹

🌸 new()

my $t = CGI::Session::Test::Default->new(
    # These are all optional, with default as follows
    dsn   => "driver:file",
    args  => undef,
    tests => 77,
);

This creates a brand-new test object, and you can override some defaults if you want. They're all optional, and the defaults are literally right there: dsn defaults to "driver:file", args defaults to undef, and tests defaults to 77. cute, iconic, flexible. πŸ’–

πŸŽ€ number_of_tests()

my $new_num = $t->number_of_tests($new_num);

A setter/accessor method that affects the number of tests to run. Timing is everything, bestie β€” use it after new() has been called and before run(). That's the window. ⭐

πŸ¦‹ run()

$t->run();

Runs the test suite. And if you're wondering how to set related options, go check new() β€” that's where the setup lives. periodt. πŸ”₯


perl v5.42.2 Β· 2026-07-28 Β· CGI::Se...:Default(3) β€” bye bestie, go run those tests πŸ’…βœ¨

πŸ“¦ where this page comes from