YoVDO

But How Do You Know Your Mock Is Valid? Verified Fakes of Web Services

Offered By: EuroPython Conference via YouTube

Tags

EuroPython Courses Software Testing Courses pytest Courses Travis CI Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the concept of verified fakes for web services in this 33-minute EuroPython Conference talk. Learn how to create accurate mocks of third-party services for testing purposes, ensuring your code works correctly without making expensive or slow network calls. Discover the benefits and challenges of using verified fakes, including maintaining mock validity as services change. Follow the example of VWS-Python to understand the practical implementation of verified fakes. Gain insights into combining tools like pytest, Travis CI, requests, and Responses to create reliable test environments. Suitable for developers interested in writing correct software and familiar with basic testing techniques.

Syllabus

Introduction
What is a web service
Requests Mock
Mock Problems
Mock Errors
Updating Mocks
Open Source Mark
Travis CI
Mock Alternative
Writing the mark
My tests
Copying incorrectly
What is a verified fake
Test schedule
Wine example
No errors
Incompatibility
Adding value
Conclusion
Questions


Taught by

EuroPython Conference

Related Courses

Introduction to Agile Software Development: Tools & Techniques
University of California, Berkeley via edX
Advanced Topics and Techniques in Agile Software Development
University of California, Berkeley via edX
Continuous Integration
University of California, Davis via Coursera
Docker and Kubernetes: The Complete Guide
Udemy
Build a Backend REST API with Python & Django - Advanced
Udemy