Mojo::Command::Test(3) Test Command

SYNOPSIS


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

DESCRIPTION

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.