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
| System | Port | Version |
|---|---|---|
| DragonFly | devel/py-pretend | 1.0.9_1 |
| FreeBSD | devel/py-pretend | 1.0.9_1 |
| OpenBSD | devel/py-pretend | 1.0.9p10 |
| NetBSD | devel/py-pretend | 1.0.9nb2 |
| MidnightBSD | devel/py-pretend | 1.0.9_1 |
| HardenedBSD | devel/py-pretend | 1.0.9_1 |
| GhostBSD | devel/py-pretend | 1.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.