How to run the integration tests¶
For each supported hoster, SCM Backup needs to:
- make API calls to get a list of repositories
- use Git/Mercurial etc. to clone repositories
So there are integration tests for each hoster which do these things as well, some of them with authentication.
So in order to run any of these integration tests, you need to setup your own test users and test repositories.
SCM Backup’s integration tests read the users, password etc. from a file named
environment-variables.ps1 in the main project directory, which is not in the repository.
You need to create your own by copying/renaming environment-variables.ps1.sample, and changing the values.