devel/py-expecttest 0.3.0 MidnightBSD
Implementation of expect tests
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- Port added
- Last update
- Commit
b807d69740- License
- mit
- Categories
- devel, python
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 |
|---|---|---|
| MidnightBSD | devel/py-expecttest | 0.3.0 |
| FreeBSD | devel/py-expecttest | 0.3.0 |
| DragonFly | devel/py-expecttest | 0.2.1 |
| HardenedBSD | devel/py-expecttest | 0.3.0 |
| GhostBSD | devel/py-expecttest | 0.3.0 |
Install
Binary package:
mport install ${PYTHON_PKGNAMEPREFIX}expecttest
From mports:
cd /usr/mports/devel/py-expecttest && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}expecttest>0:devel/py-expecttest
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
Build dependencies 2
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 1
| Date | Commit | Credits | Log message |
|---|---|---|---|
b807d69740 |
Lucas Holt | Add LangChain AI ports and dependencies AI-Assisted-by: OpenAI Codex <[email protected]>
Signed-off-by: Lucas Holt <[email protected]> |