[perl #43313] [TODO] config/inter/yacc.pm:  Write unit tests  # New Ticket Created by  James Keenan 
# Please include the string:  [perl #43313]
# in the subject line of all future correspondence about this issue. 
# 


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

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

"Since inter::yacc probes for the yacc program
found on a particular OS, it will probably be difficult to achieve high
branch or condition coverage.  Check latest reports of Parrot
configuration tools testing coverage to see where your time is best
devoted.  You will have to determine a way to test a user response to
a prompt."

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

