
Angerwhale::Test - Test Angerwhale

use Angerwhale::Test (description => 'test blog',
title => 'test blog',);
my $mech = Angerwhale::Test->new;
my $tmp = $mech->tmp;
# post an article
$tmp->touch('article1', "This is an article.");
$mech->get_ok('http://localhost/articles/article1');
return;
# article is cleaned up automatically

Subclasses Test::WWW::Mechanize::Catalyst.
Import the module, setup config, create tmp basedir.
Create a new Mech object (etc.).
Return Directory::Scratch object representing temp dir.
Post a new article. Args are title, body, type ...
Optionally you can pass a string instead of args, in which case the string will be the title and the body.