Skip to content

Chart - Test Summary ​

This extension will attach a radial gauge representing total pass percentage using QuickChart.

slack-testbeats-pass

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>"
  }
}

Reports ​

Teams ​

teams-link

Slack ​

slack-link

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"]
    }
  ]
}

Released under the MIT License.