Real World Python Test Automation with Pytest (Django app)
Master Pytest for Django app testing! Build a full app & implement CI/CD with software testing best practices. Learn practical testing skills.
Course Content
Real World Python Test Automation with Pytest (Django app) is an intermediate-level Udemy course taught by Eden Marco. It runs 7h 8m, is taught in English, and includes a certificate of completion. Learners rate it 4.3 out of 5 from 828 reviews, with 6,357 students enrolled. It is a paid course, last updated September 2022.
This comprehensive course is essential for developers serious about testing their Python applications. You'll gain practical expertise in pytest while building a functional Django application, complete with a robust continuous integration (CI) system hosted in Bitbucket.
We'll start by constructing a streamlined Django server, focusing on just the necessary Django components to facilitate thorough testing. Then, we dive deep into testing methodologies, covering a wide spectrum of approaches:
- Unit Tests: Ensure individual components function correctly.
- Integration Tests: Verify interactions between different parts of the application.
- API Tests: Validate the functionality of your REST APIs.
- End-to-End Tests: Simulate user workflows to test the entire application flow.
- Performance Tests: Assess application responsiveness and scalability.
You'll create over 40 tests in total, gaining hands-on experience with a complete CI pipeline. This pipeline integrates Bitbucket Cloud Pipelines, Slack messaging, and Allure Reporting for seamless build status notifications and detailed test results. Every code push triggers the CI system, automatically running tests and providing immediate feedback on build success or failure.
This isn't a beginner's course. It assumes a foundational understanding of Python. We'll go beyond basic pytest usage, implementing key features from scratch to understand the underlying mechanisms of pytest test execution.
Key topics covered:
- Pytest (In-depth): Master advanced pytest features including fixtures, markers, parametrize, skip, xfail, pytest.ini, pytest-django, pytest-cov, and pytest-xdist.
- Testing Libraries: Explore the unittest library, mocks, and the Requests library for effective testing.
- Django (Focused): Learn just enough Django to build a functional web server, including REST API development, models, migrations, views, and serializers, utilizing SQLite3 DB and email backends.
- Continuous Integration (In-depth): Implement a complete CI system with Bitbucket pipelines, Bitbucket environment variables, parallel steps, Docker, Slack messaging integration, and Allure Reporting.
- Testing (Advanced): Develop proficiency in unit tests, mocking (including patching and stubs), integration tests, and performance tests.
- Development Best Practices: Implement virtual environments using pipenv and Pipfile, utilize type hinting and the Black formatter, and manage project structure with an .env file.
- UI Recreation: Recreate your project's UI (no prior UI knowledge required).
Need a web app built? Hire the team behind TutorialSearch.io
We ship fast, production-grade full-stack apps (Next.js, React, edge infra) — the same stack that powers this site.