Skip to content

Commit

Permalink
Suppress verbose output when loading module during automated testing …
Browse files Browse the repository at this point in the history
…to reduce output
  • Loading branch information
PlagueHO committed Feb 22, 2019
1 parent 5344bb0 commit 9a91438
Show file tree
Hide file tree
Showing 15 changed files with 17 additions and 13 deletions.
2 changes: 2 additions & 0 deletions RELEASENOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ February 22, 2018
functions - fixes [Issue #274](https://github.com/PlagueHO/CosmosDB/issues/274).
- Update `cosmosdb.psdepend.psd1` to install modules `Az.Resources` 1.1.2 and
`Az.Accounts` 1.3.0.
- Suppress verbose output when loading module during automated
testing to reduce output.

## What is New in CosmosDB 3.2.0.320

Expand Down
2 changes: 2 additions & 0 deletions src/CosmosDB.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,8 @@ PrivateData = @{
functions - fixes [Issue #274](https://github.com/PlagueHO/CosmosDB/issues/274).
- Update `cosmosdb.psdepend.psd1` to install modules `Az.Resources` 1.1.2 and
`Az.Accounts` 1.3.0.
- Suppress verbose output when loading module during automated
testing to reduce output.
## What is New in CosmosDB 3.2.0.320
Expand Down
2 changes: 1 addition & 1 deletion test/Integration/CosmosDB.integration.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ $ModuleManifestName = 'CosmosDB.psd1'
$ModuleManifestPath = "$PSScriptRoot\..\..\src\$ModuleManifestName"
$TestHelperPath = "$PSScriptRoot\..\TestHelper"

Import-Module -Name $ModuleManifestPath -Force
Import-Module -Name $ModuleManifestPath -Force -Verbose:$false
Import-Module -Name $TestHelperPath -Force

Get-AzureServicePrincipal
Expand Down
2 changes: 1 addition & 1 deletion test/Unit/CosmosDB.accounts.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ param (
$ModuleManifestName = 'CosmosDB.psd1'
$ModuleManifestPath = "$PSScriptRoot\..\..\src\$ModuleManifestName"

Import-Module -Name $ModuleManifestPath -Force
Import-Module -Name $ModuleManifestPath -Force -Verbose:$false

InModuleScope CosmosDB {
$TestHelperPath = "$PSScriptRoot\..\TestHelper"
Expand Down
2 changes: 1 addition & 1 deletion test/Unit/CosmosDB.attachments.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ param (
$ModuleManifestName = 'CosmosDB.psd1'
$ModuleManifestPath = "$PSScriptRoot\..\..\src\$ModuleManifestName"

Import-Module -Name $ModuleManifestPath -Force
Import-Module -Name $ModuleManifestPath -Force -Verbose:$false

InModuleScope CosmosDB {
$TestHelperPath = "$PSScriptRoot\..\TestHelper"
Expand Down
2 changes: 1 addition & 1 deletion test/Unit/CosmosDB.collections.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ param (
$ModuleManifestName = 'CosmosDB.psd1'
$ModuleManifestPath = "$PSScriptRoot\..\..\src\$ModuleManifestName"

Import-Module -Name $ModuleManifestPath -Force
Import-Module -Name $ModuleManifestPath -Force -Verbose:$false

InModuleScope CosmosDB {
$TestHelperPath = "$PSScriptRoot\..\TestHelper"
Expand Down
2 changes: 1 addition & 1 deletion test/Unit/CosmosDB.databases.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ param (
$ModuleManifestName = 'CosmosDB.psd1'
$ModuleManifestPath = "$PSScriptRoot\..\..\src\$ModuleManifestName"

Import-Module -Name $ModuleManifestPath -Force
Import-Module -Name $ModuleManifestPath -Force -Verbose:$false

InModuleScope CosmosDB {
$TestHelperPath = "$PSScriptRoot\..\TestHelper"
Expand Down
2 changes: 1 addition & 1 deletion test/Unit/CosmosDB.documents.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ param (
$ModuleManifestName = 'CosmosDB.psd1'
$ModuleManifestPath = "$PSScriptRoot\..\..\src\$ModuleManifestName"

Import-Module -Name $ModuleManifestPath -Force
Import-Module -Name $ModuleManifestPath -Force -Verbose:$false

InModuleScope CosmosDB {
$TestHelperPath = "$PSScriptRoot\..\TestHelper"
Expand Down
2 changes: 1 addition & 1 deletion test/Unit/CosmosDB.offers.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ param (
$ModuleManifestName = 'CosmosDB.psd1'
$ModuleManifestPath = "$PSScriptRoot\..\..\src\$ModuleManifestName"

Import-Module -Name $ModuleManifestPath -Force
Import-Module -Name $ModuleManifestPath -Force -Verbose:$false

InModuleScope CosmosDB {
$TestHelperPath = "$PSScriptRoot\..\TestHelper"
Expand Down
2 changes: 1 addition & 1 deletion test/Unit/CosmosDB.permissions.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ param (
$ModuleManifestName = 'CosmosDB.psd1'
$ModuleManifestPath = "$PSScriptRoot\..\..\src\$ModuleManifestName"

Import-Module -Name $ModuleManifestPath -Force
Import-Module -Name $ModuleManifestPath -Force -Verbose:$false

InModuleScope CosmosDB {
$TestHelperPath = "$PSScriptRoot\..\TestHelper"
Expand Down
2 changes: 1 addition & 1 deletion test/Unit/CosmosDB.storedprocedures.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ param (
$ModuleManifestName = 'CosmosDB.psd1'
$ModuleManifestPath = "$PSScriptRoot\..\..\src\$ModuleManifestName"

Import-Module -Name $ModuleManifestPath -Force
Import-Module -Name $ModuleManifestPath -Force -Verbose:$false


InModuleScope CosmosDB {
Expand Down
2 changes: 1 addition & 1 deletion test/Unit/CosmosDB.triggers.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ param (
$ModuleManifestName = 'CosmosDB.psd1'
$ModuleManifestPath = "$PSScriptRoot\..\..\src\$ModuleManifestName"

Import-Module -Name $ModuleManifestPath -Force
Import-Module -Name $ModuleManifestPath -Force -Verbose:$false

InModuleScope CosmosDB {
$TestHelperPath = "$PSScriptRoot\..\TestHelper"
Expand Down
2 changes: 1 addition & 1 deletion test/Unit/CosmosDB.userdefinedfunctions.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ param (
$ModuleManifestName = 'CosmosDB.psd1'
$ModuleManifestPath = "$PSScriptRoot\..\..\src\$ModuleManifestName"

Import-Module -Name $ModuleManifestPath -Force
Import-Module -Name $ModuleManifestPath -Force -Verbose:$false

InModuleScope CosmosDB {
$TestHelperPath = "$PSScriptRoot\..\TestHelper"
Expand Down
2 changes: 1 addition & 1 deletion test/Unit/CosmosDB.users.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ param (
$ModuleManifestName = 'CosmosDB.psd1'
$ModuleManifestPath = "$PSScriptRoot\..\..\src\$ModuleManifestName"

Import-Module -Name $ModuleManifestPath -Force
Import-Module -Name $ModuleManifestPath -Force -Verbose:$false

InModuleScope CosmosDB {
$TestHelperPath = "$PSScriptRoot\..\TestHelper"
Expand Down
2 changes: 1 addition & 1 deletion test/Unit/CosmosDB.utils.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ param (
$ModuleManifestName = 'CosmosDB.psd1'
$ModuleManifestPath = "$PSScriptRoot\..\..\src\$ModuleManifestName"

Import-Module -Name $ModuleManifestPath -Force
Import-Module -Name $ModuleManifestPath -Force -Verbose:$false

InModuleScope CosmosDB {
$TestHelperPath = "$PSScriptRoot\..\TestHelper"
Expand Down

0 comments on commit 9a91438

Please sign in to comment.