Introduction to Python Testing Compact course: Introduction to Python Testing
Format
This is a half-day course
Prerequisites
Basic Python knowledge and a laptop is required. Experience with writing tests is not required.
Summary
An automated test suite makes it much easier to maintain, extend and debug your Python code. In this course we will learn how to write automated tests in Python using the pytest library. After introducing the key concepts, the majority of the course will be hands-on, writing and running tests.
Learning Objectives
After the course participants should be able to
- Install and run pytest
- Write simple tests
- Use temporary files in tests
- Use fixtures to manage resources
- Parametrize tests
- Add an automated test suite to their existing python projects
Signup
Please register here to sign up for the course.