BSD Ports

devel/py-testfixtures 6.18.5_1 MidnightBSD

Collection of helpers and mock objects for unit tests and doc tests

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
mit
Categories
devel, python

Description

TestFixtures is a collection of helpers and mock objects that are useful when writing unit tests or doc tests.

If you're wondering why "yet another mock object library", testing is often described as an art form and as such some styles of library will suit some people while others will suit other styles. This library contains common test fixtures the author found himself repeating from package to package and so decided to extract them into their own library and give them some tests of their own!

In the other systems

The newest version among them is 12.3.0, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDdevel/py-testfixtures6.18.5_1 behind since 2026-07-09no data-[email protected]-
FreeBSDdevel/py-testfixtures6.18.5_1 behind since 2026-07-09none known-[email protected]2026-09-20
NetBSDdevel/py-testfixtures12.3.0 newestnone known-[email protected]2026-07-09
DragonFlydevel/py-testfixtures6.18.5_1 behind since 2026-07-09none known-[email protected]-
HardenedBSDdevel/py-testfixtures6.18.5_1 behind since 2026-07-09no data-[email protected]-
GhostBSDdevel/py-testfixtures6.18.5_1 behind since 2026-07-09no data-[email protected]-

Compare across BSDs

Install

Binary package:

mport install ${PYTHON_PKGNAMEPREFIX}testfixtures

From mports:

cd /usr/mports/devel/py-testfixtures && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}testfixtures>0:devel/py-testfixtures

Dependencies

No port depends on this one.

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
testfixtures-6.18.5.tar.gz12494402dae883f567f5b70fd3ad3c9eefb95912e78ac90be6c7444b5e2f46bf572c84
Master sites 1
  • PYPI