Skip to content

QT Test

Buildnote CLI can collect QT Test XML format results and submit them to the buildnote service.

Configuration

To enable collection of QT Test results add the following section to buildnote.json config file

json
{
  "collect": {
    ...
    "qt": {
      "enabled": true,
      "include": [
        "**/results_*.xml"
      ]
    }
    ...
  }
}

Metadata

You can attach metadata to QT Test results by configuring the metadata section:

json
{
  "collect": {
    ...
    "qt": {
      "enabled": true,
      "include": [
        "**/results_*.xml"
      ],
      "metadata": {
        "test-user": "{{ env.USER }}"
      }
    }
    ...
  }
}

Excluding paths

To exclude any paths from collection configure exclude section with required globs.

json
{
  "collect": {
    ...
    "qt": {
      "exclude": [
        "/any/excluded/glob/**/"
      ]
    }
    ...
  }
}