setup-testspace
setup-testspace copied to clipboard
A GitHub Action to install and configure the Testspace client used for publishing test content
Testspace client Setup Action
This GitHub Action is used to install and configure the Testspace client for publishing test results to Testspace.com.
- Supports
JUnitand other results formats such asNUnit,TRX, etc. - Supports
Linux,maxOS, andWindows
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
privaterepo.
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-basedprocess, forks, andpull 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:
- Built-in metrics/graphs
- Extensive Failure Tracking Management
- Automatic Flaky analysis
- Insights for process improvements
For more information on Publishing test results refer to the help Overview on publishing.

Contributing
Contributions are encouraged following the Contribution Guide.
License
This code is released under the MIT License.