Skip to main content

Test Reports for Android

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
Android Unit TestsThis step must be executed to obtain the test report output.
Screenshot

Input Variables

For each component, specific input variables are required for its operation on your system. The input variables necessary for Test Reports are as follows:

Screenshot
Variable NameDescriptionStatus
AC_TEST_RESULT_PATHSpecifies the directory and its subdirectories where compatible test files will be searched.Required
AC_COVERAGE_RESULT_PATHSpecifies the coverage path.Optional
AC_JACOCO_COVERAGE_TYPEDetermines the parameter in your JaCoCo report based on which the coverage will be calculated. This setting is necessary when using JaCoCo parseable coverage results and specifying the coverage result path. Types description can be found in this documentationRequired

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