Versioning.NET icon indicating copy to clipboard operation
Versioning.NET copied to clipboard

Make Test runable in VS and runable by any one

Open 0nary opened this issue 3 years ago • 2 comments

I make some change to your test so the test can be run by anyone. To do so, the person needs to clone the test repository and create a GITHUBACCESSTOKEN to the for the test repository.

If he will run the test inside Visual Studio he needs to add a Local.cs file in the setup folder of Integration.Tests with this code:

partial class EnvironmentVariable
   {
       public EnvironmentVariable()
       {
           this.GitHubActor = {{GitHub.Actor}}; // the name of the account how own the GITHUBACCESSTOKEN
           this.GitHubAccessToken = {{GITHUBACCESSTOKEN}}; // the GITHUBACCESSTOKEN for the test repository
           this.GitHubTestRepoAddress = {{TestRepoAddress}}; // only needed if the test repos is not 'github.com/{actor}/Versioning.NET.Tests.git'
       }
   }

0nary avatar Nov 10 '22 16:11 0nary

For work related reason I will no longer use this account, and switch to my personal account @Aedjis .

0nary avatar Dec 09 '22 10:12 0nary