How Property-Based Testing Catches the Bugs You Miss
from Software Testing with Fexingo: QA, Automation, and Reliable Software Engineering Hosted by Fexingo
In episode 172, Lucas and Luna dive into property-based testing, the technique that flips the script on traditional example-based testing. Instead of writing one test with one input, you define properties your code should always hold, and let a tool generate hundreds of random inputs to hunt for violations. They break down the core concepts with a concrete example: a shopping cart's total price calculation, where a naive test might miss a negative price bug that property-based testing catches in seconds. They discuss how to choose good properties, common pitfalls like avoiding tautologies and keeping generators constrained, and how to integrate property-based tests into your existing suite without disrupting your CI pipeline. If you've ever felt your tests give you false confidence, this episode offers a practical way to find the edge cases you didn't even think to test. Tune in to learn how to make your test suite do the heavy lifting. #PropertyBasedTesting #SoftwareTesting #QA #Automation #ReliableSoftware #TestingTools #Hypothesis #QuickCheck #RandomizedTesting #EdgeCases #TestDesign #SoftwareEngineering #Tech #QualityAssurance #FexingoBusiness #BusinessPodcast #Fexingo #SoftwareDevelopment Keep every episode free: buymeacoffee.com/fexingo
Embed this episode
No transcript yet.