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 executing the Test Report workflow step, certain prerequisite workflow steps must be completed:
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
For each component, specific input variables are required for its operation on your system.
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 outputs 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: