Real World Python Test Automation with Pytest (Django app)

BY
Udemy

Mode

Online

Fees

₹ 3499

Quick Facts

particular details
Medium of instructions English
Mode of learning Self study
Mode of Delivery Video and Text Based

Course and certificate fees

Fees information
₹ 3,499
certificate availability

Yes

certificate providing authority

Udemy

The syllabus

Introduction: Course topics, learning tips

  • Course Topics
  • About the instructor (Corona Virus Edition)
  • How get the best of Udemy
  • Short explanation of course sections
  • Course Goals- What Is In It For You
  • How I suggest watching the course - Watch this Before moving to the next section
  • Course Telegram Channel

Pytest Quick Start Tutorial

  • Pytest Quick Overview
  • The GIST of pytest in 20 minuets - Markers
  • The GIST of pytest in 20 minuets - Fixtures, Parametrize
  • Pytest Flags and Arguments Quiz

Unit tests VS Integration tests

  • Unit tests VS Integration tests

Setting Up Your Development Environment

  • Creating a bitbucket project
  • Installing pipenv and required packages

Creating and testing our awesome Django project

  • What are we going to build
  • Django project setup
  • Creating our Django Models
  • Creating our REST API
  • Manually testing our project's features

Pytest automatic testing for our Django application

  • Writing our first pytests
  • API Test classes (unittest style)
  • Pytest skip and xfail markers
  • Pytest tests that assert Exceptions
  • Pytest tests that assert Logs
  • Pytest test runner
  • Testing Django Applications
  • Refactoring our tests to pytest native
  • Summery: Pytest VS unittest

Continuous Integration

  • Intro to Continuous Integration
  • Hands on CI- creating bitbucket pipelines to run our tests
  • Hands on CI- Bitbucket environment variables

Django emailing service

  • Adding an email sending service
  • Testing our email service
  • Refactoring our Tests to Pytest

Exploring Pytest with Fibonacci

  • Intro to fibonacci tests
  • Pytest Parametrize
  • Implementing from scratch Pytests's parametrize feature
  • Caching
  • Running CI steps in paralell
  • Pytest fixture- Time tracking
  • Using dynamic programming to solve fiobnacci

Performance Testing

  • Implementing a pytest performance validator
  • Why not to use pytest-timeout

Pytest Assert Magic

  • Pytest Assert Magic

Endpoint Assignment

  • Assignment
  • Create an endpoint which gets the n'th fibonacci number, add integration test

Pytest-xdist

  • Running our tests on multiple threads with pytest-xdist

Slack CI Integration

  • Setting a slack notification when bitbucket CI pipeline fails/passes

Advanced Pytest Fixtures

  • Pytest Fixtures Theory
  • Fixtures with arguments
  • Executing parametrized fixtures

Conftest.py files and .env file

  • conftest.py
  • .env file (auto reloading environment variables)

Server Agnostic API Testing (requests library)

  • Server Agnostic API Testing with requests library (part 1)
  • Server Agnostic API Testing with requests library (part 2)
  • Mocking Requests to Isolate 3rd party dependencies in test functions (Theory)
  • Mocking Requests to Isolate 3rd party dependencies in test functions (Hands On)

Allure Report Tool

  • What is Allure reporting
  • End To end Allure Integration - Test Report Webserver

Cool Plugins For pytest

  • Pytest-sugar

Mocking in Python

  • Python Mocking Theory
  • How to Patch Like a PRO
  • Patch is Hijacking Target's memory address

Testing Concepts

  • Testing In Production

Troubleshooting Section

  • What is the troubleshooting section for?
  • Configure Pycharm Default Test Runner to Pytest and set global Pytets Env Vars
  • Frequently Asked Import Errors (In depth explanation + resolution)
  • Frequently Asked INSTALLED_APPS RuntimeError (explanation + resolution)
  • Clone The Ready to go Django Project (If you are just interested in pytest)

Congratulations - Software Developer Certificate

  • Congratulations - Software Developer Certificate
  • What's next?

Instructors

Mr Eden Marco

Mr Eden Marco
Software Engineer
Freelancer

Other Bachelors

Trending Courses

Popular Courses

Popular Platforms

Learn more about the Courses

Download the Careers360 App on your Android phone

Regular exam updates, QnA, Predictors, College Applications & E-books now on your Mobile

Careers360 App
150M+ Students
30,000+ Colleges
500+ Exams
1500+ E-books