Skip to content

Define a Source Code Management Server

In Squash TM, it is possible to declare Git source code management servers for sharing Git source code (such as GitHub, GitLab, Azure Repos, Bitbucket…).

  • These servers receive, in their repositories, the scripted test cases created by functional testers in Squash TM for future automation by an automation test writer.
  • They contain the automated scripts that are associated with Squash TM test cases through the fields "Automated test technology", "Source code repository URL", and "Automated test reference".

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 in 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 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, as well as "Automated test technology" and "Automated test reference", enable you to associate a test case with an automated script that can be executed with Squash Orchestrator.

Learn More

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