Skip to content

Patinator01/GitVersion.Tester

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GitVersion tester

Requirements

dotnet gitversion tool: can be installed via: dotnet tool install -g gitversion.tool usage: gotnet gitversion

Files

In the root directory there is a .ps1 file where all git commands are defined The git commands simulate a git flow with creating feature branches merging and setting tags If you want to test another use case oder branches then change this file.

This shows the defined flow which is executed via the testGitVersion.ps1 It can be modified using VS and drawio extension.

Adjust it to your usecase and make sure that it has the same flow as defined in testGitVersion.ps1

Usage

Copy the folder 'GitVersionTestFolderTemplate' and adjust the GitVersion.yml in the copied version to your testcase. Navigate with the console into the new directory and execute the powershell command like this: './../testGitVersion.ps1'

Then all the steps will be executed. After each step a new version overview of giversion is generated and saved in a docu.md file in this direcoty.

If you want to do another test with a different GitVersion.yml repeate the steps and compare the docu.md files

In testGitVersion.ps1 you can also define the output properties if you do not want all to be saved in the docu.md file

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors