- GET
- /workspaces
- /:workspace_domain
- /projects
- /:project_name
- /unit-tests
- /suites
- /:suite_id
- /sessions
- /:session_id
- /test-groups
- /:test_group_id
- /cases
- /:id
Get a specific test case
Request example
CURLcurl -X GET "https://api.buddy.works/workspaces/:workspace_domain/projects/:project_name/unit-tests/suites/:suite_id/sessions/:session_id/test-groups/:test_group_id/cases/:id" \ -H "Authorization: Bearer <YOUR-TOKEN>" \ -H "Content-Type: application/json"
EXAMPLE RESPONSE{ "url": "https://api.buddy.works/workspaces/my-workspace/projects/my-project/unit-tests/suites/5ddb7c180fb38be67bd78a88a/sessions/5ddb7c180fb38be67bd78a88b/test-groups/com.example.tests.IntegrationTests/cases/com.example.tests.IntegrationTests.testUserLogin", "html_url": "https://app.buddy.works/my-workspace/projects/my-project/unit-tests/suites/5ddb7c180fb38be67bd78a88a/sessions/5ddb7c180fb38be67bd78a88b/test-groups/com.example.tests.IntegrationTests/cases/com.example.tests.IntegrationTests.testUserLogin", "id": "com.example.tests.IntegrationTests.testUserLogin", "name": "testUserLogin", "test_group_name": "com.example.tests.IntegrationTests", "test_group_id": "com.example.tests.IntegrationTests", "classname": "com.example.tests.IntegrationTests", "status": "PASSED", "time": 2.5, "data": "<testcase name=\"testUserLogin\" classname=\"com.example.tests.IntegrationTests\" time=\"2.5\"/>" }
STATUS200 OK