# New Ticket Created by James Keenan # Please include the string: [perl #43317] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=43317 >
Write unit tests for config/init/hints.pm, the module whose functionality executes Parrot configuration step init::hints. Some tests have already been written for this module in the 'reconfigure' branch of the Parrot repository; see t/configure/105-init_hints.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: "init::hints functions as a loader for the OS-specific hints file in config/init/hints/ as well as for any locally installed hints file. So a dummy local hints file should probably be created in a temporary directory, then have its loading be tested." 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