Testing, Debugging and Code Quality
Writing code that works and stays working: unit tests with pytest, debugging, logging, linting, type checking and refactoring.
PYTH-230 Year 2 3 credits 12 lessons planned ▶ Video lessons coming soon
Offered by HSM University · Python Programming
Course content
- 1Why testing mattersComing
- 2Unit tests with pytestComing
- 3Fixtures and parametrized testsComing
- 4Mocking and test doublesComing
- 5Test-driven developmentComing
- 6Debugging with a debuggerComing
- 7LoggingComing
- 8Linting and code styleComing
- 9Static type checkingComing
- 10Refactoring safelyComing
- 11Code coverage and test strategyComing
- 12Capstone: rescuing an untested projectComing
Requirements
Recommended background. You can start any course at any time.
Description
Writing code that works and stays working: unit tests with pytest, debugging, logging, linting, type checking and refactoring.
Part of the Information Technology stream, typically taken in year 2.