perl-DBD-Mock-1.45-alt1_20.noarch.rpm


Advertisement

Description

perl-DBD-Mock - Mock database driver for testing

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package filename perl-DBD-Mock-1.45-alt1_20.noarch.rpm
Package name perl-DBD-Mock
Package version 1.45
Package release alt1_20
Package architecture noarch
Package type rpm
Category Development/Other
Homepage -
License -
Maintainer -
Download size 86.73 KB
Installed size 86.73 KB
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.

Alternatives

Package Version Architecture Repository
perl-DBD-Mock - - -

Requires

Name Value
/usr/share/perl5 -
perl(DBI.pm) >= 1.300
perl(constant.pm) -
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(DBD/Mock.pm) = 1.450
perl(DBD/Mock/Pool.pm) -
perl(DBD/Mock/Pool/db.pm) -
perl(DBD/Mock/Session.pm) -
perl(DBD/Mock/StatementTrack.pm) -
perl(DBD/Mock/StatementTrack/Iterator.pm) -
perl(DBD/Mock/db.pm) -
perl(DBD/Mock/dr.pm) -
perl(DBD/Mock/st.pm) -
perl-DBD-Mock = 1.45-alt1_20

Download

Type URL
Mirror ftp.altlinux.org
Binary Package perl-DBD-Mock-1.45-alt1_20.noarch.rpm
Source Package perl-DBD-Mock-1.45-alt1_20.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-DBD-Mock rpm package:
    # sudo apt-get install perl-DBD-Mock

Files

Path
/usr/share/doc/perl-DBD-Mock-1.45/Changes
/usr/share/doc/perl-DBD-Mock-1.45/README
/usr/share/perl5/DBD/Mock.pm
/usr/share/perl5/DBD/Mock/Pool.pm
/usr/share/perl5/DBD/Mock/Session.pm
/usr/share/perl5/DBD/Mock/StatementTrack.pm
/usr/share/perl5/DBD/Mock/db.pm
/usr/share/perl5/DBD/Mock/dr.pm
/usr/share/perl5/DBD/Mock/st.pm
/usr/share/perl5/DBD/Mock/Pool/db.pm
/usr/share/perl5/DBD/Mock/StatementTrack/Iterator.pm

See Also

Package Description
perl-DBD-Multiplex-2.11-alt1.noarch.rpm A multiplexing driver for the DBI
perl-DBD-Neo4p-0.1004-alt1.noarch.rpm DBI-compliant interface for Neo4j server
perl-DBD-Ovrimos-0.12-alt1.noarch.rpm perl module DBD-Ovrimos
perl-DBD-PO-2.10-alt1.noarch.rpm DBD::PO - DBI driver for PO files
perl-DBD-PassThrough-0.02-alt1.noarch.rpm Pass through DBD
perl-DBD-PgLite-0.11-alt1.noarch.rpm perl module DBD-PgLite
perl-DBD-PgPPSjis-0.0801008-alt1.noarch.rpm Pure Perl PostgreSQL driver for (not raw) ShiftJIS
perl-DBD-Redbase-0.22-alt1.noarch.rpm perl module DBD-Redbase
perl-DBD-SQLite-FTS3Transitional-1.00-alt1.noarch.rpm The great new DBD::SQLite::FTS3Transitional!
perl-DBD-Safe-0.06-alt1.noarch.rpm keep safe connection to DB
perl-DBD-Salesforce-0.04-alt1.noarch.rpm perl module DBD-Salesforce
perl-DBD-Simulated-0.01-alt1.noarch.rpm Fake DBI database driver simulating a database for testing error checks
perl-DBD-Sprite-6.12-alt1.noarch.rpm perl module DBD-Sprite
perl-DBD-Sprite-scripts-6.12-alt1.noarch.rpm perl-DBD-Sprite scripts
perl-DBD-Sys-0.102-alt1.noarch.rpm System tables interface via DBI
Advertisement
Advertisement