PyQuest
Back to the map
Course 12 · Advanced

Type Hints & Testing

Describe your code's contracts and prove it works

Walk this island in 3D

Big programs stay healthy when their interfaces are clear and their behavior is checked automatically. You'll learn to describe data with type hints (generics, TypedDict, Protocol and friends), then write real tests with assert, unittest, mocks and doctest, and finish by rescuing a buggy legacy library, armed only with tests.

0/18 lessons0%
chapters
3
lessons
18
challenges
15
to finish
~2h