Python基础 · free preview

Testing and Packaging

Turn assertions into organized tests, see how pytest discovers them, split code into your own modules, and learn how projects are packaged and installed.

1. Overview

Overview

2. Tests as Assertions

Tests as Assertions

3. pytest Discovers the Rest

pytest Discovers the Rest

4. Splitting Code into Modules

Splitting Code into Modules

5. Packaging for Others

Packaging for Others

6. Turn Assertions into Tests

Turn Assertions into Tests

7. Your Own Module

Your Own Module

Practice this interactively

Free account · instant grading · spaced review that schedules itself.

Start this course for free