Repository considerations for a server project
To collaborate with other project stakeholders, you can open test assets from a local clone of a remote repository, pull project test assets from the remote repository, and push changes made to your local test assets to the remote repository. Before you add a project and then add a repository to that project, you must consider some information about repositories.
Consider the following sections about version control systems that are used to manage remote repositories.
- GitHub, which is an open-source product for storing and collaborating code.
- Azure Repos, which is part of a solution of Azure DevOps, and focuses on collaboration between DevOps professionals to develop private code.
Both these version control systems support Git repositories to store code.
You must be familiar with the various aspects of these version control systems to manage the application code that you want to test in HCL OneTest™ Server.
You can learn more about installing, setting up, and using Git from the Git documentation.
Git
You must install Git or upgrade to the supported version if you already have installed Git. See System Requirements.
Repositories and user identities
After you install Git, you must set up your Git repository and set up access for members. You must ensure that the repository contains your test assets.
Optionally, you can use a command line utility or Git tool to access the repository, upload your test assets, fetch or pull from the repository, push to the repository, clone the repository, and other operations that you want to perform in Git.
Local and shared repositories
After you create a remote or shared repository in Git, you can create a local version of the repository by cloning the remote repository. You must ensure that your test assets are available in the remote repository and are also cloned to the local repository.
User authentication for the Git repository
- HTTP with username and password
- HTTP without username and password
- HTTPS with username and password
- HTTPS without username and password
- SSH with SSH key and passphrase
- SSH with SSH key and without a passphrase
Based on the authentication type that is set for a repository, you must provide the same authentication values in HCL OneTest™ Server when you add a repository.
Test assets
Test type | Task | More information |
---|---|---|
API suite in HCL OneTest™ API |
Change the local stub to a remote stub. | See Test run considerations for API Suites or API tests. |
Add the library files. |