How to Install and Uninstall phpunit-dbunit Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 20,2024

1. Install "phpunit-dbunit" package

This is a short guide on how to install phpunit-dbunit on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install phpunit-dbunit

2. Uninstall "phpunit-dbunit" package

This tutorial shows how to uninstall phpunit-dbunit on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove phpunit-dbunit $ sudo apt autoclean && sudo apt autoremove

3. Information about the phpunit-dbunit package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: phpunit-dbunit
Priority: optional
Section: universe/php
Installed-Size: 333
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP PEAR Maintainers
Architecture: all
Version: 2.0.2-1ubuntu1
Depends: php-cli, php-common, phpunit, php-symfony-yaml
Filename: pool/universe/p/phpunit-dbunit/phpunit-dbunit_2.0.2-1ubuntu1_all.deb
Size: 36100
MD5sum: 4f9a972f454f0883a8e459e78ff70e48
SHA1: 1c14b5e3a68e5418a0d03173aa315fae1d269a17
SHA256: d37851653584f5484c10e5d70bf9da189d3cee19fd0b55f7906628e3f528ebb1
Description-en: DbUnit port for PHP/PHPUnit to support database interaction testing
DBUnit is an extension to PHPUnit, that "has been created to provide
an easy way to place your database in a known state, execute your
database-affecting code, and ensure that the expected data is found
in the database.", quoting the PHPUnit manual.
.
PHPUnit is a unit testing suite for the PHP language, modelled on the xUnit
testing framework, designed by Kent Beck and Erich Gamma. If you've used
JUnit (for Java), PyUnit (for Python), CxxUnit (for C++), or any of the
other equivalents for other languages, the API for this package should seem
fairly familiar. If you've never written unit tests before, the PHPUnit
API is simple to learn and use.
Description-md5: 7da64f8a9ffc5a60d57d84723206701c
Homepage: https://github.com/sebastianbergmann/dbunit
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu