libtest-mockdbi-perl - mocked DBI interface for testing purposes

Property Value
Distribution Debian 10 (Buster)
Repository Debian Main i386
Package filename libtest-mockdbi-perl_0.70-1_all.deb
Package name libtest-mockdbi-perl
Package version 0.70
Package release 1
Package architecture all
Package type deb
Category devel::lang:perl devel::library implemented-in::perl perl
License -
Maintainer Debian Perl Group <>
Download size 17.78 KB
Installed size 99.00 KB
Test::MockDBI has a major advantage over DBI::trace()
or DBD::Mock -- Test::MockDBI lets you change how the
mocked DBI functions behave, along with modifying
what data is returned by the mocked DBI functions.
These changes and modifications can be made specific
to particular SQL statement patterns.
This ability to modify DBI function behavior and
DBI-returned data makes it easier to test code that has
different branches for different DBI behaviors -- you
can test that a failure within DBI or returned DB data
that is different than normal is processed correctly by
your module or program.  If you are taking over a large
code base, Test::MockDBI will help in understanding the
code by allowing you to safely check how the code behaves
under different database conditions without modifying any
databases (production or otherwise).


Package Version Architecture Repository
libtest-mockdbi-perl_0.70-1_all.deb 0.70 all Debian Main
libtest-mockdbi-perl - - -


Name Value
libclone-perl -
libdbi-perl -
libtest-differences-perl -
libtest-mockobject-perl -
libtest-warn-perl -
perl -


Type URL
Binary Package libtest-mockdbi-perl_0.70-1_all.deb
Source Package libtest-mockdbi-perl

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install libtest-mockdbi-perl deb package:
    # sudo apt-get install libtest-mockdbi-perl




2015-02-28 - Christopher Hoskin <>
libtest-mockdbi-perl (0.70-1) unstable; urgency=low
* Initial Release. Closes: #779445

See Also

Package Description
libtest-mockmodule-perl_0.170.0-1_all.deb Perl module to override subroutines in a module for unit testing
libtest-mockobject-perl_1.20180705-1_all.deb Perl extension for emulating troublesome interfaces
libtest-mockrandom-perl_1.01-1_all.deb module to replace random number generation with non-random number generation
libtest-mocktime-datecalc-perl_6+ds-1_all.deb testing utility to fake time for Date::Calc
libtest-mocktime-perl_0.17-1_all.deb module to simulate time in tests
libtest-modern-perl_0.013-2_all.deb precision testing for modern perl
libtest-module-used-perl_0.2.6-1_all.deb module for testing whether a module is used
libtest-mojibake-perl_1.3-1_all.deb module to check source for encoding misbehavior
libtest-moose-more-perl_0.050-1_all.deb collection of tools for testing Moose packages
libtest-more-utf8-perl_0.05-1_all.deb enhance Test::More for UTF8-based projects
libtest-most-perl_0.35-1_all.deb Perl module with the most commonly needed test functions and features
libtest-name-fromline-perl_0.13-1_all.deb auto fill test names from caller line
libtest-needs-perl_0.002005-1_all.deb module to skip tests when modules are not available
libtest-needsdisplay-perl_1.07-3_all.deb module to ensure that tests needing a display have one
libtest-net-ldap-perl_0.07-1_all.deb Net::LDAP subclass for testing