Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

You can set up the environment either using Git Bash or using SourceTree. SourceTree GUI helps you to simplify your interaction with the GIT repositories. In order to use SourceTree, you must first install it on your system.

Setting up an environment is a one-time activity. After the setup is completed, all the changes made to the test cases and tasks are automatically managed in the Bitbucket repository.

Table of Contents

Install SourceTree and Configure Credentials

In order to start working with your Bitbucket repositories, you must first install and configure sourceTree. 

  1. Download and install SourceTree.
  2. Post installation, launch SourceTree.
  3. From the Tools menu, select Options.
  4. In Authentication, click Add.
    1. Set Hosting Service as Bitbucket.
    2. Set Prefered Protocol as HTTPS.
    3. Authentication as Basic.
    4. In Username, enter your Bitbucket account username.
    5. Click Refresh Password to authenticate username.

      An Authentication window appears.
    6. Enter your Bitbucket password.
    7. Select the Remember Password option and then click Login.
      SourceTree is now configured for working with the Bitbucket repositories.

...

After you clone the repository, you can now add your existing Qualitia projects to the Bitbucket repository.

Info

This is a one-time activity for each of the existing Qualitia project. Once the project is added to the repository, all the changes made to the repository are automatically updated by Qualitia. 

To add existing projects to Bitbucket repository:

  1. Navigate to the folder where you have cloned the repository.
  2. Move your existing project folder (<ProjectName>_projectdb) to this location.
    You can get the location in Qualitia Configuration Setting > Dependency > Project Path.
  3. Launch SourceTree.
  4. Create a new branch with your Qualitia Project name.
    To create a new branch:
    1. Click Branch > New Branch.
    2. Enter New Branch name.
    3. Ensure that Checkout New Branch option is selected.
    4. Click Create Branch.
      Image Modified
  5. Stage all files and add comments, if required.
  6. Select Push changes immediately option and click Commit.
  7. Now copy the directory path of the repository from local system and set it as Qualitia Project Path (in Configuration Setting > Dependency).
  8. Restart Qualitia to start working on the projects that are integrated with Bitbucket repository.