Skip to content

Afterwards

Cookbook

The cookbook covers many more items such as:

  • Docker
  • Asides on Mocking and Pluggy
  • Toolbox for Console Prettying using Rich and PyBoxen, Allure reports, Visual Regression etc and I add more content as time passes.

Mocking can be a tricky subject. I have a video series that does a deep dive on mocking and also looks at the Python mock.py file so that we can understand what mocking is acutally doing.

Revision

CoffeeBeforeArch and Indian Pythonista are very good concise walkthroughs of PyTest covering beginner to advanced topics.

Development

PyTestWithEric, has probably the best set of articles and repos covering beginner to advanced topics and I have created videos of them and incorporating the GitHub code to provide a second content delivery medium, explaining salient points.

Python Testing with pytest, Second Edition Simple, Rapid, Effective, and Scalable by Brian Okken

The definitive book!

Brian Okken

https://pragprog.com/titles/bopytest2/python-testing-with-pytest-second-edition/

Hooks and Plugins Course

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

The link and coupon code are available until Sunday Midnight:

LINK


https://www.udemy.com/course/pytest-cookbook-using-hooks-to-create-custom-plugins/?couponCode=PYCONIRE

COUPON


PYCONIRE

REPO

The repo contains heavily commented source files creating a sort of 'ebook' and is freely available:

https://github.com/Python-Test-Engineer/Udemy-PyTest

The video course adds visual explanations and commentary.

The course is available Udemy Hooks and Plugins course.

PyTest - hooks and plugins

Reach out

I am contactable via the links in the Contact Craig section.