Re: Test::Builder feature request

2007-01-12 Thread Nadim Khemir
Hi, On Friday 12 January 2007 01:49, [EMAIL PROTECTED] wrote: > You don’t have to use objects to get the same end effects as mocking > objects. Right! Now, as my "devil's advocate" signature tried to show, this thread is for the fun of the discussion. I'm sure all of use, and Ovid more than th

Module::Build and the Test Harness Report in the CPAN Testers

2007-01-12 Thread Shlomi Fish
Hi all! In this message to Israel.PM: http://perl.org.il/pipermail/perl/2006-September/008165.html Yuval Kogman claimed that Module::Build generates CPAN testers reports with no output from the test harness. Now, I released Math::GrahamFunction, which is based on Module::Build, a few days ago

Re: Module::Build and the Test Harness Report in the CPAN Testers

2007-01-12 Thread David Golden
On 1/12/07, Shlomi Fish <[EMAIL PROTECTED]> wrote: Yuval Kogman claimed that Module::Build generates CPAN testers reports with no output from the test harness. Now, I released Math::GrahamFunction, which is based on Module::Build, a few days ago and today received this failure error report: http

Re: Module::Build and the Test Harness Report in the CPAN Testers

2007-01-12 Thread Sébastien Aperghis-Tramoni
Shlomi Fish wrote: Hi all! Hello Shlomi, Yuval Kogman claimed that Module::Build generates CPAN testers reports with no output from the test harness. Now, I released Math::GrahamFunction, which is based on Module::Build, a few days ago and today received this failure error report: htt

Test Coverage vs. Refactoring

2007-01-12 Thread Shlomi Fish
As I've been increasing the test coverage of XML::RSS, something has occured to me. Let's suppose we have the following pseaudo-code: << sub func1 { my ($self, @params) = @_; . . . if (COND) { $self->do_something(...); }

Re: Test Coverage vs. Refactoring

2007-01-12 Thread Ovid
--- Shlomi Fish <[EMAIL PROTECTED]> wrote: > This is naturally a limitation of test coverage in general which only > checks > coverage for individual code atoms, and not for all the different > paths of > execution (their Cartesian products). Regrettably, the while code coverage is generally fa

Re: Test::Builder feature request

2007-01-12 Thread Michael G Schwern
chromatic wrote: > (I know; it's not exactly what you were asking. I just wanted to get that in > a public mailing list so I could call that the "Star Trek: Generations" > fallacy. You steal a spaceship, which flies through space, to fly through > space to a planet, flying through space, where

Re: Test Coverage vs. Refactoring

2007-01-12 Thread A. Pagaltzis
* Ovid <[EMAIL PROTECTED]> [2007-01-13 00:25]: > I know of one gentleman who described his problem of having a > Chain of Responsibility pattern where every step of the chain, > properties stored in a database could alter the outcome. There > were, at last count, 50,000 properties in the database.