You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/GitVersionCore.Tests/Configuration/ConfigProviderTests.cs
+19-2Lines changed: 19 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -117,8 +117,8 @@ public void SourceBranchIsRequired()
117
117
"See https://gitversion.net/docs/configuration/ for more info");
118
118
}
119
119
120
-
[Test]
121
-
publicvoidSourceBranchesShouldExist()
120
+
[Test(Description="This test proves the configuration validation will fail early with a helpful message when a branch listed in source-branches has no configuration.")]
@@ -132,6 +132,23 @@ public void SourceBranchesShouldExist()
132
132
"See https://gitversion.net/docs/configuration/ for more info");
133
133
}
134
134
135
+
[Test(Description="Well-known branches may not be present in the configuration file. This test confirms the validation check succeeds when the source-branches configuration contain these well-known branches.")]
0 commit comments