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:
- Xcode 13+ XCTest - For Apple's native test framework.
- JUnit - For Java-based test reporting.
- Cobertura - For coverage reporting.
- lcov.info - For GCC coverage data.
For additional details, please refer to the document: Generating Test Report
Prerequisites
Before running the Test Reports for iOS step, you must complete certain prerequisites, as detailed in the table below:
Prerequisite Workflow Step | Description |
---|---|
Xcodebuild for Unit and UI Test | Run unit and UI tests in your project to generate an .xcresult file containing the test outcomes. |
Input Variables
This step contains some input variable(s). It needs these variable(s) to work. The table below gives explanation for this variable(s).
Variable Name | Description | Status |
---|---|---|
$AC_TEST_RESULT_PATH | Define the directory and its subdirectories for searching compatible test files. | Required |
$AC_COVERAGE_RESULT_PATH | For native iOS projects, tests automatically set this variable. For other projects, you must specify the coverage path manually. | Optional |
Output Variables
The output(s) resulting from the operation of this component are as follows:
Variable Name | Description |
---|---|
AC_TEST_REPORT_JSON_PATH | Specifies the path of the JSON report. |
To access the source code of this component, please use the following link: