Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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.
Syllabus
Intro
Quote Structure & Interpretation of Computer Programs
Quotes Marit van Dijk
Testing approaches today
Continuous testing
Case: Leap year
Quote Nat Pryce & Steve Freeman
Case: Leap year continued
FizzBuzz
Quote Brian Marick
FizzBuzz continued
Quote Richard Feynman
FizzBuzz continued
Niklaus Wirth
Outro
Taught by
GOTO Conferences