The test notification feature in CloudBees Smart Tests notifies developers via MS Teams when their test sessions finish so they can immediately take action on the results, whether to triage failures or merge a PR. Developers can create subscriptions to receive personal notifications about test sessions run against their branches/pull requests or other test sessions they care about.
Sending data to CloudBees Smart Tests
To begin sending data to CloudBees Smart Tests, follow the steps in Send data to CloudBees Smart Tests. You must have test sessions recorded in your CloudBees Smart Tests workspace to receive notifications about them.
Create notifications for MS Teams
Create notifications to be sent as a rich adaptive card containing test summary and insights, once a test session is completed.
|
Functionality varies according to feature-specific settings. |
-
Navigate to .
-
Select + Create notifications.
-
Select MS Teams in the "Create notification" dialog, if applicable.
-
Complete the following fields:
-
(Required) Channel name: Enter the name of the MS Teams channel where you want to receive notifications.
-
(Optional) Description: Add a description of the notification subscription.
-
(Required) Webhook URL: Paste the webhook URL for the MS Teams channel where you want to receive notifications. For more information on creating an incoming webhook in Microsoft, refer to MS Add incoming webhook.
-
-
Select Submit when done.
Receive notifications
Once you have set up a subscription, CloudBees Smart Tests sends a message with a summary and insights along with a link to view the full session each time a new test session matching the subscription criteria is recorded. Failing notifications include a link to view test results in CloudBees Smart Tests and a quick summary of failing tests, including annotations for Unhealthy Tests. This helps you get started triaging without checking your email over and over.