Revision history for Perl extension MooseX::SimpleConfig
+0.02 - Dec 19, 2007
+ - Skip the tests if neither of YAML or YAML::Syck is
+ installed (but don't make it a test requirement,
+ some people won't be using this with YAML at all).
+
0.01 - Dec 18, 2007
- Initial release
use strict;
use warnings;
-use Test::More tests => 6;
-
use lib 't/lib';
use lib '../t/lib';
BEGIN {
+ use Test::More;
+
+ eval "use YAML::Syck ()";
+ if($@) {
+ eval "use YAML ()";
+ if($@) {
+ plan skip_all => "YAML or YAML::Syck required for this test";
+ }
+ }
+
+ plan tests => 6;
+
use_ok('MXSimpleConfigTest');
}