devel/py-expecttest 0.2.1 DragonFly
Implementation of expect tests
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- MIT
- Categories
- devel, python
- Package size
- 14.6 KiB, 56.4 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 |
|---|---|---|
| DragonFly | devel/py-expecttest | 0.2.1 |
| FreeBSD | devel/py-expecttest | 0.3.0 |
| MidnightBSD | devel/py-expecttest | 0.3.0 |
| HardenedBSD | devel/py-expecttest | 0.3.0 |
| GhostBSD | devel/py-expecttest | 0.3.0 |
Install
Binary package:
pkg install py311-expecttest
From DPorts:
cd /usr/dports/devel/py-expecttest && make install clean
Dependencies
Run dependencies 1
No port depends on this one.