pytest tips and tricks for a better testsuite [PyCon DE & PyData Berlin 2024]

Опубликовано: 04 Март 2026
на канале: PyCon DE
913
like

🔊 Recorded at PyCon DE & PyData Berlin 2024, 22.04.2024
https://2024.pycon.de/program/DSFWRC/

🎓 Watch as Florian Bruhin, the mastermind behind pytest, unveils advanced tips and tricks to elevate your testsuite to the next level, from recommended settings to custom fixtures and plugins.

Speakers:
Florian Bruhin

Description:
Florian Bruhin, founder and lecturer known as "The Compiler," presents valuable insights in his talk on pytest tips and tricks for enhancing your testsuite. With a profound understanding of pytest gained through years of contribution, Florian's expertise shines through as he navigates through intermediate and advanced features of the framework. Throughout the training, Florian emphasizes the significance of familiarizing oneself with pytest basics before delving into recommended settings for stricter testing, the utility of xfail, and innovative ways to enhance test suites. Attendees will benefit from Florian's guidance on leveraging built-in pytest fixtures efficiently, advanced fixture and parametrization techniques, and customizing fixture behavior based on markers. Moreover, Florian will touch on patching, mocking, and plugins, offering insights on writing custom plugins. The talk promises to introduce attendees to property-based testing with Hypothesis, adding a new dimension to their testing repertoire. With Florian's comprehensive knowledge and practical tips, participants are sure to elevate their pytest proficiency and optimize their test suites effectively.

⭐️ About PyCon DE & PyData Berlin:
The PyCon DE & PyData conference unite the Python, AI, and data science communities, offering a unique platform for collaboration and innovation. The PyCon DE & PyData Berlin 2024 conference, hosted in partnership with the local Berlin PyData chapter, provided an exceptional experience, fostering deeper connections within the Python community while showcasing advancements in AI and data science. Attendees enjoyed a diverse and engaging program, solidifying the event as a highlight for Python and AI enthusiasts nationwide.

Follow us:
• LinkedIn:   / 28908640  
• X: https://www.x.com/pyconde
• X: https://www.x.com/pydataberlin

Links:
• Conference website: http://pycon.de
• Related sessions: http://2024.pycon.de/program/categori...

The conference is organized by
• Python Softwareverband e.V.: http://pysv.org
• NumFOCUS Inc.: http://numfocus.org
• Pioneers Hub gemeinnützige GmbH: http://pioneershub.org


If you enjoyed this session, please like, comment, and subscribe to our channel for more insightful talks and discussions.
Share this video with your network to spread the knowledge!

Hashtags:
#Python #PyConDE #PyData #OpenSource #AI #DataScience #MachineLearning #SoftwareDevelopment #LLMs #Community

Acknowledgements:
Special thanks to all the volunteers and sponsors who made this event possible.

About:
Python Softwareverband e.V.:
PySV is a non-profit that promotes the use and development of Python in Germany through events, education, and advocacy, fostering an open Python community.

NumFOCUS Inc.
supports open-source scientific computing by providing financial and logistical support to key projects like NumPy and Jupyter, promoting sustainable development and collaboration.

Pioneers Hub gemeinnützige GmbH:
is a non-profit fostering innovation in AI and tech by connecting experts and promoting knowledge exchange through events and collaborative initiatives.