DEV Community

Cover image for Report Automation Test Results to Google Chat
Anudeep
Anudeep

Posted on • Updated on

Report Automation Test Results to Google Chat

In the previous post we have seen the integration of test results to microsoft teams and slack.

In this article, we will check on reporting your test results to Google Chat.

GitHub logo test-results-reporter / testbeats

Publishes test results to Microsoft Teams, Google Chat & Slack

This npm package has been renamed from test-results-reporter to testbeats. test-results-reporter will soon be phased out, and users are encouraged to transition to testbeats.

logo

Publish test results to Microsoft Teams, Google Chat, Slack and many more.


Build Downloads Size

Stars Downloads



TestBeats is a tool designed to streamline the process of publishing test results from various automation testing frameworks to communication platforms like slack, teams and more for easy access and collaboration. It unifies your test reporting to build quality insights and make faster decisions.

It supports all major automation testing frameworks and tools.

Read more about the project at https://testbeats.com

Sample Reports

Alerts in Slack

testbeats-failure-summary

Results in Portal

testbeats-failure-summary


Need Help

We use Github Discussions to receive feedback, discuss ideas & answer questions. Head over to it and feel free to start a discussion. We are always happy to help 😊.

Support Us

Like this project! Star it on Github ⭐. Your support…

TestBeats is a command line tool that can publish test results to numerous communication platforms.

Steps

  • Create an incoming webhook url for a chat space - docs
  • Create a config file either in json or js format.
    {
      "targets": [
        {
          "name": "chat",
          "inputs": {
            "url": "<chat-incoming-webhook-url>"
          }
        }
      ],
      "results": [
        {
          "type": "junit",
          "files": ["path/to/junit-results.xml"]
        }
      ]
    }
Enter fullscreen mode Exit fullscreen mode
  • Install Node.js in your system.
  • Run this command to report the results.
npx test-results-reporter publish -c path/to/config.json
Enter fullscreen mode Exit fullscreen mode

Top comments (0)