Skip to main content

Testinium

The Testinium step integrates the Testinium testing platform into Appcircle's CI/CD workflow, allowing for automated testing of mobile applications directly within the Appcircle environment. This step enables developers to execute test scripts, analyze test outcomes, and verify the quality of their mobile apps before deployment

Prerequisites

Before running the Testinium step, certain prerequisites must be completed. These prerequisites, detailed in the table below, vary depending on the platform:

For Android (Java / Kotlin and React Native)

Prerequisite Workflow StepDescription
Android BuildGenerates the app required for the Testinium step.
Android SignThis step is required for signing the app. It processes the output for signing but can be skipped if the app is already signed.

For iOS (Objective-C / Swift and React Native)

Prerequisite Workflow StepDescription
Xcodebuild for DevicesBuilds the application in ARM architecture and generates an IPA file.

For Android Flutter

Prerequisite Workflow StepDescription
Flutter Build for AndroidGenerates the app required for the Testinium step.
Android SignThis step is required for signing the app. It processes the output for signing but can be skipped if the app is already signed.

For iOS Flutter

Prerequisite Workflow StepDescription
Xcodebuild for DevicesBuilds the application in ARM architecture and generates an IPA file.
Flutter Build for iOSPrepares the Flutter project for the iOS environment and builds it using the Flutter SDK.

Input Variables

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

warning

Confidential information should be entered as a secret environment variable. Also, ensure that the environment variable group is selected in the Configuration.

Variable NameDescriptionStatus
$AC_TESTINIUM_APP_PATHSpecifies the full file path of the build output, such as $AC_EXPORT_DIR/Myapp.ipa for iOS or $AC_APK_PATH for Android.Required
$AC_TESTINIUM_USERNAMESpecifies the Testinium username used for logging in.Required
$AC_TESTINIUM_PASSWORDSpecifies the Testinium password used for logging in.Required
$AC_TESTINIUM_PROJECT_IDSpecifies the Testinium project ID. This ID must be obtained from the Testinium platform.Required
$AC_TESTINIUM_PLAN_IDSpecifies the Testinium plan ID. This ID must be obtained from the Testinium platform.Required
$AC_TESTINIUM_COMPANY_IDSpecifies the Testinium company ID. This ID must be obtained from the Testinium platform.Required
$AC_TESTINIUM_MAX_FAIL_PERCENTAGESpecifies the maximum failure percentage limit to interrupt the workflow. It must be in the range 1-100.Optional
$AC_TESTINIUM_TIMEOUTSpecifies the Testinium plan timeout in minutes.Required
$AC_TESTINIUM_MAX_API_RETRY_COUNTSpecifies the maximum repetition in case of Testinium platform congestion or API errors.Required

Output Variables

Below are the output variables generated by this component:

Variable NameDescription
$AC_TESTINIUM_RESULT_FAILURE_SUMMARYTotal number of failures in the test.
$AC_TESTINIUM_RESULT_ERROR_SUMMARYTotal number of errors in the test.
$AC_TESTINIUM_RESULT_SUCCESS_SUMMARYTotal number of successes in the test results.

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

Preview of GitHub - appcircleio/appcircle-testinium-component