{"repo":"taverntesting/tavern","free":true,"listed":false,"github":"https://github.com/taverntesting/tavern","clone":"git clone https://github.com/taverntesting/tavern.git","description":"A command-line tool and Python library and Pytest plugin for automated testing of RESTful APIs, with a simple, concise and flexible YAML-based syntax","language":"Python","stars":1153,"topics":["python","pytest","testing","test-automation","mqtt","http","grpc","grpc-python"],"license":"MIT","category":"networking-infra","readme_excerpt":"Easier API testing with Tavern Tavern is a pytest plugin, command-line tool, and Python library for automated testing of APIs, with a simple, concise, and flexible YAML-based syntax. It's very simple to get started, and highly customisable for complex tests. Tavern supports testing RESTful APIs, MQTT based APIs, and gRPC services. The best way to use Tavern is with pytest. Tavern comes with a pytest plugin so that literally all you have to do is install pytest and Tavern, write your tests in .tavern.yaml files and run pytest. This means you get access to all of the pytest ecosystem and allows you to do all sorts of things like regularly run your tests against a test server and report failures or generate HTML reports. You can also integrate Tavern into your own test framework or continuous integration setup using the Python library, or use the command line tool, tavern-ci with bash scripts and cron jobs. To learn more, check out the examples or the complete documentation. If you're interested in contributing to the project take a look at the GitHub repo. Why Tavern Choosing an API testing framework can be tough. Tavern was started in 2017 to address some of our concerns with other testing frameworks. In short, we think the best things about Tavern are: It's Lightweight. Tavern is a small codebase which uses pytest under the hood. Easy to Write, Easy to Read and Understand. The yaml syntax allows you to abstract what you need with anchors, whilst using pytest.mark to organise ","default_branch":null,"files":null,"tree":[],"storefront":"/r/taverntesting","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/taverntesting/tavern/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}