BSD Ports

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

SystemPortVersion
MidnightBSDdevel/py-expecttest0.3.0
FreeBSDdevel/py-expecttest0.3.0
DragonFlydevel/py-expecttest0.2.1
HardenedBSDdevel/py-expecttest0.3.0
GhostBSDdevel/py-expecttest0.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

Test 1

Build dependencies 2

No port depends on this one.

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
ezyang-expecttest-v0.3.0_GH0.tar.gz16627e35ef2df7f97071c735a93612bfeb4d60b1c5f0990656bccffaf81b917cab09b

Commit history 1

DateCommitCreditsLog message
b807d69740 Lucas Holt Add LangChain AI ports and dependencies
AI-Assisted-by: OpenAI Codex <[email protected]> Signed-off-by: Lucas Holt <[email protected]>