This content originally appeared on DEV Community and was authored by Anudeep
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.
test-results-reporter / reporter
Publishes test results to Microsoft Teams, Google Chat & Slack
Test Results Reporter
Publish test results to Microsoft Teams, Google Chat, Slack and many more.
Targets
Extensions
Test Results
Sample Reports
Documentation
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 means a lot to us.
Test Results Reporter 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
orjs
format.
{
"reports": [
{
"targets": [
{
"name": "chat",
"inputs": {
"url": "<chat-incoming-webhook-url>"
}
}
],
"results": [
{
"type": "junit",
"files": ["path/to/junit-results.xml"]
}
]
}
]
}
- Install Node.js in your system.
- Run this command to report the results.
npx test-results-reporter publish -c path/to/config.json
This content originally appeared on DEV Community and was authored by Anudeep
Anudeep | Sciencx (2022-07-18T14:27:06+00:00) Report Automation Test Results to Google Chat. Retrieved from https://www.scien.cx/2022/07/18/report-automation-test-results-to-google-chat/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.