Skip Menu |

This queue is for tickets about the Test-ParallelSubtest CPAN distribution.

Report information
The Basics
Id: 100757
Status: open
Priority: 0/
Queue: Test-ParallelSubtest

People
Owner: Nobody in particular
Requestors: exodist7 [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.05
Fixed in: (no value)



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
Ooops, here is the Test-Simple issue related to this: https://github.com/Test-More/test-more/issues/508
On 2014-12-06 18:11:20, EXODIST wrote: Show quoted text
> Ooops, > > here is the Test-Simple issue related to this: > > https://github.com/Test-More/test-more/issues/508
It's still broken with the latest Test-Simple release https://metacpan.org/release/EXODIST/Test-Simple-1.302014_001 which is about to be released as a stable version soon.