Skip to content

Extensions Reference ​

Extensions enhance TestBeats' capability to provide richer and more contextualized information in your notification targets. They add additional data, formatting, and functionality to your test reports.

Extensions Example

Available Extensions ​

How Extensions Work ​

Extensions are modular components that can be added to your TestBeats configuration to enhance the information displayed in your notification targets. They work by:

  1. Processing test data - Extensions analyze your test results and extract relevant information
  2. Enriching reports - They add context, metadata, and visual elements to your reports
  3. Enhancing notifications - Extensions can modify how information is presented in Slack, Teams, and other targets

Extension Configuration ​

Extensions are configured in your testbeats.json file under the extensions section:

json
{
  "targets": [
    {
      "name": "slack",
      "inputs": {
        "url": "{SLACK_WEBHOOK_URL}"
      }
    }
  ],
  "extensions": [
    {
      "name": "ci-info"
    },
    {
      "name": "mentions",
      "inputs": {
        "users": [
          {
            "name": "Jon",
            "teams_upn": "[email protected]"
          },
          {
            "name": "qa-team",
            "slack_gid": "UXXXXXXX"
          }
        ]
      }
    }
  ]
}

Released under the MIT License.