5 'MooseX::SimpleConfig'; # skip all if not installed
7 # respect the configfile value passed into the constructor.
9 use Test::More tests => 2;
14 with 'MooseX::Getopt', 'MooseX::SimpleConfig';
17 is => 'ro', isa => 'Str',
18 default => 'foo default',
24 local $TODO = "doh, this doesn't work!";
26 my $configfile = 't/112_configfile_constructor_arg.yml';
28 my $obj = Foo->new_with_options(configfile => $configfile);
33 'configfile value is used from the constructor',
38 'value is read in from the config file',