pytest-messenger
Pytest to Slack reporting plugin
Decision gist · record as of 2026-08-14
Yes, if you use Slack or Ding Talk and want test results visible in team channels. The plugin is production-stable, actively maintained, has low install friction, and carries no security vulnerabilities. The single-dependency design and permissive MIT license make it safe to adopt. Install it if your team workflow centers on these messaging platforms; skip it if you rely on email or other notification channels.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python >= 3.6 and a valid webhook URL for your chosen messenger platform (Slack or Ding Talk).
- Low friction installation as a pure-Python wheel with a single runtime dependency (requests).
- Actively maintained with recent commits and marked as production-stable.
License · maintenance · safety
MIT license (permissive) — MIT license permits free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.
last release 2022-11-24 (1359 days) · last repo commit 2026-08-12 · 67 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 2,208,436 downloads/mo, #3,209 on PyPI
Alternatives
Verify before relying
pip install pytest-messenger
# Configure in pytest.ini or via CLI:
pytest --slack-webhook=https://hooks.slack.com/... test_file.py- Exact configuration syntax and available CLI options for each messenger platform
- Whether Telegram support mentioned as 'soon' has been implemented since last release
- Performance impact when sending results to external messaging services
What it is and what it does
pytest-messenger is a pytest plugin that automatically sends test execution results to team messaging platforms. It acts as a bridge between your test suite and communication tools like Slack or Ding Talk, allowing test outcomes to be reported directly into channels where your team already works. The plugin depends only on requests and works with Python 3.6 and later.
Typical usage involves installing the plugin, configuring a webhook URL for your chosen messenger, and then running pytest normally—the plugin intercepts test completion and pushes a summary to your configured channel. This eliminates the need to manually check CI logs or wait for email notifications, keeping test status visible in real-time team communication.
Use it for
- Notify a Slack channel when a test suite completes, so team members see results without checking CI logs
- Send Ding Talk notifications for test failures in a shared team group chat
- Integrate pytest results into existing team messaging workflows during development
- Provide immediate feedback on test status during continuous integration pipelines
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you use Slack or Ding Talk and want test results visible in team channels.
The plugin is production-stable, actively maintained, has low install friction, and carries no security vulnerabilities. The single-dependency design and permissive MIT license make it safe to adopt. Install it if your team workflow centers on these messaging platforms; skip it if you rely on email or other notification channels.
Install
pytest-messenger on PyPI
Before you install
Low friction installation as a pure-Python wheel with a single runtime dependency (requests). Actively maintained with recent commits and marked as production-stable.
Requires Python >= 3.6 and a valid webhook URL for your chosen messenger platform (Slack or Ding Talk).
License in practice
MIT license permits free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.
Quickstart
pip install pytest-messenger
# Configure in pytest.ini or via CLI:
pytest --slack-webhook=https://hooks.slack.com/... test_file.py
Verify before relying
- Exact configuration syntax and available CLI options for each messenger platform
- Whether Telegram support mentioned as 'soon' has been implemented since last release
- Performance impact when sending results to external messaging services
Package facts
| License | MIT license permissive |
| Python support | Supports the current Python release >=3.6 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagerequests |
| Maintenance | Actively maintained 1,359 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 2,208,436 / month, #3,209 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableFramework :: PytestIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishProgramming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8 |
Evidence: pytest_messenger-3.3.0-py2.py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “pytest messaging plugin”
- pytest-messengerA pytest plugin that sends test results to messaging platforms like…
- pytest-enablerA pytest plugin that conditionally enables other pytest plugins based…
- pytest-loggingA pytest plugin that configures Python logging to output to the…
Give your agent the search over MCP, or paste the wish link into any chat.
More Testing packages
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
virtualenv creates isolated Python environments where packages can be installed independently without affecting the system Python or other projects.
Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.
Install it if you want to measure test completeness or enforce coverage thresholds in your project.
pytest-asyncio is a pytest plugin that enables writing and running async test functions using the asyncio library, allowing developers to await code directly within test cases.
Install it if you write tests for any asyncio-based code.
A pytest plugin that generates test reports in Common Test Report Format (CTRF) as JSON, compatible with pytest-xdist and pytest-playwright for distributed and browser-based testing.
Install it if you need CTRF-formatted test output for CI/CD integration or cross-tool reporting.
See also pytest-slack · pytest-logging · pytest-xml · dingtalk-stream · slackweb · pytest-html · pytest-sentry · pytest-cpp · pytest-custom-exit-code · pytest-instafail