Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore a framework-agnostic approach to creating Python microservices using Test-Driven Development (TDD) in this conference talk from EuroPython 2016. Learn how to leverage Docker and Swagger to develop service and contract tests that run your microservice as an independent process, simulating production conditions and increasing confidence when implementing changes. Gain insights into the broader context of microservices, TDD, and work management. Discover techniques for integrating testing into the development process, focusing on service tests and contract tests that provide rapid feedback to developers. Understand how to use Mountebank to simulate external HTTP services and Docker containers to quickly spin up real databases for testing. Explore the use of Swagger for RESTful API description and its advantages in contract testing. Cover topics including TDD principles, essential tools, service test implementation, test coverage strategies, and leveraging Swagger for API development and testing.
Syllabus
Introduction
Who am I
TDD
Tools
Service tests
Test coverage
Swagger
Taught by
EuroPython Conference