Skip to content

Learning PyTest

Suggested path

1. CoffeeBeforeArch

Located in 02_py_coffee in PFS, this is a great video series on PyTest. I have included the tests form his repo as part of the template tests. Links in repo.

CoffeeBeforeArch

2. Indian Pythonista

Located in 03_indian_pythonista in PFS, this is another great video series that has source code included.

Indian Pythonista

3. PyTest with Eric

This is perhaps one of the best resources for PyTest, PyTestWithEric, I am creating videos of them and incorporating the GitHub code to provide a second content delivery medium, explaining salient points.

This is both for my own technical development and a way of creating a greater audience for this body of work.

I have started recording videos of me go through the article and adding them to PyTest Full Stack in 60_pwe.

Playlist PyTest With Eric

Articles videod:

  • 01 pytest-html
  • 02 suppress warnings
  • 03 read yaml files with argparse and typer and test

4. Hooks and Plugins

For an advanced look at these topics, I have my course hosted on Udemy:

The course is available Udemy Hooks and Plugins course and Udemy has a sale ever two weeks and the cost would be $20 USD approx.

PyTest - hoks and plugins

I have made some videos to assist in using this PyTest Cookbook and how to customise the hooks and plugins used to create custom terminal reports and custom CSV files:

These are available here.