How to Install and Uninstall libtest-mockdbi-perl Package on Ubuntu 16.04 LTS (Xenial Xerus)
Last updated: November 07,2024
1. Install "libtest-mockdbi-perl" package
Please follow the guidelines below to install libtest-mockdbi-perl on Ubuntu 16.04 LTS (Xenial Xerus)
$
sudo apt update
Copied
$
sudo apt install
libtest-mockdbi-perl
Copied
2. Uninstall "libtest-mockdbi-perl" package
This guide covers the steps necessary to uninstall libtest-mockdbi-perl on Ubuntu 16.04 LTS (Xenial Xerus):
$
sudo apt remove
libtest-mockdbi-perl
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the libtest-mockdbi-perl package on Ubuntu 16.04 LTS (Xenial Xerus)
Package: libtest-mockdbi-perl
Priority: optional
Section: universe/perl
Installed-Size: 98
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Perl Group
Architecture: all
Version: 0.70-1
Depends: perl, libclone-perl, libdbi-perl, libtest-differences-perl, libtest-mockobject-perl, libtest-warn-perl
Filename: pool/universe/libt/libtest-mockdbi-perl/libtest-mockdbi-perl_0.70-1_all.deb
Size: 16736
MD5sum: bd9f09d632702aefca8d8fd51cc08cdf
SHA1: 62a330e3f3e5c313d7066ff8c927c50534c20ef2
SHA256: 727a88935ca8ecb21b89e819de508d2729701a6a10118f525bd46bfeb33c2a8a
Description-en: mocked DBI interface for testing purposes
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).
Description-md5: b44ed63a1d02eb2236cf5f0cd71b9886
Homepage: https://metacpan.org/release/Test-MockDBI
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Priority: optional
Section: universe/perl
Installed-Size: 98
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Perl Group
Architecture: all
Version: 0.70-1
Depends: perl, libclone-perl, libdbi-perl, libtest-differences-perl, libtest-mockobject-perl, libtest-warn-perl
Filename: pool/universe/libt/libtest-mockdbi-perl/libtest-mockdbi-perl_0.70-1_all.deb
Size: 16736
MD5sum: bd9f09d632702aefca8d8fd51cc08cdf
SHA1: 62a330e3f3e5c313d7066ff8c927c50534c20ef2
SHA256: 727a88935ca8ecb21b89e819de508d2729701a6a10118f525bd46bfeb33c2a8a
Description-en: mocked DBI interface for testing purposes
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).
Description-md5: b44ed63a1d02eb2236cf5f0cd71b9886
Homepage: https://metacpan.org/release/Test-MockDBI
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu