IntroductionWhat is testing?Why (else) do we test?When to run tests?When to write tests?


Working with Legacy CodeMeet the legacy code projectA simple end-to-end test


Test frameworkpytest: A test frameworkWhat is code (test) coverage


Test Driven DevelopmentTest Driven Development


Figure 1

Cycle with three nodes: 'Red (write a failing test)', followed by 'Green (write just enough code to pass the test)', followed by 'Refactor (improve the code with tests intact)', then back to Red
Red-Green-Refactor cycle, liberally borrowed from a blog at https://khalilstemmler.com/

Refactoring for TestingMonolithic main functionsSafe Refactoring and TDD


Testing Big ChangesMaking big changes