Skip to content

Define a Source Code Management Server

In Squash, 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 for future automation by an automation test writer.
  • They contain the automated scripts that are associated with Squash test cases through the fields Automated test technology, URL of the Source code repository, and Automated test reference.

To add source code management servers, go to the Squash Administration workspace, 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, 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 Duplicate the repository in the Add a repository pop-up.

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, in the Automation block. Then, all BDD and Gherkin test cases contained in that project transmitted by Squash 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 without cloning them. You can clone these repositories if they are also to receive scripted tests in Squash. Otherwise, that is unnecessary.

Once it is declared, you can select the repository in the field URL of the source code repository for any Squash 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.