Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore fixture factories for faster end-to-end testing in service-oriented architectures in this EuroPython 2017 conference talk. Dive into the challenges of maintaining test fixture data across multiple services and discover developer-friendly approaches to generate more efficient and accurate test data. Learn how to implement fixture factories, integrate them with pytest, and leverage parallel test execution to significantly reduce runtime. Gain insights into improving test maintainability, adaptability, and overall code quality while addressing common pitfalls in end-to-end testing for distributed systems.
Syllabus
Intro
Outline
Endtoend tests
Technology stack
Distributed architecture
SQL
Django
Test for testing
Test code changes
Fixture decorator
Create method
Why
Using services
Pros
Overhead
Faster
Parallel
Test failures
Randomizing test execution
Parallelizing acceptance tests
How many processes to use
Main takeaways
Test isolation repeatability
Endtoend testing
Callouts
Yelp
Slides
Questions
Docker compose
Migration
Dumping from production
Reusing data
MySQL
Rowlevel locking
Model packages
Example
Question
Taught by
EuroPython Conference