SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

perl-DBD-Mock rpm build for : Mageia Cauldron. For other distributions click perl-DBD-Mock.

Name : perl-DBD-Mock
Version : 1.590.0 Vendor : Mageia_Org
Release : 2.mga9 Date : 2022-03-21 13:53:30
Group : Development/Perl Source RPM : perl-DBD-Mock-1.590.0-2.mga9.src.rpm
Size : 0.15 MB
Packager : umeabot < umeabot>
Summary : Mock database driver for testing
Description :
Testing with databases can be tricky. If you are developing a system
married to a single database then you can make some assumptions about your
environment and ask the user to provide relevant connection information.
But if you need to test a framework that uses DBI, particularly a framework
that uses different types of persistence schemes, then it may be more
useful to simply verify what the framework is trying to do -- ensure the
right SQL is generated and that the correct parameters are bound.
\'DBD::Mock\' makes it easy to just modify your configuration (presumably
held outside your code) and just use it instead of \'DBD::Foo\' (like the
DBD::Pg manpage or the DBD::mysql manpage) in your framework.

There is no distinct area where using this module makes sense. (Some people
may successfully argue that this is a solution looking for a problem...)
Indeed, if you can assume your users have something like the DBD::AnyData
manpage or the DBD::SQLite manpage or if you do not mind creating a
dependency on them then it makes far more sense to use these legitimate
driver implementations and test your application in the real world -- at
least as much of the real world as you can create in your tests...

And if your database handle exists as a package variable or something else
easily replaced at test-time then it may make more sense to use the
Test::MockObject manpage to create a fully dynamic handle. There is an
excellent article by chromatic about using the Test::MockObject manpage in
this and other ways, strongly recommended. (See the SEE ALSO manpage for a
link)

RPM found in directory: /vol/rzm3/linux-mageia/distrib/cauldron/i586/media/core/release

Content of RPM  Changelog  Provides Requires

Download
ftp.icm.edu.pl  perl-DBD-Mock-1.590.0-2.mga9.noarch.rpm
ftp.icm.edu.pl  perl-DBD-Mock-1.590.0-2.mga9.noarch.rpm
ftp.icm.edu.pl  perl-DBD-Mock-1.590.0-2.mga9.noarch.rpm
ftp.icm.edu.pl  perl-DBD-Mock-1.590.0-2.mga9.noarch.rpm
     

Provides :
perl(DBD::Mock)
perl(DBD::Mock::Pool)
perl(DBD::Mock::Pool::db)
perl(DBD::Mock::Session)
perl(DBD::Mock::StatementTrack)
perl(DBD::Mock::StatementTrack::Iterator)
perl(DBD::Mock::db)
perl(DBD::Mock::dr)
perl(DBD::Mock::st)
perl-DBD-Mock

Requires :
perl >= 0:5.008001
perl(DBD::Mock::Pool)
perl(DBD::Mock::Pool::db)
perl(DBD::Mock::Session)
perl(DBD::Mock::StatementTrack)
perl(DBD::Mock::StatementTrack::Iterator)
perl(DBD::Mock::db)
perl(DBD::Mock::dr)
perl(DBD::Mock::st)
perl(DBI) >= 1.300.0
perl(List::Util) >= 1.270.0
perl(constant)
perl(strict)
perl(warnings)
perl-base >= 2:5.34.1
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsZstd) <= 5.4.18-1


Content of RPM :
/usr/share/doc/perl-DBD-Mock
/usr/share/doc/perl-DBD-Mock/Changes
/usr/share/doc/perl-DBD-Mock/LICENSE
/usr/share/doc/perl-DBD-Mock/META.json
/usr/share/doc/perl-DBD-Mock/META.yml
/usr/share/doc/perl-DBD-Mock/MYMETA.yml
/usr/share/man/man3/DBD::Mock.3pm.xz
/usr/share/man/man3/DBD::Mock::Pool.3pm.xz
/usr/share/man/man3/DBD::Mock::Pool::db.3pm.xz
/usr/share/man/man3/DBD::Mock::Session.3pm.xz
/usr/share/man/man3/DBD::Mock::StatementTrack.3pm.xz
/usr/share/man/man3/DBD::Mock::StatementTrack::Iterator.3pm.xz
/usr/share/man/man3/DBD::Mock::db.3pm.xz
/usr/share/man/man3/DBD::Mock::dr.3pm.xz
/usr/share/man/man3/DBD::Mock::st.3pm.xz
/usr/share/perl5/vendor_perl/DBD
/usr/share/perl5/vendor_perl/DBD/Mock
/usr/share/perl5/vendor_perl/DBD/Mock.pm
/usr/share/perl5/vendor_perl/DBD/Mock/Pool
/usr/share/perl5/vendor_perl/DBD/Mock/Pool.pm
/usr/share/perl5/vendor_perl/DBD/Mock/Pool/db.pm
/usr/share/perl5/vendor_perl/DBD/Mock/Session.pm
/usr/share/perl5/vendor_perl/DBD/Mock/StatementTrack
/usr/share/perl5/vendor_perl/DBD/Mock/StatementTrack.pm
/usr/share/perl5/vendor_perl/DBD/Mock/StatementTrack/Iterator.pm
/usr/share/perl5/vendor_perl/DBD/Mock/db.pm
/usr/share/perl5/vendor_perl/DBD/Mock/dr.pm
/usr/share/perl5/vendor_perl/DBD/Mock/st.pm

 
ICM