4
4
namespace GitVersion . Core . Tests . IntegrationTests ;
5
5
6
6
[ TestFixture ]
7
- public class ContinuousDeploymentTestScenarios
7
+ public class ContinuousDeliveryTestScenarios
8
8
{
9
9
[ Test ]
10
10
public void ShouldUseTheFallbackVersionOnMainWhenNoVersionsAreAvailable ( )
11
11
{
12
12
// * 2373a87 58 minutes ago (HEAD -> main)
13
13
14
14
var configuration = GitFlowConfigurationBuilder . New
15
- . WithVersioningMode ( VersioningMode . ContinuousDeployment )
15
+ . WithVersioningMode ( VersioningMode . ContinuousDelivery )
16
16
. WithBranch ( "main" , builder => builder
17
17
. WithLabel ( "ci" )
18
- . WithVersioningMode ( VersioningMode . ContinuousDeployment )
18
+ . WithVersioningMode ( VersioningMode . ContinuousDelivery )
19
19
)
20
20
. Build ( ) ;
21
21
@@ -35,7 +35,7 @@ public void ShouldUseTheFallbackVersionOnDevelopWhenNoVersionsAreAvailable()
35
35
// * a831d61 58 minutes ago (HEAD -> develop)
36
36
37
37
var configuration = GitFlowConfigurationBuilder . New
38
- . WithVersioningMode ( VersioningMode . ContinuousDeployment )
38
+ . WithVersioningMode ( VersioningMode . ContinuousDelivery )
39
39
. Build ( ) ;
40
40
41
41
using var fixture = new EmptyRepositoryFixture ( "develop" ) ;
@@ -55,10 +55,10 @@ public void ShouldUseConfiguredNextVersionOnMainWhenNoHigherVersionsAvailable()
55
55
56
56
var configuration = GitFlowConfigurationBuilder . New
57
57
. WithNextVersion ( "1.0.0" )
58
- . WithVersioningMode ( VersioningMode . ContinuousDeployment )
58
+ . WithVersioningMode ( VersioningMode . ContinuousDelivery )
59
59
. WithBranch ( "main" , builder => builder
60
60
. WithLabel ( "ci" )
61
- . WithVersioningMode ( VersioningMode . ContinuousDeployment )
61
+ . WithVersioningMode ( VersioningMode . ContinuousDelivery )
62
62
)
63
63
. Build ( ) ;
64
64
@@ -79,7 +79,7 @@ public void ShouldNotMatterWhenConfiguredNextVersionIsEqualsToTheTaggeVersion()
79
79
80
80
var configuration = GitFlowConfigurationBuilder . New
81
81
. WithNextVersion ( "1.0.0" )
82
- . WithVersioningMode ( VersioningMode . ContinuousDeployment )
82
+ . WithVersioningMode ( VersioningMode . ContinuousDelivery )
83
83
. Build ( ) ;
84
84
85
85
using var fixture = new EmptyRepositoryFixture ( ) ;
@@ -98,7 +98,7 @@ public void ShouldUseTaggedVersionWhenGreaterThanConfiguredNextVersion()
98
98
// * ba74727 58 minutes ago (HEAD -> main, tag: 1.1.0)
99
99
100
100
var configuration = GitFlowConfigurationBuilder . New
101
- . WithVersioningMode ( VersioningMode . ContinuousDeployment )
101
+ . WithVersioningMode ( VersioningMode . ContinuousDelivery )
102
102
. WithNextVersion ( "1.0.0" ) . Build ( ) ;
103
103
104
104
using var fixture = new EmptyRepositoryFixture ( ) ;
@@ -121,12 +121,12 @@ public void ShouldCalculateTheCorrectVersionWhenMergingFromMainToFeatureBranch()
121
121
// *ec77f9c 58 minutes ago
122
122
123
123
var configuration = GitFlowConfigurationBuilder . New
124
- . WithVersioningMode ( VersioningMode . ContinuousDeployment )
124
+ . WithVersioningMode ( VersioningMode . ContinuousDelivery )
125
125
. WithBranch ( "main" , builder => builder
126
126
. WithLabel ( "ci" )
127
- . WithVersioningMode ( VersioningMode . ContinuousDeployment )
127
+ . WithVersioningMode ( VersioningMode . ContinuousDelivery )
128
128
)
129
- . WithBranch ( "feature" , builder => builder . WithVersioningMode ( VersioningMode . ContinuousDeployment ) )
129
+ . WithBranch ( "feature" , builder => builder . WithVersioningMode ( VersioningMode . ContinuousDelivery ) )
130
130
. Build ( ) ;
131
131
132
132
using var fixture = new EmptyRepositoryFixture ( ) ;
@@ -174,9 +174,9 @@ public void ShouldCalculateTheCorrectVersionWhenMergingFromDevelopToFeatureBranc
174
174
// *67acc03 58 minutes ago(main)
175
175
176
176
var configuration = GitFlowConfigurationBuilder . New
177
- . WithVersioningMode ( VersioningMode . ContinuousDeployment )
178
- . WithBranch ( "develop" , builder => builder . WithVersioningMode ( VersioningMode . ContinuousDeployment ) )
179
- . WithBranch ( "feature" , builder => builder . WithVersioningMode ( VersioningMode . ContinuousDeployment ) )
177
+ . WithVersioningMode ( VersioningMode . ContinuousDelivery )
178
+ . WithBranch ( "develop" , builder => builder . WithVersioningMode ( VersioningMode . ContinuousDelivery ) )
179
+ . WithBranch ( "feature" , builder => builder . WithVersioningMode ( VersioningMode . ContinuousDelivery ) )
180
180
. Build ( ) ;
181
181
182
182
using var fixture = new EmptyRepositoryFixture ( ) ;
@@ -226,10 +226,10 @@ public void ShouldCalculateTheCorrectVersionWhenMergingFromReleaseToFeatureBranc
226
226
// *f63a536 58 minutes ago(main)
227
227
228
228
var configuration = GitFlowConfigurationBuilder . New
229
- . WithVersioningMode ( VersioningMode . ContinuousDeployment )
230
- . WithBranch ( "main" , builder => builder . WithVersioningMode ( VersioningMode . ContinuousDeployment ) )
231
- . WithBranch ( "release" , builder => builder . WithVersioningMode ( VersioningMode . ContinuousDeployment ) )
232
- . WithBranch ( "feature" , builder => builder . WithVersioningMode ( VersioningMode . ContinuousDeployment ) )
229
+ . WithVersioningMode ( VersioningMode . ContinuousDelivery )
230
+ . WithBranch ( "main" , builder => builder . WithVersioningMode ( VersioningMode . ContinuousDelivery ) )
231
+ . WithBranch ( "release" , builder => builder . WithVersioningMode ( VersioningMode . ContinuousDelivery ) )
232
+ . WithBranch ( "feature" , builder => builder . WithVersioningMode ( VersioningMode . ContinuousDelivery ) )
233
233
. Build ( ) ;
234
234
235
235
using var fixture = new EmptyRepositoryFixture ( ) ;
@@ -283,14 +283,14 @@ public void ShouldFallbackToTheVersionOnDevelopLikeTheReleaseWasNeverCreatedWhen
283
283
var configuration = GitFlowConfigurationBuilder . New
284
284
. WithBranch ( "main" , builder => builder
285
285
. WithLabel ( "ci" )
286
- . WithVersioningMode ( VersioningMode . ContinuousDeployment )
286
+ . WithVersioningMode ( VersioningMode . ContinuousDelivery )
287
287
. WithTrackMergeTarget ( false )
288
288
)
289
289
. WithBranch ( "develop" , builder => builder
290
- . WithVersioningMode ( VersioningMode . ContinuousDeployment ) . WithTrackMergeTarget ( false )
290
+ . WithVersioningMode ( VersioningMode . ContinuousDelivery ) . WithTrackMergeTarget ( false )
291
291
)
292
292
. WithBranch ( "release" , builder => builder
293
- . WithVersioningMode ( VersioningMode . ContinuousDeployment ) . WithTrackMergeTarget ( false )
293
+ . WithVersioningMode ( VersioningMode . ContinuousDelivery ) . WithTrackMergeTarget ( false )
294
294
)
295
295
. Build ( ) ;
296
296
@@ -369,15 +369,15 @@ public void ShouldConsiderTheMergeCommitFromMainToDevelopWhenReleaseHasBeenMerge
369
369
var configuration = GitFlowConfigurationBuilder . New
370
370
. WithBranch ( "main" , builder => builder
371
371
. WithLabel ( "ci" )
372
- . WithVersioningMode ( VersioningMode . ContinuousDeployment )
372
+ . WithVersioningMode ( VersioningMode . ContinuousDelivery )
373
373
. WithTrackMergeTarget ( false )
374
374
)
375
375
. WithBranch ( "develop" , builder => builder
376
- . WithVersioningMode ( VersioningMode . ContinuousDeployment )
376
+ . WithVersioningMode ( VersioningMode . ContinuousDelivery )
377
377
. WithTrackMergeTarget ( false )
378
378
)
379
379
. WithBranch ( "release" , builder => builder
380
- . WithVersioningMode ( VersioningMode . ContinuousDeployment )
380
+ . WithVersioningMode ( VersioningMode . ContinuousDelivery )
381
381
. WithTrackMergeTarget ( false )
382
382
)
383
383
. Build ( ) ;
0 commit comments