Your Privacy
We use cookies to give you a better experience in Alchemy Help Center
You can learn more about what kind of cookies we use, why, and how from our Privacy Policy. Because we respect your right to privacy, you can choose not to allow some types of cookies. Click on the different category headings in our cookie banner to change our default settings. However, blocking some types of cookies may impact your experience of the site and the services we are able to offer. For more details, check out our Privacy Policy link below.
View Privacy Policy
Strictly Necessary Cookies
These cookies are necessary for the website to function and cannot be switched off in our systems, but do not store any person information. They are usually set in response to your actions that triggers a request for services, such as setting your privacy preferences, logging in or filling forms. You can change your browser settings to alert you about these cookies, but some parts of the Website may not work.
View Cookies
I have multiple tests in my suite, and I would like to push the generated source code to my GitHub repository. Could you please guide me on how to do this in Alchemy?
0 Votes
PrasadLangoju posted 3 months ago Best Answer
GIT Integration in the Alchemy application enables seamless interaction with Git repositories. Using this feature, users can commit changes, push code to a remote repository, and pull updates. This integration simplifies version control, making it easier to manage code revisions, collaborate with teams, and maintain code consistency within the project.
Steps to push the generated source code in to Git repository: -
1) Log in to your personal Git repository and create a new branch.
2) In Alchemy, create a new suite and test, then record actions within the test.
3) Navigate to the Integration section and add the “GIT” integration.
4) Enter the valid credentials of your Git repository, including the username and access token.
[To generate an access token, go to your Git repository settings, open "Developer Settings," and create a new access token.]
5) Enter the Git repository URL in the relevant field of the Git Integration.
6) Choose an empty folder to clone the source code into.
7) Save the suite and generate the source code.
8) Once the source is generated, click the “View” button and navigate to the “GIT” tab.
9) Select the desired branch from the dropdown and click the “Initialize” button.
10) Enter a commit message and click the “Commit” button.
11) Click the “Push” button to push the generated source code to your repository.
12) Refresh your Git repository to view the newly generated source code.
0 Votes
1 Comments
PrasadLangoju posted 3 months ago Answer
GIT Integration in the Alchemy application enables seamless interaction with Git repositories. Using this feature, users can commit changes, push code to a remote repository, and pull updates. This integration simplifies version control, making it easier to manage code revisions, collaborate with teams, and maintain code consistency within the project.
Steps to push the generated source code in to Git repository: -
1) Log in to your personal Git repository and create a new branch.
2) In Alchemy, create a new suite and test, then record actions within the test.
3) Navigate to the Integration section and add the “GIT” integration.
4) Enter the valid credentials of your Git repository, including the username and access token.
[To generate an access token, go to your Git repository settings, open "Developer Settings," and create a new access token.]
5) Enter the Git repository URL in the relevant field of the Git Integration.
6) Choose an empty folder to clone the source code into.
7) Save the suite and generate the source code.
8) Once the source is generated, click the “View” button and navigate to the “GIT” tab.
9) Select the desired branch from the dropdown and click the “Initialize” button.
10) Enter a commit message and click the “Commit” button.
11) Click the “Push” button to push the generated source code to your repository.
12) Refresh your Git repository to view the newly generated source code.
0 Votes
Login or Sign up to post a comment