Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore property-based testing for APIs using schemas in this 28-minute EuroPython 2020 conference talk. Learn how to automatically generate test scenarios from API schemas, enabling faster and more powerful testing. Discover the schemathesis library, which leverages hypothesis and hypothesis-JSONSchema extension strategies, and compare it with other tools like swagger-conformance. Gain insights into the future of GraphQL support and understand how formal API schemas provide value beyond documentation. Follow along with a demonstration of the CLI interface, pytest examples, and stateful testing techniques to enhance your API testing practices.
Syllabus
Introduction
About me
Outline
API schemas
Python implementations
Problems
Schema defects
Hypothesis
Schema
Schemathesis
Model errors
Demo
CLI interface
Pytest example
Stateful testing
Conclusions
Contact
Questions
Taught by
EuroPython Conference