<!--
{
  "documentType" : "article",
  "framework" : "AppStoreConnectAPI",
  "identifier" : "/documentation/AppStoreConnectAPI/test-results",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Test Results"
}
-->

# Test Results

Read test results for test actions Xcode Cloud performs.

## Discussion

The `ciTestResult` resource represents the test results that Xcode Cloud makes available if you configure a workflow to include a test action. Use this resource to access:

- The name of the test class
- Test file information
- The name and operating system version of the simulated device that Xcode Cloud used to perform the tests
- The time it took to run the tests
- Test status information
- A unique identifier for the tests Xcode Cloud ran

> Note:
> This resource supports JSON web tokens with a lifetime of up to six months. For more information, see <doc://com.apple.appstoreconnectapi/documentation/AppStoreConnectAPI/generating-tokens-for-api-requests#Determine-the-Appropriate-Token-Lifetime>.

## Topics

### Getting Test Results

[`Read test result information`](/documentation/AppStoreConnectAPI/GET-v1-ciTestResults-_id_)

Get a specific test result Xcode Cloud created when it performed a build with a test action.

### Objects and types

[`object CiTestResult`](/documentation/AppStoreConnectAPI/CiTestResult)

The outcome of a single test case in an Xcode Cloud test action, including its pass/fail status and duration.

[`object CiTestResultResponse`](/documentation/AppStoreConnectAPI/CiTestResultResponse)

The response body for endpoints that read a single test result from an Xcode Cloud build action.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)