# New Ticket Created by  James Keenan 
# Please include the string:  [perl #43323]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=43323 >


Write unit tests for config/init/install.pm, 
the module whose functionality executes Parrot 
configuration step init::install.

Some tests have already been written for this module in the 
'reconfigure' branch of the Parrot repository; see 
t/configure/103-init_install.t in that branch
(http://svn.perl.org/parrot/branches/reconfigure/).

Some hints for how to proceed with testing may be found 
in that test file as well, including the following:

"This file ought to test what happens when you provide a
non-default directory to each of the options in config/init/install.  For
testing purposes, these directories probably do not have to be real.  You
should probably test the Parrot::Configure object before and after calling
runsteps() in order to verify that the non-defaults made it into the object."

Reports of the extent to which tests in the 'reconfigure' 
branch's t/configure/ directory cover the code in 
config/*/*.pm packages may be found here:  
http://thenceforward.net/parrot/coverage/configure-build/coverage.html

Happy hacking!

kid51

Reply via email to