Документация Perl 5

Mojolicious::Command::Test


НАЗВАНИЕ

Mojolicious::Command::Test - Test Command

КРАТКИЙ ОБЗОР

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

ОПИСАНИЕ

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

АТРИБУТЫ

Mojolicious::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.

МЕТОДЫ

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

run

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

Run this command.

СМ. ТАКЖЕ

Mojolicious, Mojolicious::Guides, http://mojolicio.us.