v4

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

Get a specific test case

get/workspaces/{workspace_domain}/projects/{project_name}/unit-tests/suites/{suite_id}/sessions/{session_id}/test-groups/{test_group_id}/cases/{id}

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

test_group_idstring required
Example:com.example.tests.IntegrationTests

The ID of the test group

idstring required
Example:com.example.tests.IntegrationTests.testUserLogin

The ID of the test case

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