Port details on branch 2022Q2 |
- py-flexmock Testing library to create mocks, stubs and fakes
- 0.12.1 devel =0 0.11.3_1Version of this port present on the latest quarterly branch.
- Maintainer: sunpoet@FreeBSD.org
- Port Added: 2011-11-04 15:57:57
- Last Update: 2024-03-31 18:51:20
- Commit Hash: 29f84e0
- Also Listed In: python
- License: BSD2CLAUSE
- WWW:
- https://github.com/flexmock/flexmock
- Description:
- flexmock is a testing library for Python that makes it easy to create mocks,
stubs and fakes.
Its API is inspired by a Ruby library of the same name. However, it is not a
goal of Python flexmock to be a clone of the Ruby version. Instead, the focus is
on providing full support for testing Python programs and making the creation of
fake objects as unobtrusive as possible.
As a result, Python flexmock removes a number of redundancies in the Ruby
flexmock API, alters some defaults, and introduces a number of Python-only
features.
flexmock's design focuses on simplicity and intuitivenes. This means that the
API is as lean as possible, though a few convenient short-hand methods are
provided to aid brevity and readability.
flexmock declarations are structured to read more like English sentences than
API calls, and it is possible to chain them together in any order to achieve
high degree of expressiveness in a single line of code.
- ¦ ¦ ¦ ¦
- 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}flexmock>0:devel/py-flexmock@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/devel/py-flexmock/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/py-flexmock
- pkg install py39-flexmock
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-flexmock listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-flexmock
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1711860507
SHA256 (flexmock-0.12.1.tar.gz) = 20b690afa4ff8c6f31548d896d6d41cca1fc9050a4cf628b965ea434ec548ee3
SIZE (flexmock-0.12.1.tar.gz) = 52765
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-poetry-core>=1.0.0 : devel/py-poetry-core@py39
- python3.9 : lang/python39
- py39-build>=0 : devel/py-build@py39
- py39-installer>=0 : devel/py-installer@py39
- Test dependencies:
-
- python3.9 : lang/python39
- Runtime dependencies:
-
- python3.9 : lang/python39
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- devel_py-flexmock
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|