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