- Faster Workflow with Testdriven Development Talk by Torsten Zielke at PyConDE 2022
Table of Contents
Goals
- knwoledge to apply TDD
- know benefits
- apply TDD in real world projects
- faster workflow
Benefits of TDD
- testing gives free detailed documentation
- short cycles of working product
- easy to test code is easier to maintain
- onboarding of new members is easier
- fearless deployment
Project: API for URL shortener backend
Test building workflow
- failing test (red)
- make test fail
- make test work (green)
- refactor
- make test beautiful
Why
- incremental changes
- no new functionailty without failing test
- forced to think about what we do
Neueste Kommentare