batterseapower/test-framework — pull request #53 by benjamin-surma (2013-07-10 07:48:40+00:00)
Title: Unhide the Test.Framework.Runners.Console.TestPattern module

Doing this allows the user to make full use of the parsed RunnerOptions obtained with interpretArgs from the Test.Framework.Runners.Console module.

This is especially useful with dynamically generated tests; knowing that a test would be filtered anyway due to the command-line parameters allows the user to skip its generation altogether.

Without this patch, although the RunnerOptions ropt_test_patterns property is available, the TestPattern definition and the testPatternMatches function are hidden from the user, rendering the feature unusable except by Test.Framework itself.