#PyTest
Tiny TIL: I just figured out how to run pytest with a different Python version against my pyproject.toml/setup.py projects using uv run

uv run --python 3.12 --with '.[test]' pytest

til.simonwillison.net/pytest/pytes...
Running pytest against a specific Python version with uv run
While working on this issue I figured out a neat pattern for running the tests for my project locally against a specific Python version using uv run :
til.simonwillison.net
February 4, 2025 at 10:59 PM
They also told me I could not script automated testing. I taught myself Python in 15 hours and built a pytest framework behind their back, because we had no regression or smoke tests at the time.
September 21, 2026 at 11:41 PM
I gotta brush up on pytest and some go syntax idk
September 22, 2026 at 8:23 PM
pytest-mock is currently the #3 top pytest plugin.
It simplifies mocking in pytest.
Why do we even need to mock? That’s covered in the episode.
January 31, 2025 at 6:44 PM
Layer 4 is the 10-liner: assert tools == EXPECTED_TOOLS. Now restart_deployment can't slip in via a refactor; a human must type its name into a reviewed file.

Full pytest code + CI:
https://devtocash.com/blog/2026-09-09-testing-mcp-servers-pytest-ops-ai-agents

#DevOps #MCP
How to Test an MCP Server: pytest Suites for Ops AI Tools That Touch Real Infra
How to test an MCP server with pytest: in-memory protocol tests, guardrail unit tests, a prompt-injection suite, and a tool-surface contract gate in CI.
devtocash.com
September 19, 2026 at 6:06 AM
🐍📩 frozendict, pytest Plugins, re.prefixmatch(), and More at Pycoders Weekly Issue 753 pycoders.com/issues/753
September 25, 2026 at 1:20 AM
🎙️ Just published a new episode of Test & Code: pytest-md and pytest-md-report : Markdown reports for pytest. Have a listen:
pytest-md and pytest-md-report : Markdown reports for pytest
Markdown reports as either text or markdown...
share.transistor.fm
March 1, 2025 at 1:38 AM
📰🐍 Get the best Python links of the week: PyCoder’s Weekly Issue #753: frozendict, pytest Plugins, re.prefixmatch(), and More (2026-09-22) pycoders.com/issues/753
PyCoder’s Weekly | Issue #753
frozendict, pytest Plugins, re.prefixmatch(), and More
pycoders.com
September 22, 2026 at 7:45 PM
Shiny for Python 1.8 is out! 🎉 Test your app's server logic without a browser 🪄

test_server() runs your app in memory: set inputs, let the reactive graph settle, assert on outputs. Plain, synchronous pytest.

Also: ui.page_html() and session.allow_reconnect().

opensource.posit.co/blog/2026-09...
September 22, 2026 at 7:17 PM
🚀 Introducing Zed v0.163!

Today's stable release brings a lot of improvements for those working in Python 🐍:

Zed now supports pytest-based test discovery and runnables, in addition to unittest.
November 27, 2024 at 6:32 PM
pytest-check 2.5.0 released.
It's gotten some recent attention from the community and I'm very grateful.
Thanks mfulgo for adding type hints. Super awesome.
And thanks to taylermulligan for fixing a longtime issue that we weren't respecting --runxfail.
github.com/okken/pytest...
#Python #pytest
GitHub - okken/pytest-check: A pytest plugin that allows multiple failures per test.
A pytest plugin that allows multiple failures per test. - okken/pytest-check
github.com
February 13, 2025 at 2:25 AM
Just had my boss ask me about a pytest plugin I wrote.
He: Are you familiar with this plugin?
me: Yes. 😁
April 9, 2025 at 7:38 PM
Just made a new pytest-rich release:

github.com/nicoddemus/p...

The situation is still the same: the project is looking for new maintainers, if this is something you are interested in, please speak up! 😁

#pytest #python
GitHub - nicoddemus/pytest-rich: pytest + rich integration (proof of concept)
pytest + rich integration (proof of concept). Contribute to nicoddemus/pytest-rich development by creating an account on GitHub.
github.com
December 12, 2024 at 11:01 PM
Exploring VS Code compatibility with different
@pytest.org plugins this week- got a plugin which is failing? Add a comment 👇

github.com/microsoft/vs...

also thanks @brianokken.bsky.social for this top plugin list I'm using as a jumping point pythontest.com/top-pytest-p...
Top pytest Plugins
This is intended to find the most popular pytest plugins, as plugins usually have “pytest” in the name. The list is generated from hugovk’s Top PyPI Packages, which is filtered for “pytest”. Many popu...
pythontest.com
November 19, 2024 at 5:51 PM
Tiny TIL: I just figured out how to run pytest with a different Python version against my pyproject.toml/setup.py projects using uv run

uv run --python 3.12 --with '.[test]' pytest

https://til.simonwillison.net/pytest/pytest-uv
Running pytest against a specific Python version with uv run
While working on this issue I figured out a neat pattern for running the tests for my project locally against a specific Python version using uv run :
til.simonwillison.net
February 4, 2025 at 10:59 PM
Весь день медленно разгонялась а потом как написала всякий код.
Pytest ❤️ его придумали великие люди.
August 5, 2026 at 4:05 PM
Test & Code Season 2 is focused on pytest plugins.
Send in your favorites and any you’re curious about.
#Python #pytest
January 12, 2025 at 12:59 AM
Life changing:
pytest-randomly
pytest-network
pytest-snapshot

Good QoL
pytest-cov
pytest-xdist
pytest-sugar
pytest-mock - LLMs like this library a lot
pytest-unused-fixtures
pytest-asyncio
January 9, 2025 at 3:27 AM
For all 3 of you that are trying to use pytest with uv, I learned this incantation that helps pytest use your project's uv virtual environment:

uv add pytest --dev
uv run pytest

(not `uvx pytest`, as I first assumed)
January 16, 2025 at 12:35 PM
Don’t mind me, I’m just over here playing with pytest plugins
January 24, 2025 at 2:36 AM
pytest 9.0 just released!

Notable changes:
* subtests support
* Native TOML configuration
* Progress output in the terminal taskbar

And others. Check the changelog: docs.pytest.org/en/stable/ch...
Changelog - pytest documentation
docs.pytest.org
November 8, 2025 at 8:07 PM
Alguém procurando emprego 100% remoto?

Procuro Senior com MUITA experiência em

O básico: Inglês, Linux, CI, Git, Containers
O Essencial: Python, Django, Pytest, Timezone BRT, CET ou EST
O Extra: Kubernetes, Openshift, Cloud

Manda mensagem apenas se vc se enquadra nos tópicos acima.
April 15, 2025 at 11:38 AM