Master Windows Internals - Kernel Programming, Debugging & Architecture
Learn Excel and Financial Modeling the Way Finance Teams Actually Use Them
Overview
Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This talk introduces property-based testing and demonstrates using the Hypothesis library to generate plausible edge cases for stochastic AI models. It covers properties, custom strategies, repeatable random testing, and shrinking.
Syllabus
Intro
About me
Table of Content
Example-based testing- example
Example-based testing - issues
Example-based testing - merge_sort
Property: Commutativity
Property: Invariant functions
Property: The test oracle
Property-based testing
What are the properties in the example?
Metamorphic Testing
Metamorphic Relations
Hypothesis Library
Hypothesis basic strategies
merge_sort test
Define you own strategy
Transforming data functions
Debug hypothesis strategies
Repeatable random testing
Shrinking
Additional Components
Rotate the image
Taught by
PyCon US