Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

API-Schema-Based Testing with Schemathesis

EuroPython Conference via YouTube

Overview

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

Reviews

Start your review of API-Schema-Based Testing with Schemathesis

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.