名称
Test::Clear - 简单的测试模块
概要
use Test::Clear;
use MyModule;
my $module = MyModule->new;
case "basically name:{name}" => { name => 'hixi' }, sub {
my $dataset = @_;
my $ret = $module->get_person($dataset->{name});
is $ret, xxxxx;
};
# Subtest: basically name:hixi
# ok 1
subtest 'optional test case' => sub {
my $guard = todo_scope 'not yet implementated';
fail;
};
描述
Test::Clear
2021-07-02 15:03:44
14KB
Perl
1