numfocus / YouTubeVideoTimestamps

Adding timestamps to NumFOCUS and PyData YouTube videos!
https://www.youtube.com/c/PyDataTV
MIT License
77 stars 19 forks source link

Raoul-Gabriel Urma, Kevin Lemagnen: Adv. Software Testing for Data Scientists | PyData London 2019 #87

Open George713 opened 2 years ago

George713 commented 2 years ago

https://www.youtube.com/watch?v=WTj6T0QdHHM

1:08 Overview 1:57 Outline 2:47 Setup 3:39 Background 6:25 Code-Overview 8:44 Testing for Data Science 12:01 Software Testing and Data Science Workflow 15:31 Challenges 17:29 Why Software Testing? 18:41 Tool: Doctest 20:25 Tool: Unittest 21:47 Tool: Pytest 23:14 Quick Demo 26:36 Exercise: Pytest 32:25 Pandas assertions 36:13 Parameterised tests 40:54 Exercise: Parameterised tests 42:36 Writing good tests: Given / When / Then 44:02 Declaritive tests: Pytruth 47:20 How to write good tests 49:56 Testing best practices 50:30 Test Coverage 53:13 Exercise: Refactor unit test 54:04 Hypothesis: Property-based testing 59:23 Hypothesis example 1:01:23 Demo: Hypothesis 1:08:28 Strategies for generating inputs 1:13:08 Exercise 4: Hypothesis in action 1:18:04 Static typechecking 1:19:30 Mocking 1:25:20 Mocking example