FreeBSD Ports

devel/py-tapi 0.2.2

Framework for testing APIs

Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
b40c91dd2a
License
MIT
Categories
devel, python
Package size
92.3 KiB, 593.8 KiB installed

Description

Tapi is a tool to automate the testing of your Application Programmer Interfaces (APIs).

Features:

  • Test you API without writing any code (only edit a json file)
  • Test you APIs in a much more 'natural' way by specifying urls/verbs and what the output should be
  • Verify anything from response status codes, headers, body content etc
  • Also allows verification by issuing another API call to a different endpoint to ensure a prior API call worked
  • Execute arbitrary python scripts to populate request paramaters e.g. custom headers
  • Execute arbitrary python scripts to verify response from endpoint is valid
  • Tests your APIs using your own APIs

Install

As a binary package — by origin, or by package name:

pkg install devel/py-tapi
pkg install py312-tapi

From the ports tree:

cd /usr/ports/devel/py-tapi/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-tapi>0:devel/py-tapi

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.2.20.2.20.1.7_20.1.7_30.2.2
FreeBSD:14:quarterly0.2.20.2.2n/a0.1.7_30.2.2
FreeBSD:15:latest0.2.20.2.2n/a0.1.7_30.1.7_3
FreeBSD:15:quarterly0.2.20.2.2n/an/an/a
FreeBSD:16:latest0.2.20.2.2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

Runtime 10

The full lists below include those, and their dependencies in turn.

All build dependencies 16
All run dependencies 27

No port depends on this one.

Configuration

No options to configure.

USES
dos2unix python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
tapi-0.2.2.tar.gz6450993204d2bd2da141f0ec9802e9c6edb1607de72402fbbb475ad1dbbbf035f25ca
Master sites 1
  • PYPI

Commit history 1

DateCommitCreditsLog message
b40c91dd2a Po-Chuan Hsieh devel/py-tapi: Update to 0.2.2
- Update WWW - Use USES=dos2unix to convert CRLF to LF Changes: https://github.com/1Doomdie1/Tapi/releases