Skip to content
On this page

QuickChart - Test Summary

QuickChart helps generate chart images with a simple, open API.

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

DEFAULTS
  • hook: post-main
  • 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.