Learn test automation in Python with pytest: from basic software testing to full CI/CD pipelines with GitHub Actions
👉 Enroll here:
https://www.udemy.com/course/pytest-course-python
✓ Implement test automation in Python with pytest, the most popular test framework, to master basic software testing for writing high-quality code.
✓ Complete a practical automation testing path with pytest, covering unit testing, integration testing, and Python API testing - from 0% to 100% code coverage.
✓ Integrate pytest into a CI/CD pipeline using GitHub Actions to run automation testing on every change in your code.
✓ Learn pytest best practices - fixtures, parametrization, markers - to build scalable test automation solutions.
✓ Apply TDD (Test Driven Development) with pytest framework to improve your python coding skills and design clean, testable software.
✓ Identify, reproduce, and fix bugs reliably using structured debugging strategies aligned with basic software testing principles.
✓ Test legacy code with pytest framework using unit testing, integration testing, and Python API testing, then refactor with confidence.
👉 See full course description HERE
- Introduction
- Course Roadmap
- Real World Example: New Scikit Feature
- Real World Example: Testing New Feature
- Why Testing: From Theory to Practice
- Virtual Environments & pytest Installation
- Pytest: Run & Debug
- Test Discovery
- Test Execution Status
- Hands-On Practice
- TDD and BDD: Testing Approaches
- Module Summary
- Module Introduction
- Writing Test Classes
- Descriptive Test Failure
- Asserting Exceptions
- Given-When-Then Structure
- Selective Tests Running
- Challenge: more-itertools
- Challenge: Solution
- Module Summary
- Module Introduction
- What is @pytest.fixture
- Setup and Teardown
- Fixture Scope
- Reusable Fixtures via conftest.py
- Temporary Directories & Output Capture
- Mocking with monkeypatch
- Fixtures with autouse
- Testing Logs
- Challenge: Finance Tracker
- Challenge: Solution
- Module Summary
- Module Introduction
- Problem: Almost Identical Tests
- Parametrizing Tests
- Parametrizing Fixtures
- Dynamic Parametrization
- Factories as Fixtures
- Finance Tracker: Parametrized Tests
- Module Summary
- Module Introduction
- Advanced Mocking
- Mocking with mocker
- Mocking Classes
- Too Much Mocking vs Too Little
- Patching Target
- Patching Decorators
- Markers
- Marker-Aware Fixture
- Configuration Files
- Coverage: Part 1
- Coverage: Part 2
- Hypothesis and Faker
- Testing Levels
- Testing Levels in Action
- Test File Name Collision
- Module Summary
- Module Introduction
- CI/CD Explained
- CI with GitHub Actions: Part 1
- CI with GitHub Actions: Part 2
- Matrix Testing with pytest
- Parallel Testing & Coverage Gates
- Module Summary
- Course Roundup
