Real World Python Test Automation With Pytest (Django App)

0

Learn Pytest by building a full Django application with a Continuous Integration system, software testing best practices

What you’ll learn

  • Learn the ins and outs of Pytest
  • Build a real-world Django webserver
  • 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

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, 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-exist
  • unittest library mocks
  • Requests library

Django (just enough to build a webserver)

  • 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

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 want to learn about pytest

Created by Eden Marco
Last updated 8/2021
English
English [Auto]

Size: 5.08 GB

Download Course

Leave A Reply