Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore test-driven development (TDD) for APIs in this 41-minute EuroPython 2015 conference talk by Michael Kuehne. Learn how to validate complex API functionality, drive API design towards better usability, and implement TDD principles using Django. Discover practical approaches to API architecture, isolation, and output testing, along with strategies for handling unknown factors, unit tests, and acceptance tests. Dive into the BDD cycle, test numbering, and architecture, while gaining insights on setting up test environments, versioning endpoints, and managing asynchronous behaviors with Celery. Benefit from Kuehne's lessons learned in customer projects and understand how TDD can lead to inverse design improvements for APIs.
Syllabus
Intro
About me
How can we validate
Why TDD
API Architecture
API Isolation
API Output
Unknown
Unit tests
Acceptance tests
BDD cycle
Test numbers
Test architecture
Test from the beginning
TDD principle
Test environment setup
Versioning endpoints
Asynchronous behaviors
Celery Cash
Celery Helper
More Tests
Inverse Design
Lessons Learned
Questions
Taught by
EuroPython Conference