tubeshowcase●1,673,521 videos♡ My collection 0
← Learn to Code

Learn to Code29:08

Gens N’ Roses: Appetite for Reduction • Jacob Stanley • YOW! 2017

GOTO Conferences ↗

From the creator

This presentation was recorded at YOW! 2017. #GOTOcon #YOW https://yowcon.com Jacob Stanley - Senior Software Engineer at Lighthouse Financial Technologies RESOURCES https://twitter.com/jacobstanley https://github.com/jacobstanley https://hedgehog.qa ABSTRACT #QuickCheck is a shockingly effective tool for validating the initial and ongoing correctness of production software. One of QuickCheck’s most compelling features is that when a test failure is found, the failing test case is simplified to a minimal counterexample, through a process called shrinking. This makes it significantly easier to understand why a test has failed. The #Haskell version of QuickCheck, and most of its derivatives, tackle shrinking in a type-directed fashion. #Quiviq’s #Erlang version on the other hand, and a few similar tools for other dynamic languages, couple their shrinking capability directly with their test data generators. Now, types are good, right? So surely the Haskell version is better! Why wouldn’t we want to use types to guide our shrinking process? In this talk, I will highlight the technical and social problems that we, at Ambiata, experienced with type-directed shrinking. We’ll explore the alternative, integrated shrinking, and we’ll see that even in a statically typed language, integrated shrinking provides enormous benefits for developer productivity. We will see how to implement integrated shrinking, using rose trees, in the context of a strong statically typed language. Finall

Published 2024-03-31 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.

Keep exploring Learn to Code