Pytest Master Class

Pytest Master Class

Pragmatic AI Labs via YouTube Direct link

* Introduction

1 of 30

1 of 30

* Introduction

Class Central Classrooms beta

YouTube playlists curated by Class Central.

Classroom Contents

Pytest Master Class

Automatically move to the next video in the Classroom when playback concludes

  1. 1 * Introduction
  2. 2 * What is DevOps?
  3. 3 * Github CodeSpaces
  4. 4 * Create Python Project Structure: Makefile, requirements.txt, test file and virtualenv
  5. 5 * Importing code with IPython
  6. 6 * Writing tests with Pytest
  7. 7 * Using Pylint
  8. 8 * Verifying Pylint bad syntax catch
  9. 9 * Formatting code with Black
  10. 10 * Pinning requirements to a specific version
  11. 11 * Setup Github Actions
  12. 12 * Matrix Testing multiple versions of a Python 3.6, 3.7, 3.8, 3.9 with Github Actions
  13. 13 * Using AWS CloudShell
  14. 14 * Using AWS Cloud9
  15. 15 * Adding virtualenv to ~/.bashrc
  16. 16 * Using AWS CodeBuild
  17. 17 * Testing Google Colab Notebooks and Jupyter Notebooks with nbval and Pytest
  18. 18 * Using pdb;pdb.set_trace and ipdb;ipdb.set_trace
  19. 19 * Using pytest-cov
  20. 20 * Using pytest with --pdb pdb debbuging during tests
  21. 21 * Using pytest with --pdb --maxfailures 1 to stop after first failure
  22. 22 * Using pytest to test a single test
  23. 23 * Using Pytest with fixtures
  24. 24 * Using Pytest setup_function and teardown_function to setup and teardown of tests
  25. 25 * Using flask web framework
  26. 26 * Testing flask web framework with pytest
  27. 27 * Extending flask with a greedy coin change machine
  28. 28 * Using click to create a command line interface
  29. 29 * Using Pytest to test click command line interfaces
  30. 30 * Matrix testing entire project with click, pytest, and nbval using Github Actions and multiple versions of Python 3.6, 3.7, 3.8, 3.9

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.