Re: Feedback on the undocumented --rules option for 'prove'

James E Keenan <[email protected]>
Newsgroups gmane.comp.lang.perl.quality-assurance
Message-ID <[email protected]>
On 8/17/12 3:53 PM, Mark Stosberg wrote:
>
> In 2008 Alex Vandiver contributed a patch to "prove" that allowed you to
> specify that you wanted some tests to run in parallel and others in
> serial. This is a great feature for those of us with large test suites
> that would like to test advantage of parallism, but have suites that
> aren't 100% parallel-ready. I'm grateful that work was done.
>
> The feature was considered experimental, and was not documented in
> `prove`. From what I can tell it has remained largely undiscovered, and
> is still remains in the same state about 4 years later.
>

And it's not alone in being undocumented.  Go to 
http://search.cpan.org/~ovid/Test-Harness-3.25/lib/App/Prove.pm#Attributes 
and note that 'rules' is one of over 40 attributes which are described 
as existing but are otherwise undocumented.

However, I see that 'rules' is the subject of testing in t/scheduler.t. 
  Do the individual tests in that file give you any clue as to how to 
proceed?

Thank you very much.
Jim Keenan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.