<< Blog

GitHub Integration with TestingWhiz – A Complete Guide

October 14, 2019

GitHub Integration with TestingWhiz – A Complete Guide

GitHub is a hosting platform and version control for software development. It is a place where developers network with people and store their projects.

GitHub’s Fundamental Elements

  1. Repository
  2. Branches
  3. Commits
  4. Pull Requests
  5. Git

The Repository can be used to store the project. It can store all types of file such as images, data, HTML, CSS, etc. in a folder. It should include a license and a read me file including information about the project.

The Branch is used by developers to work with different versions at the same time. By default, there is a master branch known as the production branch in the repository. Any other branch created for bug fixing and feature work is a copy of the master branch. Once the changes done in the code are ready, they can be merged into the master branch.

Commits are the changes done in the code. These commits include the description and reason for the change.

Pull Requests are the heart of GitHub collaboration. When a request is polled you can propose that your changes are merged in the master branch. They show the differences, addition, subtraction, and changes through colors. One can start a discussion in a pull request as soon as you commit.

Git is an open-source version and a command-line tool started by Linux, which is used for storing the changes of the code in a common repository.

Developers create software or an application and they constantly make changes to the code before the release of the beta version. Git stores these changes in a central repository. Due to this, the developer can easily update the code changes which are visible to every developer of the team.

Eliminate bugs and ship with more confidence by adding GitHub to your Automation Workflow

  1. Git helps the contributors to track the changes on files or projects and speed up the overall process.
  2. If you are working in a team project, Git makes it simple to commit changes of all the members and start with the updated version all the time.
  3. Git integration is a powerful feature of TestingWhiz allowing collaboration between team members in test automation projects.
  4. With Git, a test case can be shared to multiple members in a team to help improve team's productivity and reduce efforts.
  5. Make the team growth clear and never lose any data ever again using Git.
  6. Git 'revert' feature provides the ability to the project teams to try out ideas and innovations without worrying about the risk of breaking things which strengthens the concept of innovations

10 steps to follow while integrating Git with TestingWhiz

1. Click on Setting > Configuration > Version Control > Git

2. Click ‘Add’ to add Git Version Control details

3. Click ‘OK’ and ‘Test Connection’ to verify values provided to the repository

4. Select Version Control type from Git or SVN and it's alias accordingly and output would be as per below image

5. Select a file from the provided list and click save.

a) If SVN selected then provides a path for output file

b) If Git selected then the file will be available at local repository and the selected file will open in TW tool.

6. After checkout, all options will get enable in project right click > Team > Version control options

7. Project right click > Team > Select any option of your choice and each option will work as per the below detail.

8. Commit:

a) Select Commit from Team

b) Select Version control from dropdown and alias from alias dropdown after both combo selection repository URL will get display corresponding to alias

c) Provide commit message and click OK and it will get commit to the repository

Show History:

a) Shows logs of file (i.e. logs of file open in TW)

b) Selection of any log will open revision file in TW

c) It will not be saved at any location in the system and If you want to make changes to that file, then the file needs to be saved by clicking File > Save As before committing file to the repository.

d) Only checkout option will be enabled for the file open using Show History.

Revert:

a) Reverts to last committed revision of file (i.e. file open in TW).

b) Only works for File selected from checkout and not with file selected from show history. So, it will be disabled if the show history file is selected.

Note: In the previous release 6.3, TestingWhiz has added Support for Git/BitBucket integration for Version Control Management.

Git helps you get a central platform where the developers can review each other’s code and they can also make necessary changes if it is required.

Integrating Git with TestingWhiz helps you proactively control access to your code. To know more about Git and various possibilities for working with repositories and code, email us at info@testing-whiz.com or call us on +1-855-699-6600

About

TestingWhiz is committed to provide an innovative and automated software testing solution to the global enterprises and software companies for their web, mobile and cloud applications.

location

Cygnet Infotech LLC,
125 Village Boulevard,
Suite 315, Princeton,
NJ 08540, USA

PHONE | EMAIL

1-855-699-6600
info@testing-whiz.com