Version Control Integration
Our version control integration allows you to hook up your repository to a test case on the Testable platform.
Currently this is available for all Selenium, JMeter, and Gatling scenarios.
To manage your repositories go to Account => Version Control.
Add integration to a new repository.
- Name: Give it a name that can be used as a label/reference within Testable
- Type: Currently only git repositories are supported
- Url: The URL to the git repository. Supports http(s) as well as SSH URL formats.
- Default Branch: When cloning the repository onto the test runner, the default branch will be used unless overridden in a particular test scenario.
- Authentication: Public repositories can be cloned with no auth. For private ones both username/password and SSH authentcation are supported.
Once you have filled in all the details, try out the connection using the Test Connection button.
Note: if you run your tests on premises you can connect to on premises Git repositories that may not be available externally. However the Test Connection feature will not work in this case as it will attempt to connect to your repository via the Testable central servers.
Both username and SSH style authentication are supported.
To authenticate via username and password you must use an HTTP(S) git url. Simply add your username/password to the repository configuration on Testable and test the connection to see if it worked.
To authenticate via SSH use an SSH style url (e.g. firstname.lastname@example.org:testable/wdio-testable-example.git). Upload your private key to the repository configuration on Testable and test the connection to see if it worked. If using GitHub see their SSH documentation for more details on the setup required on their side.
Click on a row in the version control repository list and select Edit or Delete from the dropdown in the upper right of the Account => Version Control page.
Currently only Webdriver.io Selenium scenarios support version control integration. In the future this integration will be much more extensive, stay tuned!