Do this at runtime, not compile time, so we actually do the tests without
[catagits/Catalyst-Runtime.git] / t / aggregate / unit_core_script_server-without_modules.t
CommitLineData
1a3dd976 1use strict;
2use warnings;
3use FindBin qw/$Bin/;
4use Test::More;
1b4b5aa5 5use Try::Tiny;
6
7plan skip_all => "Need Test::Without::Module for this test"
8 unless try { require Test::Without::Module; 1 };
9
1a3dd976 10use Test::Without::Module qw(
11 Starman
12 Plack::Handler::Starman
13 MooseX::Daemonize
14 MooseX::Daemonize::Pid::File
15 MooseX::Daemonize::Core
16);
17require "$Bin/../aggregate/unit_core_script_server.t";
18
bf6a6368 19Test::Without::Module->unimport(qw(
1b4b5aa5 20 Starman
21 Plack::Handler::Starman
22 MooseX::Daemonize
23 MooseX::Daemonize::Pid::File
24 MooseX::Daemonize::Core
bf6a6368 25));
1b4b5aa5 26
ed7e95f2 271;
28