Mojo::Command::Test(3pm)

Mojo::Command::Test3pm

Test command

Usage

    use Mojo::Command::Test;
    my $test = Mojo::Command::Test->new;
    $test->run(@ARGV);

Overview

Mojo::Command::Test is a test script.

Attributes

Mojo::Command::Test inherits all attributes from Mojo::Command and implements the following new ones.

"description"

    my $description = $test->description;
    $test           = $test->description('Foo!');

Short description of this command, used for the command list.

"usage"

    my $usage = $test->usage;
    $test     = $test->usage('Foo!');

Usage information for this command, used for the help screen.

Methods

Mojo::Command::Test inherits all methods from Mojo::Command and implements the following new ones.

"run"

    $test = $test->run(@ARGV);

Run this command.

From libmojolicious-perl 0.999926-1+squeeze2 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.