Re: Speeding up long-running test suites

2007-11-25 Thread Ovid
--- "A. Pagaltzis" <[EMAIL PROTECTED]> wrote:

> * Ovid <[EMAIL PROTECTED]> [2007-11-23 18:30]:
> > Test::Class can speed up your your tests by ensuring that perl
> > and related modules are loaded only once. I was thinking about
> > how this could be done with normal .t files
> 
> http://search.cpan.org/dist/PPerl/ ?

That often fails to install and internally it forks, giving up much of
the performance benefit I want.

In the meantime, I've just uploaded a proof of concept named
"Test::Aggregate" because it attempts to take a bunch of tests and
aggregate them together.

Cheers,
Ovid

--
Buy the book  - http://www.oreilly.com/catalog/perlhks/
Perl and CGI  - http://users.easystreet.com/ovid/cgi_course/
Personal blog - http://publius-ovidius.livejournal.com/
Tech blog - http://use.perl.org/~Ovid/journal/


Re: Speeding up long-running test suites

2007-11-23 Thread A. Pagaltzis
* Ovid <[EMAIL PROTECTED]> [2007-11-23 18:30]:
> Test::Class can speed up your your tests by ensuring that perl
> and related modules are loaded only once. I was thinking about
> how this could be done with normal .t files

http://search.cpan.org/dist/PPerl/ ?

-- 
*AUTOLOAD=*_;sub _{s/(.*)::(.*)/print$2,(",$\/"," ")[defined wantarray]/e;$1}
&Just->another->Perl->hack;
#Aristotle Pagaltzis //