Subscribe

How To Create A Factory Pytest Fixture (Testing Python With Pytest)

Cameron Maske

Fri. Aug. 31, 2018 9:47am

This video goes over a basic factory pattern you can use in your pytest fixtures to generate dynamic setup variables.

It covers generating a `Person` object, each time with a unique name while still allowing easy customization when needed.

You can also find me on:
Twitter: https://twitter.com/cameronmaske
Personal Site: https://cameronmaske.com/