Главная
Study mode:
on
1
Introduction
2
What is a web service
3
Requests Mock
4
Mock Problems
5
Mock Errors
6
Updating Mocks
7
Open Source Mark
8
Travis CI
9
Mock Alternative
10
Writing the mark
11
My tests
12
Copying incorrectly
13
What is a verified fake
14
Test schedule
15
Wine example
16
No errors
17
Incompatibility
18
Adding value
19
Conclusion
20
Questions
Description:
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

EuroPython Conference
Add to list
0:00 / 0:00