Re: Relying more on Mouse

Michael G Schwern <[email protected]>
Newsgroups gmane.comp.lang.perl.quality-assurance
Message-ID <[email protected]>
On 2011.11.21 4:07 AM, David Cantrell wrote:
> But then how often does one need to 'use Test::More'?  Not enough to
> bother optimising it, I'd say.

In every single .t file that gets run by just about everybody.

By being THE testing framework, it places an upper bound on how fast anyone's
tests can be.  10 .t files per second, no faster.  That sucks.


> To take a real-world example, it occurs 182 times in our test suite at
> work, a test suite that takes almost 2 hours to run in full.  Those
> extra 182 * 0.07 == 13 seconds are of absolutely no importance at all.

I run tests a lot while developing.  I can see they're slower without even
benchmarking it.  You wouldn't think you'd notice 70 ms, but you do.

I don't want to give anyone an excuse to not run tests often or not upgrade.


-- 
Just call me 'Moron Sugar'.
	http://www.somethingpositive.net/sp05182002.shtml
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.