Skip to content

Make Test runable in VS and runable by any one#45

Open
0nary wants to merge 8 commits intocbcrouse:mainfrom
0nary:test-open-for-all
Open

Make Test runable in VS and runable by any one#45
0nary wants to merge 8 commits intocbcrouse:mainfrom
0nary:test-open-for-all

Conversation

@0nary
Copy link
Contributor

@0nary 0nary commented Nov 10, 2022

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
Copy link
Contributor Author

0nary commented Dec 9, 2022

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

@sonarqubecloud
Copy link

@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 9, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant