Subject: | Broken with Test-Simple alphas |
A new Test-Simple will be released in the near future, the alphas are already in blead.
These alphas are a significant refactor of the Test::Builder internals in order to make it easier to extend and add fancy behavior, such as that from your module! Unfortunately your module accomplishes what it does by altering Core Test::Builder behavior in ways that break with the new internals.
In the case of this module I actually think it might have been better to export entirly new subs (psubtest and wait_subtests for example) that accomplish the behavior without changing the behavior out from any other module that happens to use subtests. Of course if your goal was to alter the behavior en-mass for a lot of existing subtests then this alternate approach would no suffice :-)
Anyway, I would be happy to work with you on updating your module to work with the new alphas, regardless of which approach you want to implement. If you need new API hooks or features to support your module I can add them to Test::* for you.
Anyway, here is a list of related new features in the alphas to spark your interest:
Support for testing code that forks (using this would reduce the size of your module significantly as the inter-process syncing is done for you!)
Support for adding follow-up behavior that is auto-run at the end of the test (either by done_testing, or the existing exit magic when done_testing is not used) This would make your done_testing monkeypatch unnecessary