Главная
Study mode:
on
1
Introduction
2
What is testing
3
Summary
4
Exercises
5
Overview
6
Scale
7
Methods
8
Map and Filter
9
Just and sampled from
10
One and nothing
11
Build strategy
12
Recursive
13
Inferring strategies
14
Special strategies
15
Inner composite trick
16
Data strategies
17
Where to find them
18
Recap
19
Test Tactics
20
Common Properties
21
Round Trips
22
Equivalent Functions
23
Validate Output
24
Local assertions
25
Hypothesis
26
Metamorphic Relations
27
Metamorphic Functions
28
Conclusion
29
Live Demo
Description:
Discover the power of property-based testing in this comprehensive tutorial from PyCon US. Learn how to use Hypothesis, a robust property-based testing library, to enhance your testing practices and uncover hidden bugs. Explore various testing strategies, including map and filter methods, recursive techniques, and data strategies. Gain hands-on experience with common properties, round trips, equivalent functions, and metamorphic relations. Master the art of writing generalised tests that automatically generate diverse input scenarios, helping you identify edge cases and improve code reliability. By the end of this 1-hour 23-minute session, feel confident in implementing property-based testing to streamline your development process and create more robust software.

Introduction to Property-Based Testing

PyCon US
Add to list
0:00 / 0:00