pytest Primary Power
From beginner to intermediate pytest skills in about 4 hours, plus access to the next 2 courses when they become available.
Enroll in CourseFinally, test code can be fun again.
Not only is pytest the leading test framework for Python, it's also easy to get started, and it can be fun!
This is Part 1 of the "Python Testing with pytest" course series. But don't worry. If you purchase this course, you have access to parts 2 & 3 also, when they are available.
Learn all of the core components of pytest quickly, and build great tests.
pytest Priary Power (4 hours)
- Test Functions
- pytest Fixtures
- Builtin Fixtures
- Parametrization
- Markers
Plus you'll have access to the next 2 courses
- pytest Working with Projects
- pytest Booster Rockets
And access to a community for help if you get stuck (with full access option)
- GitHub repo
- GitHub discussion forum
- Slack Channel
- Discord Server
Course Curriculum
Course Downloads
Available in
days
days
after you enroll
Chapter 1: Getting Started with pytest
Available in
days
days
after you enroll
Chapter 2: Writing Test Functions
Available in
days
days
after you enroll
-
StartIntro (3:40)
-
StartInstalling cards (3:01)
-
StartPlaying with cards (3:10)
-
StartThe cards.Card dataclass (4:34)
-
StartWriting Knowledge-Building Tests (4:41)
-
StartRunning Tests (1:32)
-
PreviewBonus: Running Tests in PyCharm (2:45)
-
StartUsing assert Statements (6:25)
-
StartFailing with pytest.fail() and exceptions (3:11)
-
StartWriting Assertion Helper Functions (2:58)
-
StartTesting for Expected Exceptions (5:25)
-
StartStructuring Test Functions (2:54)
-
StartGrouping Tests with Classes (6:44)
-
StartRunning a Subset of Tests (5:23)
-
StartCheck Your Setup (2:13)
-
StartBonus: Virtual Environment functions create/activate/exit for bash/zsh (5:38)