У нас вы можете посмотреть бесплатно Simplify Your Tests With Fixtures или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
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 little experience with #fixtures. #PyCharm Contents: 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 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