devel/py-tavern 3.6.3 FreeBSD
Command-line tool and pytest plugin for testing RESTful APIs
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Port added
- Last update
- Commit
3acd121ce3- License
- MIT
- Categories
- devel, python
- Package size
- 231.0 KiB, 1210.3 KiB installed
Description
Tavern is a pytest plugin and command-line tool for automated testing of RESTful APIs. Tests are written in YAML, describing the requests to send and the responses to expect, so API behaviour can be verified without writing Python code.
It also supports MQTT, GraphQL and gRPC testing through optional extras.
Install
Binary package:
pkg install py312-tavern
From the ports tree:
cd /usr/ports/devel/py-tavern/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-tavern>0:devel/py-tavern
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 | 3.6.3 | 3.6.3 | - | - | 3.6.3 |
| FreeBSD:14:quarterly | 3.6.3 | 3.6.3 | n/a | - | 3.6.3 |
| FreeBSD:15:latest | 3.6.3 | 3.6.3 | n/a | - | - |
| FreeBSD:15:quarterly | 3.6.3 | 3.6.3 | n/a | n/a | n/a |
| FreeBSD:16:latest | 3.6.3 | 3.6.3 | 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 1
${PYTHON_PKGNAMEPREFIX}flit-core>=3.2: devel/py-flit-core
Runtime 10
${PYTHON_PKGNAMEPREFIX}jmespath>=1: devel/py-jmespath${PYTHON_PKGNAMEPREFIX}jsonschema>=4: devel/py-jsonschema${PYTHON_PKGNAMEPREFIX}pyjwt>=2.5.0: www/py-pyjwt${PYTHON_PKGNAMEPREFIX}pykwalify>=1.8.0: textproc/py-pykwalify${PYTHON_PKGNAMEPREFIX}pytest>=8: devel/py-pytest${PYTHON_PKGNAMEPREFIX}python-box>=6: devel/py-python-box${PYTHON_PKGNAMEPREFIX}pyyaml>=6.0.1: devel/py-pyyaml${PYTHON_PKGNAMEPREFIX}requests>=2.22.0: www/py-requests${PYTHON_PKGNAMEPREFIX}simpleeval>=1.0.3: devel/py-simpleeval${PYTHON_PKGNAMEPREFIX}stevedore>=4: devel/py-stevedore
The full lists below include those, and their dependencies in turn.
Build dependencies 15
Run dependencies 44
- archivers/liblz4
- archivers/zstd
- devel/gettext-runtime
- devel/libffi
- devel/py-attrs
- devel/py-cffi
- devel/py-docopt
- devel/py-iniconfig
- devel/py-jmespath
- devel/py-jsonschema
- devel/py-jsonschema-specifications
- devel/py-packaging
- devel/py-pbr
- devel/py-pluggy
- devel/py-pycparser
- devel/py-pytest
- devel/py-python-box
- devel/py-python-dateutil
- devel/py-pyyaml
- devel/py-referencing
- devel/py-rpds-py
- devel/py-ruamel.yaml
- devel/py-ruamel.yaml.clib
- devel/py-simpleeval
- devel/py-six
- devel/py-stevedore
- devel/py-typing-extensions
- devel/readline
- dns/py-idna
- lang/python312
- lang/python315
- math/mpdecimal
- net/py-pysocks
- net/py-urllib3
- print/indexinfo
- security/py-certifi
- security/py-cryptography
- textproc/expat2
- textproc/libyaml
- textproc/py-charset-normalizer
- textproc/py-pygments
- textproc/py-pykwalify
- www/py-pyjwt
- www/py-requests
No port depends on this one.
Configuration
Options name: devel_tavern
| Option | Default | Description |
|---|---|---|
| GRAPHQL | off | Enables GraphQL support |
| GRPC | off | Enables gRPC support |
| MQTT | off | Enables MQTT support |
- USES
- python:3.11+
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| tavern-3.6.3.tar.gz | 104241 | 8c110670b8b8da40853ab4cc8fa4b959ea39d6b353a1afd1d0d25a72c334f78a |
Master sites 1
- PYPI
Commit history 1
| Date | Commit | Credits | Log message |
|---|---|---|---|
3acd121ce3 |
Pete Diamond | devel/py-tavern: new port Tavern is a pytest plugin and command-line tool for automated testing of
RESTful APIs. Tests are written in YAML, describing the requests to send
and the responses to expect, so API behaviour can be verified without
writing Python code.
It also supports MQTT, GraphQL and gRPC testing through optional extras.
Co-authored-by: Michael Osipov <[email protected]>
PR: 298695 |