Chart - Test Summary ​
This extension will attach a radial gauge representing total pass percentage using QuickChart.
DEFAULTS
- hook:
after-summary
- condition:
passOrFail
LIMITATIONS
This extension is not supported for google chat target.
Syntax ​
json
{
"name": "quick-chart-test-summary",
"inputs": {
"url": "<quick-chart-custom-url>"
}
}
url?
(string) - quick chart custom url (https://your-domain.quickchart.com).Defaults to https://quickchart.io
Reports ​
Teams ​
Slack ​
Examples ​
Default ​
json
{
"targets": [
{
"name": "teams",
"inputs": {
"url": "<teams-incoming-webhook-url>"
},
"extensions": [
{
"name": "quick-chart-test-summary"
}
]
}
],
"results": [
{
"type": "testng",
"files": ["path/to/testng-results.xml"]
}
]
}
Custom URL ​
json
{
"targets": [
{
"name": "teams",
"inputs": {
"url": "<teams-incoming-webhook-url>"
},
"extensions": [
{
"name": "quick-chart-test-summary",
"inputs": {
"url": "<quick-chart-base-url>"
}
}
]
}
],
"results": [
{
"type": "testng",
"files": ["path/to/testng-results.xml"]
}
]
}