Re: fork and tests: making it easier

2012-08-06 Thread Leon Timmermans
On Sun, Aug 5, 2012 at 4:02 AM, Michael G Schwern wrote: > On second thought, this has to be turned on explicitly for implementation > reasons, so there's no backwards compat issue. "use Test::SharedFork" would > simply turn on that feature in Test::Builder 1.5 providing a way to smoothly > trans

Re: fork and tests: making it easier

2012-08-04 Thread Michael G Schwern
On second thought, this has to be turned on explicitly for implementation reasons, so there's no backwards compat issue. "use Test::SharedFork" would simply turn on that feature in Test::Builder 1.5 providing a way to smoothly transition between 0.9x and 1.5. See https://github.com/schwern/test-m

fork and tests: making it easier

2012-08-04 Thread Michael G Schwern
Executive Summary: I propose Test::Builder 1.5 makes writing tests using fork as easy as writing tests using threads is. Test::Builder will handle the coordination for you. Downside: this breaks existing behavior. Rebutal: if you're testing with fork your tests are probably broken with Test::Bu