Skip to main content

Slack

Stay informed about the status of your tests right where you work with Tesmon's Slack integration. With this powerful integration, you can receive real-time updates and notifications about your test runs directly within your Slack workspace.

Add Tesmon App

To get started, click the "Go to Integrations" button below to open the Tesmon Integrations page. From there, you can connect Tesmon with your Slack workspace. By clicking the "Connect" button, you will be redirected to the Slack OAuth page where you can authorize Tesmon to access your Slack workspace.

Channels

Public

For public channels, once Tesmon is authorized, it can directly post notifications to the specified channel.

Private

For private channels, additional manual steps are required. You need to mention the Tesmon app in the channel by typing @Tesmon to grant it access to post notifications.

Flexible and Customizable Notifications

Tesmon's Slack integration is designed to be flexible and customizable to suit your team's preferences and requirements. We understand that every team has different needs when it comes to receiving notifications in Slack.

Our notification rules allow you to define specific conditions for sending notifications to Slack channels. You have full control over which test run statuses and channels should receive the notifications. For example, you can choose to receive notifications only for failed test runs, skip successful ones, or configure custom combinations of statuses and channels.

Here's an example of how notification rules can be defined in your tesmon.config.yml:

notifications:
slack:
- status: ["success"]
channels: ["testing-success"]
- status: ["failed", "aborted"]
channels: ["testing-failures"]

In this example, we have defined two notification rules for Slack integration. The first rule specifies that notifications should be sent to the "testing-success" channel for test runs with a status of "success". The second rule states that notifications should be sent to the "testing-failures" channel for test runs with statuses "failed" or "aborted".

Feel free to customize these rules to meet your specific requirements. You can add more statuses and channels as needed to tailor the notifications according to your testing workflow.