Fixture Factories for Faster End-to-End Tests
Offered By: EuroPython Conference via YouTube
Course Description
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
Related Courses
Selenium Webdriver with PYTHON from Scratch + FrameworksUdemy Use Python to Create a Web Testing Bot
Coursera Project Network via Coursera Unit Testing and Test Driven Development in Python
Udemy Elegant Automation Frameworks with Python and Pytest
Udemy Behavior Driven Python with pytest-bdd
Test Automation University