Simplify Your Tests with Fixtures
Fixtures can make your tests simpler and easier to maintain by using or creating common abstractions to be shared amongst your tests. We look at what problems fixtures solve and how they can be used to make your testing life easier. Intended audience: People already familiar with #pytest and testing but no or only a little experience with #fixtures. Content: 0:00 - Intro 07:03 - Examples and explanation in a notebook 12:40 - First fixture example in code 13:55 - Discuss mechanics using tmppath fixture 20:30 - Use fixtures to manipulate paths in settings 23:50 - Use pytest argument to show fixtures in use 26:50 - Use PyCharm to move around fixtures 29:32 - Custom fixture 30:21 - Monkeypatching 33:26 - Fixture dependencies and usefixtures 36:20 - How are fixtures looked up? 43:16 - Fixture gotchas 52:15 - Fixture scopes 55:30 - Parametrizing fixtures 56:50 - Parametrizing tests Links: Download PyCharm: https://jb.gg/u8syo9 Join us: PyCharm: https://jb.gg/349zdt PyCharm blog: https://jb.gg/4mwhg0 PyCharm on Twitter: / pycharm About the Presenter: Oliver Bestwalter fell in love with Open Source in the 1990s and with Python in 2006. He creates and helps maintain test and automation tools helping developers and companies to produce better software more effectively. If his time allows, he helps out in Open Source development, gives talks at meetups and conferences, and provides customized in-house courses - visit his personal website for details (https://oliver.bestwalter.de). Category: webinar

Hillel Wayne - Beyond Unit Tests: Taking Your Testing to the Next Level - PyCon 2018

Automated testing with pytest and fixtures

pytest: everything you need to know about fixtures (intermediate) anthony explains #487

Python Testing 201 with pytest

Lisa Roach - Demystifying the Patch Function - PyCon 2018

Pro tips for writing great unit tests - Raymond Hettinger

Jfrog | Jfrog Artifactory | Jfrog Artifactory Tutorial | Artifactory Tutorial | Intellipaat

Pytest Tutorial: Complete Pytest Crash Course In Under 6 Hours (In-Depth)

How To Write Unit Tests For Existing Python Code // Part 1 of 2

Python Tutorial: Unit Testing Your Code with the unittest Module

How to Build Real Time Interactions in Your Django 3 App

START YOUR TUESDAY WITH FAITH | TODAY GOD IS GIVING YOU UNEXPECTED OPPORTUNITIES | FATHER FREDDY ...

The Censorship Industry and the Business Model of Digital War Capitalism

Anthony Shaw - Wily Python: Writing simpler and more maintainable Python - PyCon 2019

Productive pytest with PyCharm

TDD Full Course (Learn Test Driven Development with Python)

How to Program Allen Bradley PLC Training for Beginners

Unit testing using monkey patching in pytest - Vikram Bhat

Automated Testing in Python with pytest, tox, and GitHub Actions

