
Pytest has joined @tidelift! Tidelift is a "managed open source subscription". If you use pytest at work, it's a way for your company to support the open source libraries it relies on. docs.pytest.org/en/latest/ti…

A full-featured Python testing tool to help you write better programs; posts by @the_compiler bsky.app/profile/pytest.org fosstodon.org/@pytest

Pytest has joined @tidelift! Tidelift is a "managed open source subscription". If you use pytest at work, it's a way for your company to support the open source libraries it relies on. docs.pytest.org/en/latest/ti…

⏰ Only a week remaining with early-bird pricing for my annual three-day deep dive into #pytest with #Python Academy! 📅 March 4th — 6th 🌍 Leipzig (Germany) or remote 📕 Three days of pytest knowledge from one of its core maintainers. python-academy.com/courses/p…

pytest is also on Bluesky and the Fediverse! bsky.app/profile/pytest.org fosstodon.org/@pytest

The recording for my talk at the Swiss #Python Summit about property-based testing with #Hypothesis is now online: media.ccc.de/v/sps24-56254-p… Code and slides are here: github.com/The-Compiler/hypo… #pytest

My "#pytest tips and tricks for a better testsuite" training from @PyConDE is now online! youtube.com/watch?v=FG_DgVo0…

My open #pytest trainings in 2025: - 3 day in-depth training via @pyacademy, March 4th – 6th 2025, Leipzig 🇩🇪 / Remote: python-academy.com/courses/p… - Planning to submit to #PyConDE 🇩🇪, #Europython 🇪🇺, maybe #PyConIT🇮🇹, maybe #PyConUS 🇺🇸 1st time? - Maybe another 3-day 🇩🇪/🇨🇭 in Q3/Q4


My next open #pytest trainings: - #Europython 2024, July 8th – 14th 2024 (3h), Prague 🇨🇿: ep2024.europython.eu/session… - CH Open Workshoptage, Sept 2nd 2024, HSLU Rotkreuz 🇨🇭: pretalx.com/workshoptage-202… - 3 day in-depth training via @pyacademy, March 4th – 6th 2025, Leipzig 🇩🇪 / Remote

Check out @the_compiler presenting at #EuroPython2024, in their words: The #pytest tool presents a rapid and simple way to write tests for your Python code. This training gives an introduction with exercises to some distinguishing features. ep2024.europython.eu/session… 🐍

#pytest trick: Want to patch a function returning a different value on every call, without full unittest.mock? values = iter(["eggs", "bacon", "spam"]) monkeypatch.setattr(random, "choice", lambda: next(values)) assert random.choice() == "eggs" assert random.choice() == "bacon"

Got a lot of great feedback for my advanced #pytest training at #EuroPython2023! Next: 1 day basics, Sep 5th, @ @CH_Open Workshoptage, @ost_fh in Rapperswil 🇨🇭 (de): workshoptage.ch/workshops/20… In-depth: Mar 5-7th 2024, Leipzig 🇩🇪/Remote @ @pyacademy (en): python-academy.com/courses/p…

Oh, looks like @jetbrains/@ThePSF sneakily released the #Python developers survey 2022 results at some point! The first thing I look at is always how testing frameworks changed compared to the year before😅 #pytest up from 50% → 51%, "None" down from 38% → 35%. Yay!

Almost 3 years after #pytest-xvfb 2.0.0, I released v3.0.0 today! Other than packaging/formatting/typing/Python version updates, this release hopefully fixes a long-standing "XIO: fatal IO error 0 (Success)" issue, and adds support for using Xephyr/Xvnc. github.com/The-Compiler/pyte…

Blast from the past: My #pytest training from 7 years ago (mostly inherited by @hpk42) vs. now. Currently working on another big "rewrite", trying to introduce one big case study example (a small RPN calculator) instead of isolated examples for most of the code/exercises.

#pytest 7.3 was released just at the beginning of the easter weekend, it brings multiple enhancements around tmppath retention and output details, but beware we learned of a windows only perf regression thats now under investigation

#pytest-html has a major release (4.0.0) coming in - please try rc4 pypi.org/project/pytest-html… to help iron out compatibility