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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ppisar@xxxxxxxxxx

--- Comment #11 from Petr Pisar <ppisar@xxxxxxxxxx> 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.
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review


[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]