API/REST testing like Chuck Norris with pytest play using YAML
In this article we will see how to write HTTP API tests with pytest using YAML files thanks to pytest-play >= 2.0.0 (pytest-play provides support for Selenium, MQTT, SQL and more. See third party pytest-play plugins).
The guest star is Chuck Norris thanks to the public JSON endpoint available at api.chucknorris.io so you will be able to run your test by your own following this example.
source