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

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Master cloud-native Pytest techniques in this comprehensive 2-hour 39-minute tutorial. Explore key testing concepts, terminology, and DevOps principles before diving into hands-on setup of GitHub, Codespaces, and AWS environments. Learn to create Makefiles, configure matrix testing, and implement CI/CD pipelines with GitHub Actions. Discover how to refactor Python projects, set up test coverage, and leverage Pytest features like search expressions and test marking. Delve into advanced topics such as profiling test speed, distributed testing with xdist, and scaling tests on high-performance cloud environments. Conclude by setting up cloud-native AWS CodeBuild testing for efficient, distributed test execution.

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.