Description:
This presentation was recorded at GOTO Amsterdam 2022. https://gotoams.nl/2024 Kevlin Henney - Consultant, Programmer, Keynote Speaker, Technologist, Trainer & Writer @KevlinHenney ABSTRACT Throw a line of code into many codebases and it's sure to hit one or more testing frameworks. There's no shortage of frameworks for testing, each with their particular spin and set of conventions, but that glut is not always matched by a clear vision of how to structure and use tests — a framework is a vehicle, but you still need to know how to drive. The computer science classic, Structure and Interpretation of Computer Programs, points out that "programs must be written for people to read, and only incidentally for machines to execute". The same is true of test code. This talk takes a deep dive into unit testing, looking at examples and counterexamples across a range of languages and frameworks, from naming to nesting, exploring the benefits of data-driven testing, the trade-offs between example-based and property-based testing, how to get the most out of the common given-when-then refrain and knowing how far to follow it. [...] TIMECODES 00:00 Intro 04:09 Quote Structure & Interpretation of Computer Programs 05:27 Quotes Marit van Dijk 10:56 Testing approaches today 13:24 Continuous testing 14:52 Case: Leap year 28:55 Quote Nat Pryce & Steve Freeman 29:44 Case: Leap year continued 37:33 FizzBuzz 39:00 Quote Brian Marick 39:36 FizzBuzz continued 43:15 Quote Richard Feynman 43:43 FizzBuzz continued 45:14 Niklaus Wirth 46:07 Outro Download slides and read the full abstract here: https://gotoams.nl/2022/sessions/1604/structure-and-interpretation-of-test-cases RECOMMENDED BOOKS Kevlin Henney & Trisha Gee • 97 Things Every Java Programmer Should Know • https://www.amazon.com/Things-Every-Java-Programmer-Should/dp/1491952695?language=en_US Kevlin Henney • 97 Things Every Programmer Should Know • https://www.amazon.com/Things-Every-Programmer-Should-Know/dp/0596809484?language=en_US Henney & Monson-Haefel • 97 Things Every Software Architect Should Know • https://www.amazon.com/gp/product/B0026OR30S?language=en_US Abelson, Sussman & Sussman • Structure and Interpretation of Computer Programs • https://www.amazon.com/Structure-Interpretation-Computer-Programs-Engineering/dp/0262510871?language=en_US Niklaus Wirth • Algorithms + Data Structures = Programs • https://www.amazon.com/Algorithms-Structures-Prentice-Hall-Automatic-Computation/dp/0130224189?language=en_US Roy Osherove • The Art of Unit Testing • https://www.manning.com/books/the-art-of-unit-testing-third-edition?a_aid=trifork&a_bid=8948c3bc Adzic, Evans & Roden • Fifty Quick Ideas To Improve Your Tests • https://www.amazon.com/-/de/dp/0993088112?__mk_de_DE=%C3%85M%C3%85%C5%BD%C3%95%C3%91&language=de_DE Adzic, Evans & Korac • Fifty Quick Ideas to Improve Your User Stories • https://www.amazon.com/-/de/dp/0993088104?__mk_de_DE=%C3%85M%C3%85%C5%BD%C3%95%C3%91&language=de_DE Saleem Siddiqui • Learning Test-Driven Development • https://www.amazon.com/Learning-Test-Driven-Development-Polyglot-Uncluttered/dp/1098106474?language=en_US Kent Beck • Test Driven Development • https://www.amazon.com/Test-Driven-Development-Kent-Beck/dp/0321146530?language=en_US https://twitter.com/GOTOcon https://www.linkedin.com/company/goto- https://www.facebook.com/unsupportedbrowser #Testing #UnitTests #UnitTesting #Programming #KevlinHenney #SoftwareEngineering #TDD #TestDrivenDevelopment #ContinuousTesting #Integers #Coverage #LeapYear #LeapYearRule #NiklausWirth Looking for a unique learning experience? Attend the next GOTO conference near you! Get your ticket at https://gotopia.tech/ Sign up for updates and specials at https://gotopia.tech/newsletter SUBSCRIBE TO OUR CHANNEL - new videos posted almost daily. https://www.youtube.com/user/GotoConferences/?sub_confirmation=1
Preparing download options
http://unidownloader.com/ website is the best way to download a video or a separate audio track if you want to do without installing programs and extensions.
The UDL Helper extension is a convenient button that is seamlessly integrated into YouTube, Instagram and OK.ru sites for fast content download.
UDL Client program (for Windows) is the most powerful solution that supports more than 900 websites, social networks and video hosting sites, as well as any video quality that is available in the source.
UDL Lite is a really convenient way to access a website from your mobile device. With its help, you can easily download videos directly to your smartphone.
The best quality formats are FullHD (1080p), 2K (1440p), 4K (2160p) and 8K (4320p). The higher the resolution of your screen, the higher the video quality should be. However, there are other factors to consider: download speed, amount of free space, and device performance during playback.
The browser/computer should not freeze completely! If this happens, please report it with a link to the video. Sometimes videos cannot be downloaded directly in a suitable format, so we have added the ability to convert the file to the desired format. In some cases, this process may actively use computer resources.
You can download a video to your smartphone using the website or the PWA application UDL Lite. It is also possible to send a download link via QR code using the UDL Helper extension.
The most convenient way is to use the UDL Client program, which supports converting video to MP3 format. In some cases, MP3 can also be downloaded through the UDL Helper extension.
This feature is available in the UDL Helper extension. Make sure that "Show the video snapshot button" is checked in the settings. A camera icon should appear in the lower right corner of the player to the left of the "Settings" icon. When you click on it, the current frame from the video will be saved to your computer in JPEG format.
It costs nothing. Our services are absolutely free for all users. There are no PRO subscriptions, no restrictions on the number or maximum length of downloaded videos.