How Property-Based Testing Finds Bugs Example Tests Miss
from Software Testing with Fexingo: QA, Automation, and Reliable Software Engineering Hosted by Fexingo
In this episode, Lucas and Luna dive into property-based testing, a technique where you define invariants about your code and let a framework generate thousands of test cases automatically. They contrast it with traditional example-based testing, using a concrete case: a flawed sorting function in Python that passes 50 examples but fails on a specific edge case found by property-based testing. The hosts explore how tools like Hypothesis and QuickCheck work, why they catch bugs that hand-written tests miss, and how to integrate them into a real development workflow without slowing down your team. They also discuss pitfalls like flaky properties and shrinking strategies. Along the way, Lucas and Luna explain why this approach is especially valuable for microservices, data pipelines, and any system where input space is too large to cover manually. By the end, listeners will understand the core idea behind property-based testing and when to apply it to their own codebases. #PropertyBasedTesting #Hypothesis #QuickCheck #SoftwareTesting #QA #Automation #TestGeneration #EdgeCases #PythonTesting #FunctionalProgramming #InvariantTesting #Fuzzing #SoftwareEngineering #Technology #FexingoBusiness #BusinessPodcast #TestAutomation #BugDetection Keep every episode free: buymeacoffee.com/fexingo
Embed this episode
No transcript yet.