v4

OpenAPI 3.0.1Apache 2.02026-07-312457525.9 MB
Unit Test API

Add or update a test case

put/workspaces/{workspace_domain}/projects/{project_name}/unit-tests/suites/{suite_id}/sessions/{session_id}/cases

Path parameters

workspace_domainstring required
Example:my-company

The human-readable ID of the workspace

project_namestring required
Example:my-project

The human-readable ID of the project

suite_idstring required
Example:MNbyVedg

The ID of the unit test suite

session_idstring required
Example:r4nBYXVq

The ID of the test session

Request body

namestring required

Name of the test case

test_group_namestring required

Name of the test group this case belongs to (typically corresponds to a test suite in JUnit XML)

classnamestring required

Fully qualified class name of the test

status'PASSED' | 'FAILED' | 'SKIPPED' | 'ERROR' required

Test execution status

timenumber double required

Execution time in seconds

datastring

Original XML data from the test report

Response

urlstring

API endpoint to GET this object

html_urlstring

Web URL to view this object in Buddy.works

idstring

Unique identifier of the test case

namestring

Name of the test case

test_group_namestring

Name of the test group this case belongs to (typically corresponds to a test suite in JUnit XML)

test_group_idstring

ID of the test group this case belongs to

classnamestring

Fully qualified class name of the test

status'PASSED' | 'FAILED' | 'SKIPPED' | 'ERROR'

Test execution status

timenumber double

Execution time in seconds

datastring

Original XML data from the test report