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

YouTube

Fixture Factories for Faster End-to-End Tests

EuroPython Conference via YouTube

Overview

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

Reviews

Start your review of Fixture Factories for Faster End-to-End Tests

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.