Python · Section 14

Testing

The test pyramid, pytest's fixtures/parametrization/marks, unittest.mock's Mock/patch/AsyncMock, and the quality practices — coverage, isolation, determinism — that decide whether a test suite can actually be trusted. The roadmap calls testing "a major competency at this level."

Difficulty: advanced180 min4 parts16 concepts