Monday, July 18, 2022
HomeWordPress DevelopmentReport Automation Take a look at Outcomes to Google Chat

Report Automation Take a look at Outcomes to Google Chat


Within the earlier put up we have now seen the combination of take a look at outcomes to microsoft groups and slack.

On this article, we’ll examine on reporting your take a look at outcomes to Google Chat.

Publishes take a look at outcomes to Microsoft Groups, Google Chat & Slack

Take a look at Outcomes Reporter is a command line device that may publish take a look at outcomes to quite a few communication platforms.



Steps

  • Create an incoming webhook url for a chat house – docs
  • Create a config file both in json or js format.
{
  "studies": [
    {
      "targets": [
        {
          "name": "chat",
          "inputs": {
            "url": "<chat-incoming-webhook-url>"
          }
        }
      ],
      "outcomes": [
        {
          "type": "junit",
          "files": ["path/to/junit-results.xml"]
        }
      ]
    }
  ]
}
Enter fullscreen mode

Exit fullscreen mode

  • Set up Node.js in your system.
  • Run this command to report the outcomes.
npx test-results-reporter publish -c path/to/config.json
Enter fullscreen mode

Exit fullscreen mode

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments