develooper Front page | perl.perl5.porters | Postings from June 2008

Re: [RFC] Dual-lifing test.pl

Thread Previous | Thread Next
From:
Jerry D. Hedden
Date:
June 30, 2008 09:55
Subject:
Re: [RFC] Dual-lifing test.pl
Message ID:
1ff86f510806300954r10eb6fe7ndb29a61d952a7321@mail.gmail.com
Jerry D. Hedden wrote:
> From what I can tell, there are well over a dozen dual-lived
> modules that incorporate test.pl into their distributions.
> Rather than continuing this trend, I would like to propose
> turning it into a module and dual-lifing it to CPAN.

Nicholas Clark wrote:
> Why are they using it, rather than something built from
> Test::Builder?  What does it offer that Test::Builder
> derived modules don't?

Jerry D. Hedden wrote:
> In my case of dual-lifing threads, threads::shared,
> Thread::Queue and Thread::Semaphore, it was because the
> tests were already written to use test.pl.  Thus, adding it
> to the distribution was easier than rewriting all the tests.
>
> I would imagine that is also the case for the other
> dual-lived modules that use test.pl, but their maintainers
> could have other reasons.  Anybody?

Additionally, test.pl has certain functionality (e.g.,
fresh_perl() and watchdog()) not found in the Test::*
modules.

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About