SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

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

Name : perl-DBD-Mock
Version : 1.59 Vendor : obs://build_opensuse_org/devel:languages:perl
Release : lp154.1.1 Date : 2023-01-27 16:19:59
Group : Unspecified Source RPM : perl-DBD-Mock-1.59-lp154.1.1.src.rpm
Size : 0.19 MB
Packager : https://www_suse_com/
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 DBD::Pg
or DBD::mysql) 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 DBD::AnyData or
DBD::SQLite 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
Test::MockObject to create a fully dynamic handle. There is an excellent
article by chromatic about using Test::MockObject in this and other ways,
strongly recommended. (See SEE ALSO for a link)

RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-D/15.4/noarch

Content of RPM  Provides Requires

Download
ftp.icm.edu.pl  perl-DBD-Mock-1.59-lp154.1.1.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(:MODULE_COMPAT_5.26.1)
perl(DBI) >= 1.3
perl(List::Util) >= 1.27
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1


Content of RPM :
/usr/lib/perl5/vendor_perl/5.26.1/DBD
/usr/lib/perl5/vendor_perl/5.26.1/DBD/Mock
/usr/lib/perl5/vendor_perl/5.26.1/DBD/Mock.pm
/usr/lib/perl5/vendor_perl/5.26.1/DBD/Mock/Pool
/usr/lib/perl5/vendor_perl/5.26.1/DBD/Mock/Pool.pm
/usr/lib/perl5/vendor_perl/5.26.1/DBD/Mock/Pool/db.pm
/usr/lib/perl5/vendor_perl/5.26.1/DBD/Mock/Session.pm
/usr/lib/perl5/vendor_perl/5.26.1/DBD/Mock/StatementTrack
/usr/lib/perl5/vendor_perl/5.26.1/DBD/Mock/StatementTrack.pm
/usr/lib/perl5/vendor_perl/5.26.1/DBD/Mock/StatementTrack/Iterator.pm
/usr/lib/perl5/vendor_perl/5.26.1/DBD/Mock/db.pm
/usr/lib/perl5/vendor_perl/5.26.1/DBD/Mock/dr.pm
/usr/lib/perl5/vendor_perl/5.26.1/DBD/Mock/st.pm
/usr/share/doc/packages/perl-DBD-Mock
/usr/share/doc/packages/perl-DBD-Mock/CONTRIBUTING.md
/usr/share/doc/packages/perl-DBD-Mock/Changes
/usr/share/doc/packages/perl-DBD-Mock/README.md
/usr/share/doc/packages/perl-DBD-Mock/minil.toml
/usr/share/licenses/perl-DBD-Mock
/usr/share/licenses/perl-DBD-Mock/LICENSE
/usr/share/man/man3/DBD::Mock.3pm.gz
/usr/share/man/man3/DBD::Mock::Pool.3pm.gz
/usr/share/man/man3/DBD::Mock::Pool::db.3pm.gz
/usr/share/man/man3/DBD::Mock::Session.3pm.gz
/usr/share/man/man3/DBD::Mock::StatementTrack.3pm.gz
/usr/share/man/man3/DBD::Mock::StatementTrack::Iterator.3pm.gz
/usr/share/man/man3/DBD::Mock::db.3pm.gz
/usr/share/man/man3/DBD::Mock::dr.3pm.gz
/usr/share/man/man3/DBD::Mock::st.3pm.gz

 
ICM