How to Install and Uninstall python3-hamcrest Package on Ubuntu 16.04 LTS (Xenial Xerus)
Last updated: November 22,2024
1. Install "python3-hamcrest" package
Please follow the guidance below to install python3-hamcrest on Ubuntu 16.04 LTS (Xenial Xerus)
$
sudo apt update
Copied
$
sudo apt install
python3-hamcrest
Copied
2. Uninstall "python3-hamcrest" package
Please follow the steps below to uninstall python3-hamcrest on Ubuntu 16.04 LTS (Xenial Xerus):
$
sudo apt remove
python3-hamcrest
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the python3-hamcrest package on Ubuntu 16.04 LTS (Xenial Xerus)
Package: python3-hamcrest
Priority: optional
Section: universe/python
Installed-Size: 175
Maintainer: Ubuntu Developers
Original-Maintainer: David Villa Alises
Architecture: all
Source: pyhamcrest
Version: 1.8.0-1
Depends: python3:any (>= 3.3.2-2~), python3-pkg-resources
Filename: pool/universe/p/pyhamcrest/python3-hamcrest_1.8.0-1_all.deb
Size: 22744
MD5sum: 9a6fae10121991b4c076703a25ae659e
SHA1: 47b7de0076a9a826db571cf6c4409b6778b3f66a
SHA256: 02d10e39e6e5f00e80df120eee7c9ab5f25374d6cc29f95dbf590bbfa492a95c
Description-en: Hamcrest framework for matcher objects (Python 3)
PyHamcrest is a framework for writing matcher objects, allowing you to
declaratively define "match" rules. There are a number of situations where
matchers are invaluable, such as UI validation, or data filtering, but it is in
the area of writing flexible tests that matchers are most commonly used. This
tutorial shows you how to use PyHamcrest for unit testing.
.
When writing tests it is sometimes difficult to get the balance right between
overspecifying the test (and making it brittle to changes), and not specifying
enough (making the test less valuable since it continues to pass even when the
thing being tested is broken). Having a tool that allows you to pick out
precisely the aspect under test and describe the values it should have, to a
Description-md5: ab0fbd3c28614fb7d01e5a43b7a2e3a3
Homepage: http://code.google.com/p/hamcrest
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Priority: optional
Section: universe/python
Installed-Size: 175
Maintainer: Ubuntu Developers
Original-Maintainer: David Villa Alises
Architecture: all
Source: pyhamcrest
Version: 1.8.0-1
Depends: python3:any (>= 3.3.2-2~), python3-pkg-resources
Filename: pool/universe/p/pyhamcrest/python3-hamcrest_1.8.0-1_all.deb
Size: 22744
MD5sum: 9a6fae10121991b4c076703a25ae659e
SHA1: 47b7de0076a9a826db571cf6c4409b6778b3f66a
SHA256: 02d10e39e6e5f00e80df120eee7c9ab5f25374d6cc29f95dbf590bbfa492a95c
Description-en: Hamcrest framework for matcher objects (Python 3)
PyHamcrest is a framework for writing matcher objects, allowing you to
declaratively define "match" rules. There are a number of situations where
matchers are invaluable, such as UI validation, or data filtering, but it is in
the area of writing flexible tests that matchers are most commonly used. This
tutorial shows you how to use PyHamcrest for unit testing.
.
When writing tests it is sometimes difficult to get the balance right between
overspecifying the test (and making it brittle to changes), and not specifying
enough (making the test less valuable since it continues to pass even when the
thing being tested is broken). Having a tool that allows you to pick out
precisely the aspect under test and describe the values it should have, to a
Description-md5: ab0fbd3c28614fb7d01e5a43b7a2e3a3
Homepage: http://code.google.com/p/hamcrest
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu