Tavern
Metrics as of , from the GitHub or GitLab API of each repository. Refreshed monthly.
What Tavern is
Tavern is a Python tool for automated API testing. It offers three entry points: a pytest plugin, a Python library and the tavern-ci command-line tool. It covers RESTful APIs, MQTT-based APIs and gRPC services. Tests are written in YAML, and pytest collects files named test_*.tavern.yaml. Each test contains one or more stages, and each stage pairs a request with its expected response. Tests can use pytest marks, fixtures and hooks, and custom validation functions are written in Python. The README states that Tavern has no GUI and does not provide API monitoring or mock servers.
Written from the project's README, read .
- Category
- API testing
- License
- MIT
- Language
- Python
- Changelog
- Releases on GitHub
Repository metrics
Status
activeLast commit within 90 days of the fetch date.Computed from the last commit date and the archive flag on the fetch date. See the status rules.
Alternatives
Listed API testing tools, same primary language first, then by GitHub stars. Each line gives one fact from the tool's documentation where it differs from Tavern's, with its source.
Schemathesis: Protocols: HTTP APIs described by OpenAPI or GraphQL schemas. source: README
RESTler: Protocols: REST APIs. source: README
Bruno: Protocols: REST, GraphQL, SOAP, gRPC, WebSocket. source: Docs: Send Requests Overview
Hurl: Protocols: HTTP: REST, SOAP and GraphQL APIs, HTML content, XML and JSON based APIs. source: README
supertest: Protocols: HTTP; HTTP/2 through an http2 option. source: README
Karate: Protocols: REST over HTTP, GraphQL, SOAP, WebSocket. source: Docs: Why Karate?
REST Assured: Protocols: HTTP: any method, with explicit support for POST, GET, PUT, DELETE, OPTIONS, PATCH, HEAD. source: README
Microcks: Protocols: HTTP (REST, SOAP, GraphQL, gRPC); Kafka, MQTT, AMQP, WebSocket, NATS, Google PubSub, Amazon SQS, Amazon SNS. source: Docs: Test Parameters
How to install
pip install tavernQuestions
Is Tavern open source?
Yes. Tavern is released under MIT, an OSI-approved license, as reported by the GitHub API on 2026-09-22.
Is Tavern maintained?
On 2026-09-22, the last commit to the default branch was on 2026-09-11, so the listed status is active. Rule: Last commit within 90 days of the fetch date.
How many GitHub stars does Tavern have?
1,161 stars on 2026-09-22, from the GitHub API. The number is refreshed at each monthly update.
What language is Tavern written in?
The repository's primary language, as reported by the GitHub API, is Python.
How do I install Tavern?
The README gives this command: pip install tavern
Sources
- GitHub REST API: repository, read
- GitHub REST API: commits, read
- GitHub REST API: tags, read
- GitHub REST API: contributors, read
- README, read