[Bug 483045] Review Request: perl-Test-Unit-Lite - Unit testing without external dependencies

bugzilla at redhat.com bugzilla at redhat.com
Wed Jun 22 08:42:17 UTC 2011


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=483045

Petr Pisar <ppisar at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ppisar at redhat.com

--- Comment #11 from Petr Pisar <ppisar at redhat.com> 2011-06-22 04:42:07 EDT ---
perl-Test-Unit-Lite does not Provide the private modules now, but it still
Requires them (because dependency generator see they are used in the code).

I think perl-Test-Unit-Lite should filter the same requires too, because
intentional use, according to documentation, is:

use Test::Unit::Lite;
use base 'Test::Unit::TestCase';

Also documentation qualifies this package as Unit testing _without external
dependencies_.

On the other hand, I do not understand synopsis:

 Using as a replacement for Test::Unit:

         package FooBarTest;
         use Test::Unit::Lite;   # unnecessary if module isn't directly used
         use base 'Test::Unit::TestCase';

How application could do "use base 'Test::Unit::TestCase';", if there were no
"use Test::Unit::Lite;". In my opinion application must "use Test::Unit::Lite;"
to get Test::Unit::TestCase accessible (as Test::Unit::TestCase is not loadable
by path from @INC).

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the package-review mailing list