Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Real World Python Test Automation with Pytest (Django app)
Rating: 4.3 out of 5(837 ratings)
6,529 students

Real World Python Test Automation with Pytest (Django app)

Learn Pytest by building a full Django application with a Continuous Integration system, software testing best practices
Created byEden Marco
Last updated 9/2022
English
English [Auto],

What you'll learn

  • Learn the ins and outs of Pytest
  • Build a real world Django web server
  • Build a continuous integration system
  • Testing Best Practices
  • Build high-performing, reliable automated test suites
  • Allure Reporting
  • Slack messaging
  • Unit, Integration, E2E, performance tests
  • Mocking and Patching

Course content

24 sections69 lectures7h 8m total length
  • Course Topics6:45

    Explore real-world Python test automation with pytest and Django, learning fixtures, markers, parametrize, skip, xfail, and pytest-django while building and testing a Django app.

  • About the instructor (Corona Virus Edition)1:34

    Meet an experienced software engineer who emphasizes testing discipline, sharing Python, cloud native experience, and real-world testing insights to empower reliable Django apps with Pytest.

  • How get the best of Udemy1:09

    Learn to maximize your learning potential on Udemy by using its tools, adjusting video speed, and connecting with the instructor via ratings or direct messages on Udemy or LinkedIn.

  • Short explanation of course sections5:38
  • Course Goals- What Is In It For You8:06

    Develop professional pytest skills, especially pytest-django, by building a Django web server and writing unit, integration, API, end-to-end, and performance tests with continuous integration using Bitbucket pipelines and Slack notifications.

  • How I suggest watching the course - Watch this Before moving to the next section6:48

    Watch this course from beginning to end, in left-to-right order, breaking six hours of content into focused learning sessions, guided by a high level diagram and a downloadable roadmap.

Requirements

  • Advanced knowledge of python - This is NOT a beginner course

Description

This is a MUST course for anyone who cares about testing.

I teach the ins and outs of pytest while building a real-world Django application (including a continuous integration system in bitbucket).

In this course, we will build a very simple Django server, I will teach just enough Django so that we will be able to build the application and then focus on testing it.

We will together test the application from all angels - Unit tests, integration tests, API tests, end-to-end tests , and performance tests with (a total of over 40 tests)

You will end up with a complete CI system that integrates bitbucket cloud pipelines, slack messaging, and allure reporting.
Every time we will make a push, the CI system will run our tests and will notify us if the build passed/failed.

In this course, we go in-depth, and we will even implement together (from scratch) some of pytest's features so that we will know what happens under the hood when pytest is running our tests.


This is not an entry-level course; basic knowledge of python is needed

You will learn:

Pytest features (in-depth)

  • Fixtures

  • Markers

  • Parametrize

  • Skip, xfail

  • Pytest.ini

  • Pytest-django

  • Pytest-cov

  • pytest-xdist

  • unittest library, mocks

  • Requests library

Django (just enough to build a web server)

  • Rest API

  • Models, Migrations

  • Views

  • Serializers

  • SQLite3 DB

  • Email backends

Continuous Integration (in-depth)

  • Bitbucket pipelines

  • Bitbucket environment variables

  • Parallel steps

  • Docker

  • Slack messaging integration

  • Allure Reporting

Testing (In-depth)

  • Unit tests

  • Mocking. Patching, Stubs

  • Integration tests

  • Performance tests

  • Testing environments

Python best practice

  • Virtual environments: pipenv

  • Pipfile

  • Type hinting

  • Black formatter

  • .env File

Recreating react our projects UI (No prior knowledge is needed

Who this course is for:

  • Developers who are interested in writing quality tests for their applications
  • Python Developers curious about Pytest
  • Anyone who wants to build or improve an automated testing framework
  • QA Engineers who wants to learn about pytest