Skip to content

Define a Source Code Management Server

In Squash TM, you can declare source code management servers, such as GitHub, GitLab, and Bitbucket. These servers have an essential role in test automation for Squash TM.

  • They enable you to transfer test cases scripted by functional testers in Squash TM to repositories hosted on GitHub, GitLab, or Bitbucket to have them automated by an automation test writer.
  • They also enable you to associate Squash TM test cases with automated scripts hosted on GitHub, GitLab, or Bitbucket repository thanks to the Squash AUTOM fields.

To add source code management servers, go to the Squash TM administration, then "Servers > Source Code Management Servers".

Learn More

To learn more about source code management servers and their repositories, please visit this page: Source Code Management Servers

In Squash TM, there are two ways to declare repositories on source code management servers:

  • repositories cloned locally;
  • repositories not cloned.

You can choose between the two by checking (or not) the box "Clone repository" in the "Add Repository" popup.

You must locally clone the repositories that will receive the BDD and Gherkin test cases transmitted by functional testers for them to be automated.


Once declared, you can associate a repository with a project from its configuration page, "Automation" block. Then, all BDD and Gherkin test cases contained in that project transmitted by Squash TM users will be retrieved in .feature or .robot format in the associated repository.

Learn More

To associate a source code management server with a project, please visit this page: Associate a source code management server.
To learn more about scripted test cases transfers, please visit: Transfer a scripted test case to a SCM

You must declare the repositories containing automated scripts that will be executed by the Squash orchestrator in Squash TM without cloning them. You can clone these repositories if they are also to receive scripted tests in Squash TM. Otherwise, that is unnecessary.


Once it is declared, you can select the repository in the field "Source code repository URL" for any Squash TM test case. This field is one of the 3 Squash AUTOM fields that enable you to associate a test case with an automated script that can be executed with the Squash AUTOM orchestrator.

Learn More

To learn more about how to associate a test case with an automated script using Squash AUTOM, please visit this page: Associate an automated script.