devel/py-expecttest 0.3.0 FreeBSD
Implementation of expect tests
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- MIT
- Categories
- devel, python
- Package size
- 17.2 KiB, 60.2 KiB installed
Description
The expecttest library implements expect tests (also known as "golden" tests). Expect tests are a method of writing tests where instead of hard-coding the expected output of a test, you run the test to get the output, and the test framework automatically populates the expected output. If the output of the test changes, you can rerun the test with the environment variable EXPECTTEST_ACCEPT=1 to automatically update the expected output.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/py-expecttest | 0.3.0 |
| DragonFly | devel/py-expecttest | 0.2.1 |
| MidnightBSD | devel/py-expecttest | 0.3.0 |
Install
Binary package:
pkg install py312-expecttest
From the ports tree:
cd /usr/ports/devel/py-expecttest/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-expecttest>0:devel/py-expecttest
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.3.0 | 0.3.0 | - | 0.2.1 | 0.3.0 |
| FreeBSD:14:quarterly | 0.3.0 | 0.3.0 | n/a | 0.2.1 | 0.3.0 |
| FreeBSD:15:latest | 0.3.0 | 0.3.0 | n/a | 0.2.1 | 0.2.1 |
| FreeBSD:15:quarterly | 0.3.0 | 0.3.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.3.0 | 0.3.0 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 2
${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0: devel/py-poetry-core${PYTHON_PKGNAMEPREFIX}wheel>0: devel/py-wheel
Test 1
${PYTHON_PKGNAMEPREFIX}hypothesis>=6: devel/py-hypothesis
The full lists below include those, and their dependencies in turn.
Build dependencies 16
Run dependencies 7
No port depends on this one.
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| ezyang-expecttest-v0.3.0_GH0.tar.gz | 16627 | e35ef2df7f97071c735a93612bfeb4d60b1c5f0990656bccffaf81b917cab09b |
Commit history 0
No commits in the history this site was built from.