Skip to main content

Test Reports for iOS

The Appcircle Test Report step displays your test results and code coverage in an aesthetically pleasing user interface.

This component supports the following test and coverage formats:

For additional details, please refer to the document: Generating Test Report

Prerequisites

Before executing the Test Report workflow step, certain prerequisite workflow steps must be completed:

Prerequisite Workflow StepDescription
Xcodebuild for Unit and UI TestRun unit and UI tests in your project to generate an .xcresult file containing the test outcomes.

Input Variables

For each component, specific input variables are required for its operation on your system.

Variable NameDescriptionStatus
AC_TEST_RESULT_PATHDefine the directory and its subdirectories for searching compatible test files.Required
AC_COVERAGE_RESULT_PATHFor native iOS projects, tests automatically set this variable. For other projects, you must specify the coverage path manually.Optional

Output Variables

The outputs resulting from the operation of this component are as follows:

Variable NameDescription
AC_TEST_REPORT_JSON_PATHSpecifies the path of the JSON report.

To access the source code of this component, please use the following link:

Preview of GitHub - appcircleio/appcircle-test-report-component: Appcircle Test Report Component