Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Cloud-Native Pytest Tips and Tricks from Ground Zero

Pragmatic AI Labs via YouTube

Overview

This course teaches learners how to master Pytest through various tips and tricks. The learning outcomes include understanding key testing concepts, terminology, setting up development environments, configuring testing matrices, integrating Pytest with CI/CD pipelines, and conducting distributed testing. The course covers skills such as setting up Github, using Github Codespaces, working with Python packages, creating Makefiles, testing Python scripts, setting up test coverage, and utilizing Pytest features like test marking and profiling. The teaching method involves practical demonstrations and hands-on exercises. This course is intended for Python developers interested in enhancing their testing skills and optimizing their testing processes using Pytest.

Syllabus

Intro
Key Concepts in Testing
Key Testing Terminology
Kazien equals DevOps
Setup Github
Setup Github Codespaces
Explaining Python pip freeze
Create Makefile
Pin requirements.txt
Cloud development environment concepts: AWS Cloud9 to Github Codespaces
Setup Github Actions
Configuring Matrix testing of Python
Building simple Python scripts as part of CI/CD and linting them with Pylint
Setup AWS CloudShell for CI/CD
Adding Python 3.7, 3.8, 3.9 and 3.10 to Matrix testing
Setup AWS Cloud9
Refactoring Python project to include testing directory and library directory
Setup Python Test Coverage
Adding Pytest to Github Actions YAML file
Creating Python library file that searches wikipedia and tests it
Adding Python Fire command-line tool
Running Pytests by search expression
Running Pytests by specifying tests
Marking tests in Pytest and avoiding slow tests
Profiling testing speed using Pytest
Doing distributed testing with xdist to spread tests to multiple cores
Created distributed testing group to distribute to multiple cores
Setup 32 Core 60GB RAM Cloud9 Machine to run massively parallel Pytests
Running distributed testing that doubles the speed of the tests
Setup Cloud-Native AWS Code Build testing with buildspec.yml that does distributed testing to 8 Core Build client

Taught by

Pragmatic AI Labs

Reviews

Start your review of Cloud-Native Pytest Tips and Tricks from Ground Zero

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.