How to Install and Uninstall python-fudge Package on Ubuntu 16.04 LTS (Xenial Xerus)
Last updated: December 28,2024
1. Install "python-fudge" package
Please follow the instructions below to install python-fudge on Ubuntu 16.04 LTS (Xenial Xerus)
$
sudo apt update
Copied
$
sudo apt install
python-fudge
Copied
2. Uninstall "python-fudge" package
Please follow the instructions below to uninstall python-fudge on Ubuntu 16.04 LTS (Xenial Xerus):
$
sudo apt remove
python-fudge
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the python-fudge package on Ubuntu 16.04 LTS (Xenial Xerus)
Package: python-fudge
Priority: optional
Section: universe/python
Installed-Size: 172
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Modules Team
Architecture: all
Version: 1.1.0-1
Depends: python-pkg-resources, python:any (<< 2.8), python:any (>= 2.7.5-5~)
Recommends: python-fudge-doc (= 1.1.0-1)
Filename: pool/universe/p/python-fudge/python-fudge_1.1.0-1_all.deb
Size: 28826
MD5sum: 39794530bfd54367dd07b66de698f54f
SHA1: 11273780ad6e2450256888e790fffdf978e62850
SHA256: 2f794465437f5ca9d8627706b2681c721ce4166ef0a6c482a306eaea990a55e2
Description-en: Python 2 module for using fake objects for tests
Fudge is a Python module for using fake objects (mocks and stubs) to
test real ones.
.
In readable Python code, you declare what methods are available on
your fake and how they should be called. Then you inject that into
your application and start testing. This declarative approach means
you don’t have to record and playback actions and you don’t have to
inspect your fakes after running code. If the fake object was used
incorrectly then you’ll see an informative exception message with a
traceback that points to the culprit.
.
Fudge was inspired by Mocha which is a simpler version of jMock. But
unlike Mocha, Fudge does not automatically hijack real objects; you
explicitly patch them in your test. And unlike jMock, Fudge is only
as strict about expectations as you want it to be. If the type of
arguments sent to the fake method aren’t important then you don’t
have to declare an expectation for them.
.
This is the Python 2 version of the package.
Description-md5: 220ebbdc1e66cc2f9a09f2ae9ba9eebb
Homepage: http://farmdev.com/projects/fudge/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Priority: optional
Section: universe/python
Installed-Size: 172
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Modules Team
Architecture: all
Version: 1.1.0-1
Depends: python-pkg-resources, python:any (<< 2.8), python:any (>= 2.7.5-5~)
Recommends: python-fudge-doc (= 1.1.0-1)
Filename: pool/universe/p/python-fudge/python-fudge_1.1.0-1_all.deb
Size: 28826
MD5sum: 39794530bfd54367dd07b66de698f54f
SHA1: 11273780ad6e2450256888e790fffdf978e62850
SHA256: 2f794465437f5ca9d8627706b2681c721ce4166ef0a6c482a306eaea990a55e2
Description-en: Python 2 module for using fake objects for tests
Fudge is a Python module for using fake objects (mocks and stubs) to
test real ones.
.
In readable Python code, you declare what methods are available on
your fake and how they should be called. Then you inject that into
your application and start testing. This declarative approach means
you don’t have to record and playback actions and you don’t have to
inspect your fakes after running code. If the fake object was used
incorrectly then you’ll see an informative exception message with a
traceback that points to the culprit.
.
Fudge was inspired by Mocha which is a simpler version of jMock. But
unlike Mocha, Fudge does not automatically hijack real objects; you
explicitly patch them in your test. And unlike jMock, Fudge is only
as strict about expectations as you want it to be. If the type of
arguments sent to the fake method aren’t important then you don’t
have to declare an expectation for them.
.
This is the Python 2 version of the package.
Description-md5: 220ebbdc1e66cc2f9a09f2ae9ba9eebb
Homepage: http://farmdev.com/projects/fudge/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu