--- id: pytest-messenger version: "3.3.0" license: MIT license license_treatment: permissive maintenance: active --- # pytest-messenger — Pytest to Slack reporting plugin License: permissive · Maintenance: active · Downloads: 2.2M/mo ## 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 above — verify before relying. A pytest plugin that sends test results to messaging platforms like Slack and Ding Talk, integrating test reporting directly into team communication channels. 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 pip install pytest-messenger uv add pytest-messenger poetry add pytest-messenger ## Installing pytest-messenger 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. 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 Requires Python >= 3.6 and a valid webhook URL for your chosen messenger platform (Slack or Ding Talk). 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_current - Install friction: low - Maintenance: active - Downloads: 2.2M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags pytest slack reporting, test results to slack, pytest messaging plugin, ding talk test notifications, ci test notifications, pytest-plugin, ci-integration, team-notifications [View on SkillFed](https://skillfed.io/packages/pytest-messenger) · [View on PyPI](https://pypi.org/project/pytest-messenger/)