tavern
tavern copied to clipboard
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
Fix for #753 where I bound all the available MQTT callbacks that would be useful to a developer facing connection issues. There are still a few callbacks that could be...
I am able to use variables to paramaterize the URL when doing HTTP tests. Additionally, when publishing via MQTT, the publish topic can be parameterized. However, the response topic does...
Solves #752. Still needs cleanup including unit testing new functionality. Will release from draft state when that is done. In the mean time, feel free to provide feedback on the...
- Move anything that isn't supposed to be public into a private folder, a la pytest - Move helpers from tavern.testutil.helpers to tavern.helpers - Use pyjwt2 - Make --tavern-merge-ext-function-values default...
eg ```yaml # test_thing.tavern.yaml --- # the top document in a tavern file includes: - my-include.yaml variables: a: b c: d stages: - id: typetoken-anything-match name: match top level paho-mqtt:...
I ran into random failing tests when using the tavern plugin. It looks like there is a problem with its dependencies. Probably pykwalify Unfortunately, I have not found any dependence...
example https://github.com/taverntesting/tavern/issues/786
As of now tavern has `pytest_tavern_beta_after_every_test_run` for performing some task after every test run. But there can be a option `cleanup` or some better name for it, in order to...
Here is the example ``` - name: Create testcase for use request: url: "{HOST:s}/parallel/tests/" method: POST json: name: 'cov-test' response: strict: - json:off status_code: 200 save: json: new_run_id: "testcase.run_id" newtest_uuid:...