Skip to content
testspace-com Created by potrace 1.10, written by Peter Selinger 2001-2011

GitHub Action

Testspace Setup CLI

v1.0.6 Latest version

Testspace Setup CLI

testspace-com Created by potrace 1.10, written by Peter Selinger 2001-2011

Testspace Setup CLI

Setup Testspace client to publish CI results from workflow to Dashboard; report flaky tests, metrics, graphs, and analytics

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Testspace Setup CLI

uses: testspace-com/setup-testspace@v1.0.6

Learn more about this action in testspace-com/setup-testspace

Choose a version

Testspace Action

Testspace client Setup Action

This GitHub Action is used to install and configure the Testspace client for publishing test results to Testspace.com.

  • Supports JUnit and other results formats such as NUnit, TRX, etc.
  • Supports Linux, maxOS, and Windows

LIVE DASHBOARD

Usage

Publish test results, code coverage, and other artifacts with one command. Seamless integration with your CI. Manage all your test status with a single dashboard providing history, metrics, and other types of insights.

steps:
  - uses: testspace-com/setup-testspace@v1
     with:
       domain: ${{github.repository_owner}}
       token: ${{ secrets.TESTSPACE_TOKEN }} # optional, only required for private repos
  ..
  - name: Publish Results to Testspace
    run: testspace path/to/*.xml

Setup

The Testspace client action requires a domain and optionally a token for publishing test results.

  • Testspace domain is the organizational name (subdomain) used when creating the account along with .testspace.com. The .testspace.com string is optional.
  • Testspace access token is required when using a private repo.

Push

Simple to publish test results, code coverage, custom metrics, etc., all with a single line command using the Testspace client.

  • Automatically supports a branch-based process, forks, and pull requests
  • Can also publish code coverage, and other artifacts (see here for details)
  • Aggregates results for jobs, matrix, and even multiple workflows

This sample repo - https://github.com/testspace-com/hello.publish - demonstrates support for jobs, matrix, and multiple workflows all executing based on the same commit. All of the published results are aggregated together as a single result set.

CLICK HERE to review the test results from the Hello Publish sample.

Testspace Dashboard

Testpace.com enables monitoring the status of the software, regardless of the testing method. All the metrics; test results, code coverage, defects, requirements, etc., are collected and analyzed together. Testspace Dashboard provides:

For more information on Publishing test results refer to the help Overview on publishing.

Dashboard

Contributing

Contributions are encouraged following the Contribution Guide.

License

This code is released under the MIT License.