Lesson 12 of 14 · Python at work
Testing and quality: unittest, pytest, typing, ruff and black
Objective
Be able to change your code without fear: write automated tests that prove a discount or VAT calculation is correct and will stay correct, check that these tests really detect errors, then equip the project (typing, formatting, analysis) so that the code stays readable for the whole team.
This lesson is part of the full course
Unlock Python: Programming, Automation and Data Analysis to read every lesson, do the exercises, access the simulations and earn your certificate.
Already enrolled? Log in.