Targets
Targets are responsible for publishes the test results to respective entities.
Supports
Target types.
✅ Slack
✅ Teams (Microsoft Teams)
✅ Chat (Google Chat)
✅ Custom
Syntax
json
{
"name": "slack",
"condition": "fail",
"inputs": {}
}
name
(string) - name of the target.slack
,teams
,chat
,custom
,delay
condition?
(condition) - condition of execute the target.inputs?
(object) - custom inputs to run the target.extensions?
(extensions[]) - list of extensions to be enabled.
Config
Sample config file.
json
{
"targets": [
{
"name": "slack",
"inputs": {
"url": "<incoming-webhook-url>",
"publish": "test-summary"
}
}
],
"results": [
{
"type": "testng",
"files": ["path/to/testng-results.xml"]
}
]
}