App-SuperviseMe
view release on metacpan or search on metacpan
"requires" : {
"AnyEvent" : "0",
"perl" : "5.006"
}
},
"test" : {
"requires" : {
"File::Temp" : "0",
"IO::String" : "0",
"Test::Deep" : "0",
"Test::Fatal" : "0",
"Test::More" : "0.98"
}
}
},
"provides" : {
"App::SuperviseMe" : {
"file" : "lib/App/SuperviseMe.pm",
"version" : "0.004"
}
},
---
abstract: 'very simple command superviser'
author:
- 'Pedro Melo <melo@simplicidade.org>'
build_requires:
File::Temp: 0
IO::String: 0
Test::Deep: 0
Test::Fatal: 0
Test::More: 0.98
configure_requires:
ExtUtils::MakeMaker: 6.30
dynamic_config: 0
generated_by: 'Dist::Zilla version 4.300038, CPAN::Meta::Converter version 2.132510'
license: artistic_2
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: 1.4
name: App-SuperviseMe
Makefile.PL view on Meta::CPAN
],
"LICENSE" => "artistic_2",
"NAME" => "App::SuperviseMe",
"PREREQ_PM" => {
"AnyEvent" => 0
},
"TEST_REQUIRES" => {
"File::Temp" => 0,
"IO::String" => 0,
"Test::Deep" => 0,
"Test::Fatal" => 0,
"Test::More" => "0.98"
},
"VERSION" => "0.004",
"test" => {
"TESTS" => "t/*.t"
}
);
unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
t/01-new_with_options.t view on Meta::CPAN
#!perl
use strict;
use warnings;
use Test::More;
use Test::Deep;
use Test::Fatal;
use App::SuperviseMe;
use IO::String;
subtest 'basic constructor' => sub {
my $sm;
is(exception { $sm = App::SuperviseMe->new(cmds => ['a']) }, undef, 'new() lives with a simple command');
ok($sm, '... got something back');
is(ref($sm), 'App::SuperviseMe', '... of the proper type');
cmp_deeply($sm->{cmds}, [{ cmd => ['a'] }], '... with the expected command list');
( run in 2.000 seconds using v1.01-cache-2.11-cpan-54e63673c56 )