Structure and Interpretation of Test Cases
Dive deep into the art of structuring and interpreting test cases in this 46-minute conference talk by Kevlin Henney from GOTO Amsterdam 2022. Explore various testing approaches, from unit testing to continuous testing, through practical examples like leap year calculations and FizzBuzz. Learn how to write more effective and readable test code by examining naming conventions, nesting techniques, and the benefits of data-driven testing. Discover the trade-offs between example-based and property-based testing, and gain insights on maximizing the given-when-then methodology. Featuring quotes from influential figures in computer science and software development, this talk offers valuable perspectives on creating test cases that are not only functional but also comprehensible to fellow developers.