Create Branches

Prior to creating branches, it is advisable to make a plan of how many branches are required and how they will be used.

In general, it is advisable to co-ordinate your team’s activities to prevent multiple team members updating the same Test Cases at the same time. This will reduce the need to merge changes when syncing. Your branch design will depend on the workflow your team is following, but it is not generally necessary to create a different branch for each tester in your team when working on the same project.

You may need multiple branches if you are testing different versions of the System Under Test (SUT) at the same time. This will allow you to have different views of your Test Cases depending upon the functionality being tested. For the simplest model, simply use the Master Branch.

Follow the steps below to create a new branch.

Step 1: Click on the ‘New Branch’ icon as highlighted in the image below, and provide the Branch Name.

Step 2: Once the branch is created, users can make changes in the project. Once changes are complete, users can commit and push the changes on the same branch. When this is done, change the branch to ‘Master’ in Github Desktop:

Step 3: Now choose your local branch in the ‘Compare’ dropdown menu.

Step 4: On the local branch timeline, select the commit you have made in the local branch (this will be the last commit).

Step 5: Click on ‘Update from’ the local branch.

Step 6: Click ‘Sync’ to push changes to the master branch.

2017-05-12T11:34:51+00:00

Leave A Comment