Hillel Wayne - Beyond Unit Tests: Taking Your Testing to the Next Level - PyCon 2018

Channel:PyCon 2018 · Length:29:20 · Published:2018-05-12 · Views:38162

Watch on YouTube

Summary

Hillel Wayne's PyCon 2018 talk on testing beyond pytest and mypy. It introduces property-based testing with the Hypothesis library and design-by-contract with dpcontracts, and shows how to combine them with an existing test suite.

Why HN recommends it

HN commenters point to it as a concise, convincing case for better testing practice short of full formal methods.

I found this talk (by the same person being interviewed) to be concise and convincing on how to do better than typical practice — HN, 2019

Python, Ruby & scripting languages · Testing, debugging & developer tools · Logic & formal methods

Subtitles (excerpt)

I'll need this mic here today hello thank you everybody for coming to the last talk before lunch I'm very pleased to introduce hello Wayne he is a formal methods warrior a chocolatier a code nurse he goes by many names and today he's gonna be talking to us about beyond unit tests taking your testing to the next level let's give him a round of applause first of all can everybody hear me okay great so my name is Hillel thank you so much for coming to my talk beyond unit tests we're going to be covering today generative testing designed by contract full and partial specification and formal methods and if none of those words made any sense to you you've come to the right talk before we begin I just wanna get some quick logistics out of the way shout out to the PyCon volunteers Alex locked me here Jay who's the current session host and Stanley who's doing the audio captioning I'm a vim user so I am incredibly jealous of stenography they're amazing so also what happens is I figured a talk just before lunch I should probably make sure that nobody's hangry so I decided to bring granola bars to everybody that I made I believe Jay has them I was not expecting there to be though like 20 million people so there's only about a hundred enola bars so I mean

On Hacker News

I found this talk (by the same person being interviewed) to be concise and convincing on how to do better than typical practice, without going to full formal methods. Hillel Wayne - Beyond Unit Tests: Taking Your Testing to the Next Level - PyCon 2018 [VIDEO] — jononor, 2019-04
Most of the non-joyful experience of writing tests lies in the context preparation, not so much in the expected outputs. I think we need a modern version of design by contract instead. Its one of the most powerful techniques of testing software is unfortunately often ignored and overlooked these days... Some less known things about design by contract: - you can easily test way more than types in … — spion, 2023-01
Some of my favorite talks from Strange Loop: * Contracts For Getting More Programs Less Wrong: [LINK] * "It's Just Matrix Multiplication": Notation for Weaving: [LINK] * Hackett: a metaprogrammable Haskell: [LINK] * Git from the Ground Up: [LINK] From PyCon: * Beyond Unit Tests: Taking Your Testing to the Next Level: [VIDEO] * Dataclasses: The code generator to end all code generator: [LINK] * Au… — sn9, 2018-12

Related videos