Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
4a9fa96
Add Microsoft.Extensions.DependencyInjection
arturcic Oct 17, 2019
ff811ea
Add Microsoft.Extensions.Hosting
arturcic Oct 17, 2019
83d002a
Register types in each module
arturcic Oct 20, 2019
8895c6c
refactored ExecCommand and ExecuteCore
arturcic Oct 21, 2019
f3ac0e9
replaced BuildServerList with BuildServerResolver
arturcic Oct 21, 2019
26480d7
moved initialization to CoreModule
arturcic Oct 21, 2019
923f91d
applied code review changes
arturcic Oct 22, 2019
dd892d5
using c#8 using declarations
arturcic Oct 22, 2019
dbac722
code cleanup for GitVersionComputer & GitPrepare
arturcic Oct 22, 2019
df2f486
code cleanup for GitPrepare
arturcic Oct 22, 2019
d7d0dc5
moved the semanticversion classes to folder, made IGitVersionCache DI
arturcic Oct 22, 2019
ec1639e
applied code review changes
arturcic Oct 23, 2019
fb2566f
moving to DI GitVersionFinder, VariableProvider and MetaDataCalculator
arturcic Oct 23, 2019
8e0c12d
moving to DI ConfigurationProvider, GitPreparer
arturcic Oct 23, 2019
d040f41
made GitversionTask DI aware
arturcic Oct 23, 2019
ce1e815
migrate to DI IBaseVersionCalculator
arturcic Oct 23, 2019
9dcce02
migrate to DI NextVersionCalculator
arturcic Oct 23, 2019
901cccc
code cleanup
arturcic Oct 23, 2019
5958435
applied code review changes
arturcic Oct 24, 2019
82a8e33
made GitversionTask DI aware, added GitVersionTaskExecutor
arturcic Oct 24, 2019
433a597
ConfigurationProvider cleanup
arturcic Oct 24, 2019
d572cc7
moving to DI MainlineVersionCalculator
arturcic Oct 24, 2019
dff4e62
using c#8 switch expressions
arturcic Oct 24, 2019
b394a93
moving to DI ConfigInit
arturcic Oct 24, 2019
b243b4d
ConfigInitSteps, made constructor with the same parameters
arturcic Oct 24, 2019
cd1afb1
moving to DI ConfigInit (2), added IConfigInitStepFactory
arturcic Oct 24, 2019
a22fb34
added "?? throw new ArgumentNullException(nameof({field}))" to the i…
arturcic Oct 24, 2019
405cdb3
fix GitPrepare injection
arturcic Oct 24, 2019
ba517dd
moved ConfigInit registration from CoreModule
arturcic Oct 24, 2019
70cb999
introduced ConfigFileLocatorFactory
arturcic Oct 24, 2019
98eebe6
adjusted field names, removed underscore
arturcic Oct 25, 2019
2684c41
code review adjustments
arturcic Oct 25, 2019
7ef3499
code review adjustments
arturcic Oct 25, 2019
02074ed
Moved the `GitVersionTask` and `GitVersionTask.MsBuild` under `GitVer…
arturcic Oct 25, 2019
83ed431
+semver: minor code review adjustments
arturcic Oct 25, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
adjusted field names, removed underscore
  • Loading branch information
arturcic committed Oct 25, 2019
commit 98eebe6e952cd8de1425f203a722152f1c67ed80
2 changes: 1 addition & 1 deletion src/GitVersionCore.Tests/AssemblyInfoFileUpdaterTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ public void ShouldAddAssemblyInformationalVersionWhenUpdatingAssemblyVersionFile
[TestCase("vb", "<Assembly: AssemblyVersion(\"1.0.0.0\")>\r\n<Assembly: AssemblyFileVersion(\"1.0.0.0\")>\r\n' comment\r\n")]
[Category("NoMono")]
[Description("Won't run on Mono due to source information not being available for ShouldMatchApproved.")]
public void Issue1183_ShouldAddFSharpAssemblyInformationalVersionBesideOtherAttributes(string fileExtension, string assemblyFileContent)
public void Issue1183ShouldAddFSharpAssemblyInformationalVersionBesideOtherAttributes(string fileExtension, string assemblyFileContent)
{
var workingDir = Path.GetTempPath();
var assemblyInfoFile = "AssemblyInfo." + fileExtension;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public void ClearEnvironmentVariableForTest()
}

[Test]
public void Develop_branch()
public void DevelopBranch()
{
var versionBuilder = new AzurePipelines(environment, log);
var vars = new TestableVersionVariables(fullSemVer: "0.0.0-Unstable4");
Expand Down
18 changes: 9 additions & 9 deletions src/GitVersionCore.Tests/BuildServers/DroneTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public void TearDown()
}

[Test]
public void CanApplyToCurrentContext_ShouldBeTrue_WhenEnvironmentVariableIsSet()
public void CanApplyToCurrentContextShouldBeTrueWhenEnvironmentVariableIsSet()
{
// Arrange
var buildServer = new Drone(environment, log);
Expand All @@ -40,7 +40,7 @@ public void CanApplyToCurrentContext_ShouldBeTrue_WhenEnvironmentVariableIsSet()
}

[Test]
public void CanApplyToCurrentContext_ShouldBeFalse_WhenEnvironmentVariableIsNotSet()
public void CanApplyToCurrentContextShouldBeFalseWhenEnvironmentVariableIsNotSet()
{
// Arrange
environment.SetEnvironmentVariable("DRONE", "");
Expand All @@ -54,7 +54,7 @@ public void CanApplyToCurrentContext_ShouldBeFalse_WhenEnvironmentVariableIsNotS
}

[Test]
public void GetCurrentBranch_ShouldDroneBranch_InCaseOfPush()
public void GetCurrentBranchShouldDroneBranchInCaseOfPush()
{
// Arrange
const string droneBranch = "droneBranch";
Expand All @@ -72,7 +72,7 @@ public void GetCurrentBranch_ShouldDroneBranch_InCaseOfPush()
}

[Test]
public void GetCurrentBranch_ShouldUseDroneSourceBranch_InCaseOfPullRequestAndNonEmptyDroneSourceBranch()
public void GetCurrentBranchShouldUseDroneSourceBranchInCaseOfPullRequestAndNonEmptyDroneSourceBranch()
{
// Arrange
const string droneSourceBranch = "droneSourceBranch";
Expand All @@ -89,13 +89,13 @@ public void GetCurrentBranch_ShouldUseDroneSourceBranch_InCaseOfPullRequestAndNo
}

[Test]
public void GetCurrentBranch_ShouldUseSourceBranchFromCiCommitRefSpec_InCaseOfPullRequestAndEmptyDroneSourceBranch()
public void GetCurrentBranchShouldUseSourceBranchFromCiCommitRefSpecInCaseOfPullRequestAndEmptyDroneSourceBranch()
{
// Arrange
const string droneSourceBranch = "droneSourceBranch";
const string droneDestinationBranch = "droneDestinationBranch";

string ciCommitRefSpec = $"{droneSourceBranch}:{droneDestinationBranch}";
var ciCommitRefSpec = $"{droneSourceBranch}:{droneDestinationBranch}";

environment.SetEnvironmentVariable("DRONE_PULL_REQUEST", "1");
environment.SetEnvironmentVariable("DRONE_SOURCE_BRANCH", "");
Expand All @@ -111,7 +111,7 @@ public void GetCurrentBranch_ShouldUseSourceBranchFromCiCommitRefSpec_InCaseOfPu
}

[Test]
public void GetCurrentBranch_ShouldUseDroneBranch_InCaseOfPullRequestAndEmptyDroneSourceBranchAndCiCommitRefSpec()
public void GetCurrentBranchShouldUseDroneBranchInCaseOfPullRequestAndEmptyDroneSourceBranchAndCiCommitRefSpec()
{
// Arrange
const string droneBranch = "droneBranch";
Expand All @@ -131,14 +131,14 @@ public void GetCurrentBranch_ShouldUseDroneBranch_InCaseOfPullRequestAndEmptyDro
}

[Test]
public void GetCurrentBranch_ShouldUseDroneBranch_InCaseOfPullRequestAndEmptyDroneSourceBranchAndInvalidFormatOfCiCommitRefSpec()
public void GetCurrentBranchShouldUseDroneBranchInCaseOfPullRequestAndEmptyDroneSourceBranchAndInvalidFormatOfCiCommitRefSpec()
{
// Arrange
const string droneBranch = "droneBranch";
const string droneSourceBranch = "droneSourceBranch";
const string droneDestinationBranch = "droneDestinationBranch";

string ciCommitRefSpec = $"{droneSourceBranch};{droneDestinationBranch}";
var ciCommitRefSpec = $"{droneSourceBranch};{droneDestinationBranch}";

environment.SetEnvironmentVariable("DRONE_PULL_REQUEST", "1");
environment.SetEnvironmentVariable("DRONE_SOURCE_BRANCH", "");
Expand Down
14 changes: 7 additions & 7 deletions src/GitVersionCore.Tests/BuildServers/EnvRunTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,25 +36,25 @@ public void ClearEnvironmentVariableForTest()
[Test]
public void CanApplyToCurrentContext()
{
EnvRun envrun = new EnvRun(environment, log);
bool applys = envrun.CanApplyToCurrentContext();
var envrun = new EnvRun(environment, log);
var applys = envrun.CanApplyToCurrentContext();
applys.ShouldBeTrue();
}

[Test]
public void CanApplyToCurrentContext_EnvironmentVariableNotSet()
public void CanApplyToCurrentContextEnvironmentVariableNotSet()
{
environment.SetEnvironmentVariable(EnvVarName, null);
EnvRun envrun = new EnvRun(environment, log);
bool applys = envrun.CanApplyToCurrentContext();
var envrun = new EnvRun(environment, log);
var applys = envrun.CanApplyToCurrentContext();
applys.ShouldBeFalse();
}

[TestCase("1.2.3")]
[TestCase("1.2.3-rc4")]
public void GenerateSetVersionMessage(string fullSemVer)
{
EnvRun envrun = new EnvRun(environment, log);
var envrun = new EnvRun(environment, log);
var vars = new TestableVersionVariables(fullSemVer: fullSemVer);
var version = envrun.GenerateSetVersionMessage(vars);
version.ShouldBe(fullSemVer);
Expand All @@ -64,7 +64,7 @@ public void GenerateSetVersionMessage(string fullSemVer)
[TestCase("Version", "1.2.3-rc4", "@@envrun[set name='GitVersion_Version' value='1.2.3-rc4']")]
public void GenerateSetParameterMessage(string name, string value, string expected)
{
EnvRun envrun = new EnvRun(environment, log);
var envrun = new EnvRun(environment, log);
var output = envrun.GenerateSetParameterMessage(name, value);
output.ShouldHaveSingleItem();
output[0].ShouldBe(expected);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ public void CanNotApplyCurrentContextWhenenvironmentVariableIsNotSet()
public void JenkinsTakesLocalBranchNameNotRemoteName()
{
// Save original values so they can be restored
string branchOrig = environment.GetEnvironmentVariable(branch);
string localBranchOrig = environment.GetEnvironmentVariable(localBranch);
var branchOrig = environment.GetEnvironmentVariable(branch);
var localBranchOrig = environment.GetEnvironmentVariable(localBranch);

// Set GIT_BRANCH for testing
environment.SetEnvironmentVariable(branch, "origin/master");
Expand All @@ -79,9 +79,9 @@ public void JenkinsTakesLocalBranchNameNotRemoteName()
public void JenkinsTakesBranchNameInPipelineAsCode()
{
// Save original values so they can be restored
string branchOrig = environment.GetEnvironmentVariable(branch);
string localBranchOrig = environment.GetEnvironmentVariable(localBranch);
string pipelineBranchOrig = environment.GetEnvironmentVariable(pipelineBranch);
var branchOrig = environment.GetEnvironmentVariable(branch);
var localBranchOrig = environment.GetEnvironmentVariable(localBranch);
var pipelineBranchOrig = environment.GetEnvironmentVariable(pipelineBranch);

// Set BRANCH_NAME in pipeline mode
environment.SetEnvironmentVariable(pipelineBranch, "master");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public void SetUp()
}

[Test]
public void GenerateSetVersionMessageReturnsVersionAsIs_AlthoughThisIsNotUsedByJenkins()
public void GenerateSetVersionMessageReturnsVersionAsIsAlthoughThisIsNotUsedByJenkins()
{
var j = new GitLabCi(environment, log);
var vars = new TestableVersionVariables(fullSemVer: "0.0.0-Beta4.7");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public void SetUp()
}

[Test]
public void GenerateSetVersionMessageReturnsVersionAsIs_AlthoughThisIsNotUsedByJenkins()
public void GenerateSetVersionMessageReturnsVersionAsIsAlthoughThisIsNotUsedByJenkins()
{
var j = new Jenkins(environment, log);
var vars = new TestableVersionVariables(fullSemVer: "0.0.0-Beta4.7");
Expand Down
2 changes: 1 addition & 1 deletion src/GitVersionCore.Tests/BuildServers/MyGetTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public void SetUp()
}

[Test]
public void Develop_branch()
public void DevelopBranch()
{
var versionBuilder = new MyGet(environment, log);
var vars = new TestableVersionVariables(fullSemVer: "0.0.0-Unstable4");
Expand Down
2 changes: 1 addition & 1 deletion src/GitVersionCore.Tests/BuildServers/TeamCityTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public void SetUp()
}

[Test]
public void Develop_branch()
public void DevelopBranch()
{
var versionBuilder = new TeamCity(environment, log);
var vars = new TestableVersionVariables(fullSemVer: "0.0.0-Unstable4");
Expand Down
10 changes: 5 additions & 5 deletions src/GitVersionCore.Tests/Configuration/IgnoreConfigTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ public void CanDeserialize()
var config = ConfigSerialiser.Read(reader);

config.Ignore.ShouldNotBeNull();
config.Ignore.SHAs.ShouldNotBeEmpty();
config.Ignore.SHAs.ShouldBe(new[] { "b6c0c9fda88830ebcd563e500a5a7da5a1658e98" });
config.Ignore.ShAs.ShouldNotBeEmpty();
config.Ignore.ShAs.ShouldBe(new[] { "b6c0c9fda88830ebcd563e500a5a7da5a1658e98" });
config.Ignore.Before.ShouldBe(DateTimeOffset.Parse("2015-10-23T12:23:15"));
}

Expand All @@ -42,8 +42,8 @@ public void ShouldSupportsOtherSequenceFormat()
var config = ConfigSerialiser.Read(reader);

config.Ignore.ShouldNotBeNull();
config.Ignore.SHAs.ShouldNotBeEmpty();
config.Ignore.SHAs.ShouldBe(new[] { "b6c0c9fda88830ebcd563e500a5a7da5a1658e98", "6c19c7c219ecf8dbc468042baefa73a1b213e8b1" });
config.Ignore.ShAs.ShouldNotBeEmpty();
config.Ignore.ShAs.ShouldBe(new[] { "b6c0c9fda88830ebcd563e500a5a7da5a1658e98", "6c19c7c219ecf8dbc468042baefa73a1b213e8b1" });
}

[Test]
Expand All @@ -57,7 +57,7 @@ public void WhenNotInConfigShouldHaveDefaults()
var config = ConfigSerialiser.Read(reader);

config.Ignore.ShouldNotBeNull();
config.Ignore.SHAs.ShouldBeEmpty();
config.Ignore.ShAs.ShouldBeEmpty();
config.Ignore.Before.ShouldBeNull();
}

Expand Down
4 changes: 2 additions & 2 deletions src/GitVersionCore.Tests/DefaultConfigFileLocatorTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public void ThrowsExceptionOnAmbiguousConfigFileLocation(string repoConfigFile,
var repositoryConfigFilePath = SetupConfigFileContent(string.Empty, repoConfigFile, repoPath);
var workingDirectoryConfigFilePath = SetupConfigFileContent(string.Empty, workingConfigFile, workingPath);

WarningException exception = Should.Throw<WarningException>(() =>
var exception = Should.Throw<WarningException>(() =>
{
WithDefaultConfigFileLocator(configFileLocator =>
{
Expand Down Expand Up @@ -127,7 +127,7 @@ public void WarnOnObsoleteIsDevelopBranchConfigurationSetting()
tag: beta
is-develop: true";

OldConfigurationException exception = Should.Throw<OldConfigurationException>(() =>
var exception = Should.Throw<OldConfigurationException>(() =>
{
LegacyConfigNotifier.Notify(new StringReader(text));
});
Expand Down
26 changes: 13 additions & 13 deletions src/GitVersionCore.Tests/GitVersionExecutorTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ public void WorkingDirectoryWithoutGit()
[Test]
[Category("NoMono")]
[Description("LibGit2Sharp fails when running under Mono")]
public void GetProjectRootDirectory_WorkingDirectoryWithWorktree()
public void GetProjectRootDirectoryWorkingDirectoryWithWorktree()
{
RepositoryScope((fixture, vv) =>
{
Expand Down Expand Up @@ -402,7 +402,7 @@ public void GetProjectRootDirectory_WorkingDirectoryWithWorktree()
}

[Test]
public void GetProjectRootDirectory_NoWorktree()
public void GetProjectRootDirectoryNoWorktree()
{
RepositoryScope((fixture, vv) =>
{
Expand Down Expand Up @@ -439,7 +439,7 @@ public void DynamicRepositoriesShouldNotErrorWithFailedToFindGitDirectory()
}

[Test]
public void GetDotGitDirectory_NoWorktree()
public void GetDotGitDirectoryNoWorktree()
{
RepositoryScope((fixture, vv) =>
{
Expand All @@ -460,7 +460,7 @@ public void GetDotGitDirectory_NoWorktree()
[Test]
[Category("NoMono")]
[Description("LibGit2Sharp fails when running under Mono")]
public void GetDotGitDirectory_Worktree()
public void GetDotGitDirectoryWorktree()
{
RepositoryScope((fixture, vv) =>
{
Expand Down Expand Up @@ -494,7 +494,7 @@ private void RepositoryScope(Action<EmptyRepositoryFixture, VersionVariables> fi
{
// Make sure GitVersion doesn't trigger build server mode when we are running the tests
environment.SetEnvironmentVariable(AppVeyor.EnvironmentVariableName, null);
environment.SetEnvironmentVariable(TravisCI.EnvironmentVariableName, null);
environment.SetEnvironmentVariable(TravisCi.EnvironmentVariableName, null);
environment.SetEnvironmentVariable(AzurePipelines.EnvironmentVariableName, null);

using var fixture = new EmptyRepositoryFixture();
Expand All @@ -512,27 +512,27 @@ private void RepositoryScope(Action<EmptyRepositoryFixture, VersionVariables> fi
fixtureAction?.Invoke(fixture, vv);
}

private void RepositoryScope(ILog _log, Action<EmptyRepositoryFixture, VersionVariables> fixtureAction = null)
private void RepositoryScope(ILog log, Action<EmptyRepositoryFixture, VersionVariables> fixtureAction = null)
{
// Make sure GitVersion doesn't trigger build server mode when we are running the tests
environment.SetEnvironmentVariable(AppVeyor.EnvironmentVariableName, null);
environment.SetEnvironmentVariable(TravisCI.EnvironmentVariableName, null);
environment.SetEnvironmentVariable(TravisCi.EnvironmentVariableName, null);
environment.SetEnvironmentVariable(AzurePipelines.EnvironmentVariableName, null);

using var fixture = new EmptyRepositoryFixture();

var arguments = new Arguments { TargetPath = fixture.RepositoryPath };
var options = Options.Create(arguments);

var gitPreparer = new GitPreparer(_log, options);
var gitPreparer = new GitPreparer(log, options);
var stepFactory = new ConfigInitStepFactory();
var configInitWizard = new ConfigInitWizard(new ConsoleAdapter(), stepFactory);
var configurationProvider = new ConfigurationProvider(fileSystem, _log, configFileLocator, gitPreparer, configInitWizard);
var baseVersionCalculator = new BaseVersionCalculator(log, null);
var mainlineVersionCalculator = new MainlineVersionCalculator(log, metaDataCalculator);
var nextVersionCalculator = new NextVersionCalculator(log, metaDataCalculator, baseVersionCalculator, mainlineVersionCalculator);
var configurationProvider = new ConfigurationProvider(fileSystem, log, configFileLocator, gitPreparer, configInitWizard);
var baseVersionCalculator = new BaseVersionCalculator(this.log, null);
var mainlineVersionCalculator = new MainlineVersionCalculator(this.log, metaDataCalculator);
var nextVersionCalculator = new NextVersionCalculator(this.log, metaDataCalculator, baseVersionCalculator, mainlineVersionCalculator);
var variableProvider = new VariableProvider(nextVersionCalculator);
var gitVersionCalculator = new GitVersionCalculator(fileSystem, _log, configFileLocator, configurationProvider, buildServerResolver, gitVersionCache, gitVersionFinder, gitPreparer, variableProvider, options);
var gitVersionCalculator = new GitVersionCalculator(fileSystem, log, configFileLocator, configurationProvider, buildServerResolver, gitVersionCache, gitVersionFinder, gitPreparer, variableProvider, options);

fixture.Repository.MakeACommit();
var vv = gitVersionCalculator.CalculateVersionVariables();
Expand Down
4 changes: 2 additions & 2 deletions src/GitVersionCore.Tests/Helpers/DirectoryHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ namespace GitVersionCore.Tests.Helpers
{
public static class DirectoryHelper
{
private static readonly Dictionary<string, string> toRename = new Dictionary<string, string>
private static readonly Dictionary<string, string> ToRename = new Dictionary<string, string>
{
{"gitted", ".git"},
{"gitmodules", ".gitmodules"},
Expand All @@ -29,7 +29,7 @@ public static void CopyFilesRecursively(DirectoryInfo source, DirectoryInfo targ

private static string Rename(string name)
{
return toRename.ContainsKey(name) ? toRename[name] : name;
return ToRename.ContainsKey(name) ? ToRename[name] : name;
}

public static void DeleteSubDirectories(string parentPath)
Expand Down
10 changes: 5 additions & 5 deletions src/GitVersionCore.Tests/IntegrationTests/DevelopScenarios.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace GitVersionCore.Tests.IntegrationTests
public class DevelopScenarios : TestBase
{
[Test]
public void WhenDevelopHasMultipleCommits_SpecifyExistingCommitId()
public void WhenDevelopHasMultipleCommitsSpecifyExistingCommitId()
{
using var fixture = new EmptyRepositoryFixture();
fixture.Repository.MakeATaggedCommit("1.0.0");
Expand All @@ -27,7 +27,7 @@ public void WhenDevelopHasMultipleCommits_SpecifyExistingCommitId()
}

[Test]
public void WhenDevelopHasMultipleCommits_SpecifyNonExistingCommitId()
public void WhenDevelopHasMultipleCommitsSpecifyNonExistingCommitId()
{
using var fixture = new EmptyRepositoryFixture();
fixture.Repository.MakeATaggedCommit("1.0.0");
Expand Down Expand Up @@ -85,7 +85,7 @@ public void WhenDeveloperBranchExistsDontTreatAsDevelop()
}

[Test]
public void WhenDevelopBranchedFromMaster_MinorIsIncreased()
public void WhenDevelopBranchedFromMasterMinorIsIncreased()
{
using var fixture = new EmptyRepositoryFixture();
fixture.Repository.MakeATaggedCommit("1.0.0");
Expand All @@ -95,7 +95,7 @@ public void WhenDevelopBranchedFromMaster_MinorIsIncreased()
}

[Test]
public void MergingReleaseBranchBackIntoDevelopWithMergingToMaster_DoesBumpDevelopVersion()
public void MergingReleaseBranchBackIntoDevelopWithMergingToMasterDoesBumpDevelopVersion()
{
using var fixture = new EmptyRepositoryFixture();
fixture.Repository.MakeATaggedCommit("1.0.0");
Expand Down Expand Up @@ -133,7 +133,7 @@ public void CanHandleContinuousDelivery()
}

[Test]
public void WhenDevelopBranchedFromMasterDetachedHead_MinorIsIncreased()
public void WhenDevelopBranchedFromMasterDetachedHeadMinorIsIncreased()
{
using var fixture = new EmptyRepositoryFixture();
fixture.Repository.MakeATaggedCommit("1.0.0");
Expand Down
Loading