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.
But How Do You Know Your Mock Is Valid? Verified Fakes of Web Services