http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7304
--- Comment #14 from Jared Camins-Esakov <[email protected]> --- (In reply to comment #13) > There is a way of marking Perl modules as optional or required in > C4/Installer/PerlDependencies.pm. If it's not required, one adds a note > about what feature or context it could be used in. > > Looks like this module is indeed packaged for Debian (or at least old > Ubuntu), so it wouldn't give us too many problems there. But I'd like to > avoid new dependencies wherever possible, as it makes it that much harder to > install Koha, and adds one more piece of the puzzle that we don't have > direct control over. I would like to see Test::MockModule as an optional dependency, at least, and I think there is a strong argument for making it a required dependency. My plan for the Test::WWW::Mechanize tests is to add a t/www directory for all the tests that require a configured installation. If there is a concern with Test::MockModule, perhaps we should have a t/mock directory for those tests? > What's the goal of Test::MockModule? What is it doing, and how? jcamins is > working on a testing suite using HTML::Recorder and Test::WWW::Mechanize... > is there any overlap here? I encourage discussion here. Test::MockModule is used for selectively overriding methods for testing. This could be used to write unit tests that test both MARC21 and UNIMARC in one run, for example. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
