In all the tutorials I've read for Test::Class
, there seems to be one runner script that loads all of the classes. And I think from the perspective of Test::Harness
this is just one giant test. I don't think it can parallelize the tests inside the runner.
My X problem is that I am trying to factor out superclass behaviors when testing subclasses. Each subclass should have its own subclass test (that can be parallelized), but also exercise behaviors inherited from the superclass. How does one that?
Edit: I found these two posts from 2007 that seem to imply that what I'm asking for is incompatible/not possible. Any update since then?
- http://www.hexten.net/pipermail/tapx-dev/2007-October/001756.html (speculation for
Test::Class
to support parallelism - http://perlbuzz.com/2007/08/organizing-tests-with-testclass.html (implying that
Test::Class
andTest::Harness
are ideologically exclusive)