Skip to content

Instantly share code, notes, and snippets.

@ainame
Created April 28, 2013 03:56
Show Gist options
  • Save ainame/5475811 to your computer and use it in GitHub Desktop.
Save ainame/5475811 to your computer and use it in GitHub Desktop.
use strict;
use warnings;
use Test::More;
use Test::More::Hooks;
subtest "xxxxxxxxxxx" => sub {
my $subject;
before { $subject = Foo->new; };
after { undef $subject; };
subtest "ooooooo" => sub {
isa_ok $subject, 'Foo';
};
subtest "ooooooo" => sub {
can_ok $subject, 'bar';
};
};
done_testing;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment