BSD Ports

devel/py-pretend 1.0.9_1 DragonFly

Library for stubbing in Python

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
BSD3CLAUSE
Categories
devel, python
Package size
7.5 KiB, 22.2 KiB installed

Description

Pretend is a library to make stubbing with Python easier.

What is stubbing?

Stubbing is a technique for writing tests. You may hear the term mixed up with mocks, fakes, or doubles. Basically a stub is an object that returns pre-canned responses, rather than doing any computation.

In the other systems

SystemPortVersion
DragonFlydevel/py-pretend1.0.9_1
FreeBSDdevel/py-pretend1.0.9_1
OpenBSDdevel/py-pretend1.0.9p10
NetBSDdevel/py-pretend1.0.9nb2
MidnightBSDdevel/py-pretend1.0.9_1
HardenedBSDdevel/py-pretend1.0.9_1
GhostBSDdevel/py-pretend1.0.9_1

Install

Binary package:

pkg install py311-pretend

From DPorts:

cd /usr/dports/devel/py-pretend && make install clean

Dependencies

Run dependencies 1

No port depends on this one.