Skip to content

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

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

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

Conversation

@0nary

@0nary 0nary commented Nov 10, 2022

Copy link
Copy Markdown
Contributor

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

0nary commented Dec 9, 2022

Copy link
Copy Markdown
Contributor Author

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

@sonarqubecloud

Copy link
Copy Markdown

@sonarqubecloud

sonarqubecloud Bot commented Feb 9, 2026

Copy link
Copy Markdown

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