perl-DBD-Mock - Mock database driver for testing

Property Value
Distribution CentOS 6
Repository Open Fusion x86_64
Package filename perl-DBD-Mock-1.45-1.of.el6.noarch.rpm
Package name perl-DBD-Mock
Package version 1.45
Package release 1.of.el6
Package architecture noarch
Package type rpm
Category Development/Libraries
License GPL+ or Artistic
Maintainer -
Download size 45.44 KB
Installed size 102.97 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.


Package Version Architecture Repository
perl-DBD-Mock-1.45-1.of.el6.noarch.rpm 1.45 noarch Open Fusion
perl-DBD-Mock-1.39-1.el6.rf.noarch.rpm 1.39 noarch Repoforge (RPMforge)
perl-DBD-Mock-1.39-1.el6.rf.noarch.rpm 1.39 noarch Repoforge (RPMforge)
perl-DBD-Mock - - -


Name Value
perl(:MODULE_COMPAT_5.10.1) -
perl(DBI) >= 1.3
perl(Test::Exception) >= 0.31
perl(Test::More) >= 0.47


Name Value
perl(DBD::Mock) = 1.45
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 = 1.45-1.of.el6


Type URL
Binary Package perl-DBD-Mock-1.45-1.of.el6.noarch.rpm
Source Package perl-DBD-Mock-1.45-1.of.el6.src.rpm

Install Howto

  1. Download latest openfusion-release rpm from
  2. Install openfusion-release rpm:
    # rpm -Uvh openfusion-release*rpm
  3. Install perl-DBD-Mock rpm package:
    # yum install perl-DBD-Mock




2013-01-29 - Gavin Carr <> 1.45-1
- Specfile autogenerated by cpanspec 1.79.

See Also

Package Description
perl-DBD-MySQL-4.019-1.of.el6.x86_64.rpm MySQL driver for the Perl5 Database Interface (DBI)
perl-DBD-MySQL-4.033-1.of.el6.x86_64.rpm MySQL driver for the Perl5 Database Interface (DBI)
perl-DBD-Pg-2.17.2-1.of.el6.x86_64.rpm PostgreSQL database driver for the DBI module
perl-DBD-SQLite-1.31-1.of.el6.x86_64.rpm Self-contained RDBMS in a DBI Driver
perl-DBD-SQLite-1.35-1.of.el6.x86_64.rpm Self-contained RDBMS in a DBI Driver
perl-DBD-SQLite-1.42-1.of.el6.x86_64.rpm Self-contained RDBMS in a DBI Driver
perl-DBI-1.616-1.of.el6.x86_64.rpm Database independent interface for Perl
perl-DBICx-TestDatabase-0.04-1.of.el6.noarch.rpm Create a temporary database from a DBIx::Class::Schema
perl-DBIx-Admin-CreateTable-2.10-1.of.el6.noarch.rpm DBIx::Admin::CreateTable Perl module
perl-DBIx-Class-0.08127-1.of.el6.noarch.rpm Extensible and flexible object <-> relational mapper
perl-DBIx-Class-0.08196-1.of.el6.noarch.rpm Extensible and flexible object <-> relational mapper
perl-DBIx-Class-0.08204-1.of.el6.noarch.rpm Extensible and flexible object <-> relational mapper
perl-DBIx-Class-0.08209-1.of.el6.noarch.rpm Extensible and flexible object <-> relational mapper
perl-DBIx-Class-0.08270-1.of.el6.noarch.rpm Extensible and flexible object <-> relational mapper
perl-DBIx-Class-0.082820-1.of.el6.noarch.rpm Extensible and flexible object <-> relational mapper