| June 27, 2007 | Component-Focused Testing | Back Next | 
Test the methods
        eval {
          $self = Parrot::Pmc2c::Utils->new( {
              opt     => \%opt,
              args    => [ @args ],
          } );
        };
        like($@,
            qr/Must have key 'include': ref to array of directories/,
            "Constructor correctly failed due to lack of 'include' key");
continued...
| Home Last TOC | Copyright © 2007 James E Keenan | Back Next |