Skip to main content

Git

Git integration enables you to run tests from either the Tesmon UI or Tesmon APIs. Currently, we support GitHub, GitLab, Bitbucket, and CodeCommit. To set up Git integration, you need to create a token through one of these providers.

All of the test code and files live within your Git provider, enabling you to leverage versioning and integrate with your release pipeline.

By integrating Tesmon with your Git repository, you allow Tesmon to access the necessary test code and files, which enables it to run your tests from within the platform. This way, Tesmon can securely access your test code and files and run your tests as needed.

Tesmon Git Integration, enabling seamless collaboration and version control for test cases

To make it easy for you to set up Git integration, we have provided detailed instructions for GitHub, GitLab, Bitbucket, and CodeCommit integrations. Simply follow the instructions for the provider you use.

Step 1

Follow the instructions to Create a token

Step 2

  1. Go to your Tesmon workspace and click on "Setup integration"
  2. Choose your Git provider from the dropdown list
  3. Paste the token that you obtained in step 1
  4. Specify the branches that you would like Tesmon to listen to for webhook events

Step 3

  1. Follow the instructions to Create a webhook
  2. Specify the following Payload URL
https://api.tesmon.io/public/v1/webhook/github?workspace=<workspace-name>
  1. Set the "Content-Type" header to application/json
  2. Leave all other settings to their default values