Port details on branch 2022Q2 |
- py-fudge Python module for using fake objects to test real ones
- 1.1.1 devel =0 1.1.1Version of this port present on the latest quarterly branch.
- Maintainer: yhchan@csie.nctu.edu.tw
- Port Added: 2010-03-09 08:35:32
- Last Update: 2023-06-27 19:34:34
- Commit Hash: 3d9a815
- Also Listed In: python
- License: MIT
- WWW:
- http://farmdev.com/projects/fudge/
- Description:
- Fudge is a Python module for using fake objects (mocks, stubs, etc) to test
real ones.
This module is designed for two specific situations:
* Replace an object
o Temporarily return a canned value for a method or allow a method
to be called without affect.
* Ensure an object is used correctly
o Declare expectations about what methods should be called and what
arguments should be sent.
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 setup. And unlike jMock, Fudge is only as strict about
expectations as you want it to be. If you just want to expect a method call
without worrying about its arguments or the type of the arguments then you
can.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}fudge>0:devel/py-fudge@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/devel/py-fudge/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/py-fudge
- pkg install py39-fudge
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py39-fudge listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-fudge
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1639984704
SHA256 (fudge-1.1.1.tar.gz) = d9929d87bb38711112734d99a2c7ada5dc39ef67b758b1e55f4c779c3634efdc
SIZE (fudge-1.1.1.tar.gz) = 87604
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- Test dependencies:
-
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- This port is required by:
- for Run
-
- audio/py-soundscrape
Configuration Options:
- No options to configure
- Options name:
- devel_py-fudge
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|