YoVDO

Simplify Your Tests with Fixtures

Offered By: JetBrains via YouTube

Tags

PyCharm Courses Python Courses Software Testing Courses pytest Courses Parametrizations Courses

Course Description

Overview

Explore the power of fixtures in simplifying and maintaining tests in this comprehensive webinar. Learn how fixtures solve common testing problems and enhance your testing workflow. Dive into practical examples, starting with basic fixture usage and progressing to advanced topics like monkeypatching, fixture dependencies, and parametrization. Discover how to effectively use PyCharm for fixture management and navigation. Gain insights into fixture lookup mechanisms, potential pitfalls, and scope considerations. Suitable for developers familiar with pytest and testing concepts, but with limited experience in fixtures. Presented by Oliver Bestwalter, an experienced Open Source developer and Python enthusiast, this session provides valuable knowledge to improve your testing practices and produce better software more efficiently.

Syllabus

- Intro
- Examples and explanation in a notebook
- First fixture example in code
- Discuss mechanics using tmppath fixture
- Use fixtures to manipulate paths in settings
- Use pytest argument to show fixtures in use
- Use PyCharm to move around fixtures
- Custom fixture
- Monkeypatching
- Fixture dependencies and usefixtures
- How are fixtures looked up?
- Fixture gotchas
- Fixture scopes
- Parametrizing fixtures
- Parametrizing tests


Taught by

PyCharm by JetBrains

Tags

Related Courses

Automated Visual Software Analytics
openHPI
JavaScript Testing
Udacity
Desarrollo de Aplicaciones Web: Prueba y Despliegue
University of New Mexico via Coursera
软件工程
Peking University via Coursera
Building R Packages
Johns Hopkins University via Coursera