--- id: pytest-slack version: "2.3.1" license: MIT license license_treatment: permissive maintenance: active --- # pytest-slack — Pytest to Slack reporting plugin License: permissive · Maintenance: active · Downloads: 318.2K/mo ## What it is and what it does pytest-slack is a pytest plugin that integrates test execution with Slack notifications. When you run pytest with the plugin enabled, it sends a summary of your test results to a Slack channel via an incoming webhook. You configure it by passing command-line options specifying the webhook URL, channel name, and optional customizations like the reporter username, success/failure emojis, or custom icons. The plugin is designed for CI/CD pipelines and development workflows where teams want immediate visibility into test outcomes without manually checking logs. It depends only on requests for HTTP communication and installs as a standard Python package. The project is actively maintained and has been in production use since its first release in 2019. Use it for: - Notify a Slack channel when CI/CD test suites pass or fail, with custom emojis and reporter names. - Send regression test results to a team channel with a link to the full test report. - Integrate pytest into existing Slack-based development workflows for real-time test visibility. - Automate test result notifications in multi-team environments where Slack is the primary communication hub. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. A pytest plugin that sends test results to Slack via incoming webhooks, allowing you to report pass/fail status with customizable messages, emojis, and icons. Yes, if you use pytest in a Slack-integrated workflow. The plugin is lightweight, actively maintained, has no security vulnerabilities, and solves a straightforward problem—getting test results into Slack without manual steps. Install friction is minimal and the MIT license poses no restrictions. ## Install pip install pytest-slack uv add pytest-slack poetry add pytest-slack ## Installing pytest-slack Before you install: Low install friction with a single runtime dependency (requests). Actively maintained as of the latest commit on 2026-08-12, with stable production status and no known vulnerabilities. License in practice: MIT license is permissive and imposes no significant restrictions on use, modification, or distribution. Quickstart: pip install pytest-slack pytest tests --slack_hook=https://hooks.slack.com/services/YOUR_HOOK --slack_channel=test_channel --slack_username="Test Bot" Requires a Slack incoming webhook URL configured in your Slack workspace before use. Verify before relying: - Whether the plugin works with modern pytest versions beyond those listed in classifiers (3.8 is the latest shown). - Current maintenance status relative to pytest's ongoing evolution and breaking changes. ## Package facts - License: MIT license (permissive) - Python support: unspecified - Install friction: low - Maintenance: active - Downloads: 318.2K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags pytest slack reporting, send test results to slack, pytest slack webhook, slack test notifications, pytest ci slack integration, automated test reporting slack, ci-cd-integration, slack-notifications [View on SkillFed](https://skillfed.io/packages/pytest-slack) · [View on PyPI](https://pypi.org/project/pytest-slack/)