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


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

Some tests have already been written for this module in the 
'reconfigure' branch of the Parrot repository; see 
t/configure/114-inter_shlibs.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:

"Check latest reports of Parrot configuration
tools testing coverage to see where your time available for writing
tests is spent.  You will have to determine a way to test a user
response to a prompt. Note the comment in POD:  "This is a separate
unit from config/inter/progs.pm because the answers depend on which
compiler is in use.  Thus it should come after the gccversion test."
This may affect how the tests in this file are set up."

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