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

YouTube

TDD for APIs

EuroPython Conference via YouTube

Overview

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

Reviews

Start your review of TDD for APIs

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.