GitHub Integration

The GitHub integration in Froth TestOps allows you to link your GitHub repository with a TestOps project, enabling seamless synchronization of automation scripts and workflow execution.

Steps to set up GitHub integration in TestOps:

STEP 1 - Obtain GitHub Access Token
  1. Log in to your GitHub account.

  2. Navigate to Settings > Developer Settings.

  3. Select Personal access tokens > Tokens (classic).

  4. Click on Generate new token (classic).

  1. On the token generation page:

  2. Provide a descriptive note for the token.

  3. Set an expiration date.

  4. Select the following scopes:

    • admin:org

    • admin:repo_hook

    • repo

    • workflow

  1. Click Generate Token.

  2. Copy and securely store the generated token. (Note: This token will not be shown again.)

STEP 2 - Access TestOps Settings
  1. Navigate to the Settings section within your TestOps workspace in left menu.

  2. Select Integration Tab

  3. Click Create

STEP 3 - Create GitHub Integration
  1. In the integration setup page:

    • Select GitHub from the list of supported tools.

    • The GitHub URL will be auto-generated.

  2. Input your GitHub credentials:

    • Access Token: Paste the GitHub access token copied earlier.

  3. Use the following actions as needed:

    • Submit: To finalize and save the integration.

    • Cancel: To discard and exit.

    • Go Back: To return to the previous screen.

STEP 4 - Map GitHub Project with TestOps

Once the integration is established, map your GitHub repository to a TestOps project:

  1. Select Integration Type: Choose Basic.

  2. Select Organization: Choose the appropriate GitHub organization from the dropdown.

  3. Select Repository: Choose your GitHub repository. If you do not have an existing repository configured for automation, click the "Create Repository" link and follow the guided steps to set up a new repository.

  4. Select Module: Select the module as Repo

  5. Select TestOps Project: Choose the corresponding TestOps project.

  6. Click Submit to complete the mapping.

Creating a Repository in GitHub via TestOps

TestOps simplifies this process, allowing you to create a repository in just a few clicks.

  • Click on the “Create Repository” link.

  • From the list of organizations associated with your GitHub account, select the organization where you want the repository to be created.

  • Enter a name for your new repository.

  • Click “Submit” to complete the process.

Once submitted, the repository will be created in your GitHub account. You can then proceed to map this repository in TestOps for automation script management and execution following the 4,5,6 steps in Step 4.

Your GitHub repository is now successfully linked with Froth TestOps. Automation scripts and workflows can now be pulled and executed as part of your test cycles.

Last updated