GitHub is one of the most popular community among software developers. It helps you with version control by providing a code hosting platform for all. From open source to business, one can share their codes, discover new ideas and discuss about roadblocks, all in order to deliver a better software. GitHub also serves as a project management tool. It allows a team to collaborate from all around the globe.
The LambdaTest GitHub Integration allows you to create a card directly in your repository from LambdaTest platform. Push an issue to your respective repository anytime, even in the middle of your test session. The fields populated by you when marking as bug through LambdaTest are displayed as information on the bug in GitHub repository for that testing instance.
GitHub Integration with LambdaTest, like all of our other integrations to 3rd party applications, is available for freemium as well as premium plan.
Step 1: Login to your LambdaTest account. You would need to have Admin or User level access to see and install integrations.
Step 2: Select ‘Integration’ from the left navigation menu bar. This will guide you to a screen where you will find a list of 3rd party applications, available to integrate with your LambdaTest account.
Step 4: Once you click on install, you’ll be redirected to a screen. There would be three options available for you to choose from in order to authenticate GitHub.
Step 1: Select the radio button on ‘OAuth’ and click on ‘Install’.
You will be redirected to the GitHub login page where you need to provide your login credentials.
Step 2: Enter your GitHub login credentials and click on ‘Sign in’.
Step 3: You’ll be redirected to the OAuth permission page. Click on ‘Authorize LambdaTest’.
What is OAuth?
The purpose of OAuth is to bypass the authentication when two different applications interact using their respective APIs. GitHub APIs use OAuth 2.0’s authorization code grant flow for generating access tokens on the user’s behalf.
That’s it! Go to Integrations again and you will be able to notice a green tick indicating that GitHub is successfully installed. You can now experience bug logging in a fly from any of your running test sessions in LambdaTest to your repository directly with a single click.
Step 1: Select the radio button on ‘Cloud’. This will ask you to enter your API token.
What is an API Token?
Access tokens are strings with an authorization key required to access an API. They are issued to the client-server and are usually opaque. They are used for requesting access to protected, user-specific resources. Access tokens are vital from a security point of view & can be generated in different formats, depending upon security requirements specified on the resource server.
Step 2: Log in to your Github account and navigate to the ‘Settings’.
Step 3: Click on the ‘Developer Settings’ from the bottom-left.
Step 4: Click on the ‘Personal access tokens’ from the left menu and click on ‘Generate new token’.
Step 5: Provide a token description, select the checkboxes for ‘repo’ & ‘user’ as scopes. These scopes will define the access to authenticate API over Basic OAuth for their respective personal token. After selecting the scopes click on ‘Generate token’.
Step 6: Your personal access token will be generated. Copy the generated token & store it safely with you, as you will not be able to see this token again.
Go to Integrations again and you will be able to notice a green tick indicating that GitHub is successfully installed. You can now experience one-click bug logging from any of your running test sessions in Lambdatest to your GitHub repository directly with a single click.
Step 1: Go for any of the test from the left navigation menu. For demo, we will be taking “Real Time Testing” option.
Step 3: After the VM is launched and operable. You can perform testing on your web-app for finding bugs. If a bug gets revealed, then you need to click on the Bug icon from the left panel for capturing a screenshot of the same.
Step 5: After clicking on “Mark as Bug” button a GitHub specific form would open up. Fill the fields as per your requirement.
Step 6: Click on “Create Issue” & observe it being successfully marked through a single click effort. Once you hit the button, you will get prompt messages on top of your Virtual Machine indicating the progress of bug logging. You will get a prompt message in few seconds mentioning “Bug successfully marked” indicating that the bug has been pushed to the desired GitHub repository.
Click on the description of bug and you will be redirected to the detail page of the bug. You will find all the data that you provided through LambdaTest already presented in the bug. LambdaTest automatically includes test environment details and related screenshots in the GitHub repository as attachments.
You can work with one integration at a time. So if you would want to integrate to some 3rd party application of the similar type, other than the GitHub then you would have to remove your present integration. Here is how you can do it.
Step 1: Login to your LambdaTest account.
Step 2: Select ‘Integrations’ from the left navigation menu bar. This will guide you to the same screen from where you initiated GitHub installation. You will also find other third party applications, available to integrate with your LambdaTest account.
That was all you need to know for LambdaTest + GitHub Integration. Increase your productivity with our integrations. If you still have any questions for us, please feel free to let us know. Our experts are always available on available on chat to help you out with any roadblock regarding our product. Happy testing!