- continuous integration
Test Plan Details
REST API (Generic)
Jenkins
Azure DevOps
AWS DevOps
AWS Lambda
Circle CI
Bamboo CI
Travis CI
CodeShip CI
Shell Script(Generic)
Bitrise CI
GitHub CI/CD
Bitbucket CI/CD
GitLab CI/CD
Copado CI/CD
Gearset CI/CD
Codemagic CI/CD
Google Cloud Build CI/CD
Integrate Testsigma with Bitrise CI
Bitrise is a CI tool specifically designed for mobile continuous integration and delivery system for iOS and Android native apps. Bitrise is an enterprise product and hence provides support for build executions on Linux and Mac Os as well.
Prerequisites
- User needs a repository where the steps mentioned in a shell script file can be uploaded and updated.
Steps to follow:
Below we will cover the steps in 3 parts:
- Create Workspace
- Add an app by selecting the Account / Workspace.
- Configure the shell script as Step
Let’s begin.
Part1: Create Workspace
-
Once a user logs in, user has to create a workspace. A workspace can be created either byusing the plus icon on the screen or under the profile picture of the user.


- Mention the name of the workspace you would like to create:

Part2: Add an app by selecting the Account / Workspace.
- Once the workspace is created, proceed to add the app:

- Proceed with the steps to add an app by selecting the Account / Workspace.
- Set the privacy for the app as per your requirement:
- Once the privacy option is selected, Next button will be activated. Click on Next button.
- You would be prompted to choose a repository for the workspace from a list of options. You can even setup a path manually by selecting the manual setup option:

- In case the repository is not a public repository, please update the link for repository accordingly:

- Choose a branch for the build

- Bitwise will try to connect and verify the repository. This is when Bitwise tries to configure the app. This might take a few seconds.
- If the system is unable to verify the repository, you can update the URL or even proceed to configure the same manually

- Click on Proceed to move to the next step.
- Select an appropriate option from the project build configuration list

- Click ‘I m ready’ and then click on Finish and will see bellow screen if everything is proper

Part3: Configure the shell script as Step
- Select the App and move to the Workflow Editor.

- In the workflow editor, you can define your own workflow and add steps accordingly.
- You can also remove the steps that got added to the build flow automatically, incase the steps are not needed.
- Inorder to delete any steps, select the step by clicking on it and scroll down until the Delete Step button is visible.

- Click ‘Delete Step’ button to delete the steps.
- Click on the + icon to add a new step

- Search for the task that you want to add as part of the step.

- Select the task and then modify / update the field values for the respective task.
-
In this case to execute the Test Plan developed in Testsigma, you have to update the filename / filepath of the shell script file
Ex: bitrise.sh file should be available in the repository specified for this app. You need to place the shell script from page into bitrise.sh file and update below properties- TESTSIGMAAPIKEY
- TESTSIGMATESTPLAN_ID
- MAXWAITTIMEFORSCRIPTTOEXIT

- This shell file has the details of the steps and the Test plan ID so that the execution can be polled and mapped accordingly.
- Once all steps are updated, click on the save button to save the build pipeline.

- Once the build pipeline is saved successfully, you can trigger the build run or even schedule the run.

- Select appropriate details and click ‘Start Build’ button.

- Logs can be viewed in the build run section.
- Upon execution of all steps, the build status is marked as passed or failed accordingly.
That's it.