Skip to content
AITroveRead. Build. Understand.

Testing & Quality

Operation contracts, checked Python programs and connected learning resources.

Python programs operate on objects with explicit input, ownership and failure contracts.

Learning roadmap

This section contains 16 written lessons or quiz banks. Programs are verified on CPython 3.14.6. Standard-library lessons target 3.11+ syntax; lessons using data, web, machine-learning or testing packages state their tested dependencies separately. Framework programs use local test clients, not a deployed service. Read the stated limits before adapting a fixture into an application.

Owned tests and static checking

Read the contract, run its program and inspect the failure case.

Generated cases and measured branches

Read the contract, run its program and inspect the failure case.

Selected mutation detection and explicit compatibility evidence

Read the contract, run its program and inspect the failure case.

Owned allocation observations

Read the contract, run its program and inspect the failure case.

Deterministic tests and doubles

Read the contract, run its program and inspect the failure case.

Grouped and asynchronous test cases

Read the contract, run its program and inspect the failure case.

Await assertions

Read the contract, run its program and inspect the failure case.

Continue learning

Move between tutorial, collections, advanced material and practice using the subject tabs. The sidebar changes with each section; related examples keep one canonical lesson URL.

Curriculum

Read the contract, run its program and inspect the failure case.

  1. 1Python tracemalloc: distinguish retained Python allocations from a process memory claim

Read the contract, run its program and inspect the failure case.

  1. 1Python AsyncMock: assert that a collaborator was awaited
Storage details