Az.Bootstrapper.ScenarioTests.ps1

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
Import-Module -Name Az.Bootstrapper
$RollupModule = 'Az'

# Enable PS Remoting for creating new sessions; This setting is required to create new powershell sessions in Core.
Enable-PSRemoting
$psConfig = Get-PSSessionConfiguration
$psConfigName = $psConfig[0].Name

InModuleScope Az.Bootstrapper {
    $ProfileMap = (Get-AzProfileMap)

    # Helper function to uninstall all profiles
    function Remove-InstalledProfile {
        $installedProfiles = Get-ProfilesInstalled -ProfileMap $ProfileMap
        if ($null -ne $installedProfiles.Keys) {
            foreach ($profile in $installedProfiles.Keys) {
                Write-Host "Removing profile $profile"
                Uninstall-AzProfile -Profile $profile -Force -ErrorAction SilentlyContinue
            }
            
            $profiles = (Get-ProfilesInstalled -ProfileMap $ProfileMap)
            if ($profiles.Count -ne 0) {
                Throw "Uninstallation was not successful: Profile(s) $(@($profiles.Keys) -join ',') were not uninstalled correctly."
            }
        }
    }

    Describe "A machine with no profile installed can install profile" {

        # Using Install-AzProfile
        Context "New Profile Install - 2019-03-01-hybrid" {
            # Arrange
            # Uninstall previously installed profiles
            Remove-InstalledProfile

            # Launch the test in a new powershell session
            # Create a new PS session
            $session = New-PSSession -ComputerName localhost -ConfigurationName $psConfigName
              
            # Keep this for testing private drops
            # Invoke-Command -Session $session -ScriptBlock { Register-PSRepository -Name "azsrepo" -SourceLocation "D:\psrepo" -InstallationPolicy Trusted }
            # Invoke-Command -Session $session -ScriptBlock { Set-BootStrapRepo -Repo azsrepo }

            # Act
            # Install 2019-03-01-hybrid version
            Invoke-Command -Session $session -ScriptBlock { Install-AzProfile -Profile '2019-03-01-hybrid' -Force } 

            # Assert; This test will fail if run on PS 5.1; works only on core due to GMO 'Az' returns empty on 5.1 bug.
            It "Should return 2019-03-01-hybrid Profile" {
                $result = Invoke-Command -Session $session -ScriptBlock { Get-AzApiProfile }
                $result[0].ProfileName.Contains('2019-03-01-hybrid') | Should Be $true
            }

            # Clean up
            Remove-PSSession -Session $session
        } 

        # Using Use-AzProfile
        Context "New Profile Install - 2019-03-01-hybrid using Use-AzProfile" {
            # Arrange
            # Uninstall previously installed profiles
            Remove-InstalledProfile

            # Create a new PS session
            $session = New-PSSession -ComputerName localhost -ConfigurationName $psConfigName

            # Act
            # Install profile '2019-03-01-hybrid'
            # Invoke-Command -Session $session -ScriptBlock { Set-BootStrapRepo -Repo azsrepo }
            Invoke-Command -Session $session -ScriptBlock { Use-AzProfile -Profile '2019-03-01-hybrid' -Force }

            # Assert
            It "Should return 2019-03-01-hybrid" {
                $result = Invoke-Command -Session $session -ScriptBlock { Get-AzApiProfile } 
                $result[0].ProfileName.Contains('2019-03-01-hybrid') | Should Be $true
            }

            # Clean up
            Remove-PSSession -Session $session
        }
    }


    Describe "Attempting to use already installed profile will import the modules to the current session" {
        InModuleScope Az.Bootstrapper {
            Context "Profile 2019-03-01-hybrid is installed" {
                # Should import Latest profile to current session
                # Arrange
                # Create a new PS session
                $session = New-PSSession -ComputerName localhost -ConfigurationName $psConfigName


                # Ensure profile 2019-03-01-hybrid is installed
                $profilesInstalled = Invoke-Command -Session $session -ScriptBlock { Get-AzApiProfile } 
                ($profilesInstalled -like "*hybrid*") -ne $null | Should Be $true

                # Act
                # Invoke-Command -Session $session -ScriptBlock { Set-BootStrapRepo -Repo azsrepo }
                Invoke-Command -Session $session -ScriptBlock { Use-AzProfile -Profile '2019-03-01-hybrid' -Force }

                # Get the version of the 2019-03-01-hybrid profile
                $ProfileMap = Get-AzProfileMap
                $latestVersion = $ProfileMap.'2019-03-01-hybrid'.$RollupModule

                # Assert
                It "Should return Az module 2019-03-01-hybrid version" {
                    # Get-module script block
                    $getModule = {
                        Param($RollupModule)
                        Get-Module -Name $RollupModule 
                    }

                    $modules = Invoke-Command -Session $session -ScriptBlock $getModule -ArgumentList $RollupModule
                
                    $modules.Name | Should Be $RollupModule
                    $modules.version | Should Be $latestVersion
                }

                # Cleanup
                Remove-PSSession -Session $session
            }
        }
    }

    Describe "User can uninstall a profile" {
        InModuleScope Az.Bootstrapper {
            Context "2019-03-01-hybrid profile is installed" {
                # Should uninstall 2019-03-01-hybrid profile
                # Arrange
                # Create a new PS session
                $session = New-PSSession -ComputerName localhost -ConfigurationName $psConfigName

                # Check if '2019-03-01-hybrid' is installed
                # Invoke-Command -Session $session -ScriptBlock { Set-BootStrapRepo -Repo azsrepo }
                $profilesInstalled = Invoke-Command -Session $session -ScriptBlock { Get-AzApiProfile } 
                ($profilesInstalled -like "*hybrid*") -ne $null | Should Be $true

                # Get the version of the Latest profile
                $ProfileMap = Get-AzProfileMap
                $latestVersion = $ProfileMap.'2019-03-01-hybrid'.$RollupModule

                # Act
                Invoke-Command -Session $session -ScriptBlock { Uninstall-AzProfile -Profile '2019-03-01-hybrid' -Force }
            
                # Assert
                It "Profile 2019-03-01-hybrid is uninstalled" {
                    $result = Invoke-Command -Session $session -ScriptBlock { Get-AzApiProfile }
                    if ($result -ne $null) {
                        $result.Contains('2019-03-01-hybrid') | Should Be $false
                    }
                    else {
                        $true
                    }
                }

                It "Available Modules should not contain uninstalled modules" {
                    $getModule = {
                        Param($RollupModule)
                        Get-Module -Name $RollupModule -ListAvailable
                    }
                    $results = Invoke-Command -Session $session -ScriptBlock $getModule -ArgumentList $RollupModule
                    
                    foreach ($result in $results) {
                        $result.Version -eq $latestVersion | Should Be $false
                    }
                        
                }

                # Cleanup
                Remove-PSSession -Session $session
            }
        }
    }

    Describe "Invalid Cases" {
        Context "Install wrong profile name" {
            # Install profile 'abcTest'
            It "Throws Invalid argument error" {
                { Install-AzProfile -Profile 'abcTest' } | Should Throw
            }
        }

        Context "Install null profile name" {
            # Install profile 'null'
            It "Throws Invalid argument error" {
                { Install-AzProfile -Profile $null } | Should Throw
            }
        }

        Context "Install already installed profile" {
            # Arrange
            # Create a new PS session
            $session = New-PSSession -ComputerName localhost -ConfigurationName $psConfigName
            # Invoke-Command -Session $session -ScriptBlock { Set-BootStrapRepo -Repo azsrepo }

            # Ensure profile 2019-03-01-hybrid is installed
            Set-BootStrapRepo -Repo azsrepo
            Install-AzProfile -Profile '2019-03-01-hybrid' -Force
            $installedProfile = Invoke-Command -Session $session -ScriptBlock { Get-AzApiProfile }
            ($installedProfile -like "*hybrid*") -ne $null | Should Be $true
            
            # Act
            # Install profile '2019-03-01-hybrid'
            $result = Invoke-Command -Session $session -ScriptBlock { Install-AzProfile -Profile '2019-03-01-hybrid' -Force } 

            # Get modules imported into the session
            $getModuleList = {
                Param($RollupModule)
                Get-Module -Name $RollupModule
            }
            $modules = Invoke-Command -Session $session -ScriptBlock $getModuleList  -ArgumentList $RollupModule

            It "Doesn't install/import the profile" {
                $result | Should Be $null
                $modules | Should Be $null
            }

            # Cleanup
            Remove-PSSession -Session $session
        }

        Context "Use-AzProfile with wrong profile name" {
            # Install profile 'abcTest'
            It "Throws Invalid argument error" {
                { Use-AzProfile -Profile 'abcTest' } | Should Throw
            }
        }
    }

    Describe "Install profiles using Scope" {
        InModuleScope Az.Bootstrapper {
            Context "Using Install-AzProfile: Scope 'CurrentUser'" {
                # Arrange
                # Create a new PS session
                $session = New-PSSession -ComputerName localhost -ConfigurationName $psConfigName

                # Remove installed profiles
                Remove-InstalledProfile 

                # Act
                # Install profile 2019-03-01-hybrid scope as current user
                # Invoke-Command -Session $session -ScriptBlock { Set-BootStrapRepo -Repo azsrepo }
                Invoke-Command -Session $session -ScriptBlock { Install-AzProfile -Profile '2019-03-01-hybrid' -scope 'CurrentUser' -Force }

                # Assert
                It "Installs & Imports 2019-03-01-hybrid profile to the session" {
                    # Get the version of the Latest profile
                    $ProfileMap = Get-AzProfileMap
                    $latestVersion = $ProfileMap.'2019-03-01-hybrid'.$RollupModule
                    
                    $getModuleList = {
                        Param($RollupModule, $latestVersion)
                        Get-Module -Name $RollupModule -ListAvailable | Where-Object { $_.Version -like $latestVersion }
                    }
                    $modules = Invoke-Command -Session $session -ScriptBlock $getModuleList  -ArgumentList @($RollupModule, $latestVersion)

                    # Are latest modules imported?
                    $modules.Name | Should Be $RollupModule
                    $modules.version | Should Be $latestVersion
                }
            }

            Context "Using Use-AzProfile: Scope 'AllUsers'" {
                # Arrange
                # Create a new PS session
                $session = New-PSSession -ComputerName localhost -ConfigurationName $psConfigName

                # Remove installed profiles
                Remove-InstalledProfile 

                # Act
                # Install profile 2019-03-01-hybrid scope as all users
                # Invoke-Command -Session $session -ScriptBlock { Set-BootStrapRepo -Repo azsrepo }
                Invoke-Command -Session $session -ScriptBlock { Use-AzProfile -Profile '2019-03-01-hybrid' -scope 'AllUsers' -Force }

                # Assert
                It "Installs & Imports 2019-03-01-hybrid profile to the session" {
                    $getModuleList = {
                        Param($RollupModule)
                        Get-Module -Name $RollupModule
                    }
                    $modules = Invoke-Command -Session $session -ScriptBlock $getModuleList  -ArgumentList $RollupModule

                    # Get the version of the 2019-03-01-hybrid profile
                    $ProfileMap = Get-AzProfileMap
                    $version = $ProfileMap.'2019-03-01-hybrid'.$RollupModule
                
                    # Are appropriate modules imported?
                    $modules.Name | Should Be $RollupModule
                    $modules.version | Should Be $version
                }
            }

            Context "Using Update-AzProfile: Scope 'CurrentUser' " {
                # Arrange
                # Create a new PS session
                $session = New-PSSession -ComputerName localhost -ConfigurationName $psConfigName

                # Remove installed profiles
                Remove-InstalledProfile 

                # Act
                # Install profile 2019-03-01-hybrid scope as current user
                # Invoke-Command -Session $session -ScriptBlock { Set-BootStrapRepo -Repo azsrepo }
                Invoke-Command -Session $session -ScriptBlock { Update-AzProfile -Profile '2019-03-01-hybrid' -scope 'CurrentUser' -Force -r }

                # Assert
                It "Installs & Imports 2019-03-01-hybrid profile to the session" {
                    $getModuleList = {
                        Param($RollupModule)
                        Get-Module -Name $RollupModule
                    }
                    $modules = Invoke-Command -Session $session -ScriptBlock $getModuleList  -ArgumentList $RollupModule

                    # Get the version of the 2019-03-01-hybrid profile
                    $ProfileMap = Get-AzProfileMap
                    $version = $ProfileMap.'2019-03-01-hybrid'.$RollupModule
                
                    # Are correct modules imported?
                    $modules.Name | Should Be $RollupModule
                    $modules.version | Should Be $version
                }
            }
        }
    }

    Describe "Load/Import AzProfile modules" {
        InModuleScope Az.Bootstrapper {
            Context "Using Use-AzProfile: Modules are not installed" {
                # Arrange
                # Create a new PS session
                $session = New-PSSession -ComputerName localhost -ConfigurationName $psConfigName

                # Remove installed profiles
                Remove-InstalledProfile 

                # Act
                # Use module from Latest profile scope as current user
                # Invoke-Command -Session $session -ScriptBlock { Set-BootStrapRepo -Repo azsrepo }
                Invoke-Command -Session $session -ScriptBlock { Use-AzProfile -Profile '2019-03-01-hybrid' -Module 'Az.Storage' -Force -scope 'CurrentUser' }

                # Assert
                $RollupModule = 'Az.Storage'
                It "Installs & Imports 2019-03-01-hybrid profile's module to the session" {
                    $getModuleList = {
                        Param($RollupModule)
                        Get-Module -Name $RollupModule
                    }
                    $modules = Invoke-Command -Session $session -ScriptBlock $getModuleList  -ArgumentList $RollupModule

                    # Get the version of the 2019-03-01-hybrid profile
                    $ProfileMap = Get-AzProfileMap
                    $version = $ProfileMap.'2019-03-01-hybrid'.$RollupModule
                
                    # Are 2019-03-01-hybrid modules imported?
                    $modules.Name | Should Be $RollupModule
                    $modules.version | Should Be $version
                }
            }
        }
    }
}
# SIG # Begin signature block
# MIIjhgYJKoZIhvcNAQcCoIIjdzCCI3MCAQExDzANBglghkgBZQMEAgEFADB5Bgor
# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG
# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCAsoA1Xv4YNIuoZ
# eBrscaEWTb9Y4cJmtI5AttyZ7nzxHKCCDYEwggX/MIID56ADAgECAhMzAAABUZ6N
# j0Bxow5BAAAAAAFRMA0GCSqGSIb3DQEBCwUAMH4xCzAJBgNVBAYTAlVTMRMwEQYD
# VQQIEwpXYXNoaW5ndG9uMRAwD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