NAME

Test::Mojo::Client - Client Tests

SYNOPSIS

use Curse::Transaction;
use Mojo::Test::Client;

$ENV{MOJO_SERVER} = '';
my $client = Test::Mojo::Client->new;
my $tx = $client->process_all_ok([Curse::Transaction->new]);

DESCRIPTION

Mojo::Test::Client is a test client for local and remote HTTP testing.

METHODS

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

new

my $client = Mojo::Test::Client->new;

process_all_ok

my @transactions = $client->process_all_ok([$tx1, $tx2], 'app test');