Created
January 17, 2018 07:20
-
-
Save it-praktyk/ed9fa27af80d31101c9cbf73b3361034 to your computer and use it in GitHub Desktop.
Revisions
-
it-praktyk created this gist
Jan 17, 2018 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,672 @@ Time : 00:00:00.1285189 FailureMessage : Expected {AliasInfo FunctionInfo CmdletInfo FilterInfo}, but got {FunctionInfo}. Context : StackTrace : at <ScriptBlock>, /home/vagrant/PowerShell/test/powershell/engine/Basic/CommandDiscovery.Tests.ps1: line 93 93: $command.GetType().Name | should be @("AliasInfo","FunctionInfo","CmdletInfo","FilterInfo") ParameterizedSuiteName : Result : Failed ErrorRecord : Expected {AliasInfo FunctionInfo CmdletInfo FilterInfo}, but got {FunctionInfo}. Show : All Parameters : {} Name : Get-Command should return only CmdletInfo, FunctionInfo, AliasInfo or FilterInfo Passed : False Describe : Command Discovery tests Time : 00:00:00.1344266 FailureMessage : Expected no exception to be thrown, but an exception was thrown from /home/vagrant/PowerShell/test/powershell/engine/Help/HelpSystem.OnlineHelp.Tests.ps1:83 char:11 + { Get-Help get-process -online } | Should Not Throw + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~. Context : StackTrace : at <ScriptBlock>, /home/vagrant/PowerShell/test/powershell/engine/Help/HelpSystem.OnlineHelp.Tests.ps1: line 83 83: { Get-Help get-process -online } | Should Not Throw ParameterizedSuiteName : Result : Failed ErrorRecord : Expected no exception to be thrown, but an exception was thrown from /home/vagrant/PowerShell/test/powershell/engine/Help/HelpSystem.OnlineHelp.Tests.ps1:83 char:11 + { Get-Help get-process -online } | Should Not Throw + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~. Show : All Parameters : {} Name : Get-Help get-process -online Passed : False Describe : Get-Help -Online opens the default web browser and navigates to the cmdlet help content Time : 00:00:00.0519010 FailureMessage : Expected {0} to be greater than the actual value, but got {0}. Context : Miscellaneous completion tests StackTrace : at <ScriptBlock>, /home/vagrant/PowerShell/test/powershell/Host/TabCompletion/TabCompletion.Tests.ps1: line 447 447: $res.CompletionMatches.Count | Should BeGreaterThan 0 ParameterizedSuiteName : Input '<inputStr>' should successfully complete Result : Failed ErrorRecord : Expected {0} to be greater than the actual value, but got {0}. Show : All Parameters : {expected, setup, inputStr} Name : Input 'gmo -list PackageM' should successfully complete Passed : False Describe : TabCompletion Time : 00:00:00.0883953 FailureMessage : Expected {0} to be greater than the actual value, but got {0}. Context : Miscellaneous completion tests StackTrace : at <ScriptBlock>, /home/vagrant/PowerShell/test/powershell/Host/TabCompletion/TabCompletion.Tests.ps1: line 447 447: $res.CompletionMatches.Count | Should BeGreaterThan 0 ParameterizedSuiteName : Input '<inputStr>' should successfully complete Result : Failed ErrorRecord : Expected {0} to be greater than the actual value, but got {0}. Show : All Parameters : {expected, setup, inputStr} Name : Input 'gcm -Module PackageManagement Find-Pac' should successfully complete Passed : False Describe : TabCompletion Time : 00:00:00.0702278 FailureMessage : Expected {0} to be greater than the actual value, but got {0}. Context : Miscellaneous completion tests StackTrace : at <ScriptBlock>, /home/vagrant/PowerShell/test/powershell/Host/TabCompletion/TabCompletion.Tests.ps1: line 447 447: $res.CompletionMatches.Count | Should BeGreaterThan 0 ParameterizedSuiteName : Input '<inputStr>' should successfully complete Result : Failed ErrorRecord : Expected {0} to be greater than the actual value, but got {0}. Show : All Parameters : {expected, setup, inputStr} Name : Input 'ipmo PackageM' should successfully complete Passed : False Describe : TabCompletion Time : 00:00:00.0486157 FailureMessage : Expected regular expression {^v(\d+\.\d+\.\d+)-(.+)-(\d+)-g(.+)$} to match {v6.0.0-125-ga07cc49809c83c139832885305d58f01d8e1c250}, but it did not match. Context : StackTrace : at <ScriptBlock>, /home/vagrant/PowerShell/test/powershell/Host/PSVersionTable.Tests.ps1: line 51 51: $PSVersionTable.GitCommitId | Should Match $expectedGitCommitIdPattern ParameterizedSuiteName : Result : Failed ErrorRecord : Expected regular expression {^v(\d+\.\d+\.\d+)-(.+)-(\d+)-g(.+)$} to match {v6.0.0-125-ga07cc49809c83c139832885305d58f01d8e1c250}, but it did not match. Show : All Parameters : {} Name : GitCommitId property Passed : False Describe : PSVersionTable Time : 00:00:00.1396782 FailureMessage : Expected {TESTMODULE}, but got {TestModule TESTMODULE}. Context : StackTrace : at <ScriptBlock>, /home/vagrant/PowerShell/test/powershell/Modules/Microsoft.PowerShell.Core/Import-Module.Tests.ps1: line 195 195: $m.Name | Should Be "TESTMODULE" ParameterizedSuiteName : Import-Module can import a module using different casing using '<modulePath>' and manifest:<manifest> Result : Failed ErrorRecord : Expected {TESTMODULE}, but got {TestModule TESTMODULE}. Show : All Parameters : {modulePath, manifest} Name : Import-Module can import a module using different casing using 'TESTMODULE/1.1' and manifest:True Passed : False Describe : Import-Module should be case insensitive Time : 00:00:00.1159089 FailureMessage : Expected {TESTMODULE}, but got {TestModule TESTMODULE TESTMODULE}. Context : StackTrace : at <ScriptBlock>, /home/vagrant/PowerShell/test/powershell/Modules/Microsoft.PowerShell.Core/Import-Module.Tests.ps1: line 195 195: $m.Name | Should Be "TESTMODULE" ParameterizedSuiteName : Import-Module can import a module using different casing using '<modulePath>' and manifest:<manifest> Result : Failed ErrorRecord : Expected {TESTMODULE}, but got {TestModule TESTMODULE TESTMODULE}. Show : All Parameters : {modulePath, manifest} Name : Import-Module can import a module using different casing using 'TESTMODULE' and manifest:True Passed : False Describe : Import-Module should be case insensitive Time : 00:00:00.1280444 FailureMessage : Expected {TESTMODULE}, but got {TestModule TESTMODULE TESTMODULE}. Context : StackTrace : at <ScriptBlock>, /home/vagrant/PowerShell/test/powershell/Modules/Microsoft.PowerShell.Core/Import-Module.Tests.ps1: line 195 195: $m.Name | Should Be "TESTMODULE" ParameterizedSuiteName : Import-Module can import a module using different casing using '<modulePath>' and manifest:<manifest> Result : Failed ErrorRecord : Expected {TESTMODULE}, but got {TestModule TESTMODULE TESTMODULE}. Show : All Parameters : {modulePath, manifest} Name : Import-Module can import a module using different casing using 'TESTMODULE' and manifest:False Passed : False Describe : Import-Module should be case insensitive Time : 00:01:59.3022627 FailureMessage : Cannot process argument transformation on parameter 'Scriptblock'. Cannot convert the "" value of type "System.String" to type "System.Management.Automation.ScriptBlock". Context : Handling of Unix [ab] globbing patterns in literal paths StackTrace : At /home/vagrant/PowerShell/test/powershell/Modules/Microsoft.PowerShell.Management/FileSystem.Tests.ps1:381 char:9 ParameterizedSuiteName : Result : Failed ErrorRecord : Cannot process argument transformation on parameter 'Scriptblock'. Cannot convert the "" value of type "System.String" to type "System.Management.Automation.ScriptBlock". Show : All Parameters : Name : Error occurred in Context block Passed : False Describe : Handling of globbing patterns Time : 00:00:00.0921835 FailureMessage : Could not compare "0" to "01/17/2018 04:52:35". Error: "Cannot convert value "1/17/18 4:52:35 AM" to type "System.Int32". Error: "Invalid cast from 'DateTime' to 'Int32'."" Context : FileSystem provider StackTrace : at <ScriptBlock>, /home/vagrant/PowerShell/test/powershell/Modules/Microsoft.PowerShell.Management/Get-ChildItem.Tests.ps1: line 38 38: $var.LastWriteTime | Should BeGreaterThan 0 ParameterizedSuiteName : Result : Failed ErrorRecord : Could not compare "0" to "01/17/2018 04:52:35". Error: "Cannot convert value "1/17/18 4:52:35 AM" to type "System.Int32". Error: "Invalid cast from 'DateTime' to 'Int32'."" Show : All Parameters : {} Name : Should have a the proper fields and be populated Passed : False Describe : Get-ChildItem Time : 00:00:00.0833700 FailureMessage : Expected strings to be the same, but they were different. Expected length: 81 Actual length: 58 Strings differ at index 0. Expected: {NewItemSymbolicLinkElevationRequired,Microsoft.PowerShell.Commands.NewItemCommand} But was: {SymLinkExists,Microsoft.PowerShell.Commands.NewItemCommand} -----------^ Context : StackTrace : at <ScriptBlock>, /home/vagrant/PowerShell/test/powershell/Modules/Microsoft.PowerShell.Management/New-Item.Tests.ps1: line 186 186: $_.FullyQualifiedErrorId | Should Be "NewItemSymbolicLinkElevationRequired,Microsoft.PowerShell.Commands.NewItemCommand" ParameterizedSuiteName : Result : Failed ErrorRecord : Expected strings to be the same, but they were different. Expected length: 81 Actual length: 58 Strings differ at index 0. Expected: {NewItemSymbolicLinkElevationRequired,Microsoft.PowerShell.Commands.NewItemCommand} But was: {SymLinkExists,Microsoft.PowerShell.Commands.NewItemCommand} -----------^ Show : All Parameters : {} Name : Should error correctly when failing to create a symbolic link Passed : False Describe : New-Item with links Time : 00:00:00.1146030 FailureMessage : Expected {00:00:00}, but got {00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00}. Context : StackTrace : at <ScriptBlock>, /home/vagrant/PowerShell/test/powershell/Modules/Microsoft.PowerShell.Management/TimeZone.Tests.ps1: line 66 66: $observedIdList -eq $oneExpectedOffset | Should Be $oneExpectedOffset ParameterizedSuiteName : Result : Failed ErrorRecord : Expected {00:00:00}, but got {00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00}. Show : All Parameters : {} Name : Call with ListAvailable switch returns a list containing TimeZoneInfo.Local Passed : False Describe : Get-Timezone test cases Time : 00:00:00.1148312 FailureMessage : Expected {00:00:00}, but got {00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00}. Context : StackTrace : at <ScriptBlock>, /home/vagrant/PowerShell/test/powershell/Modules/Microsoft.PowerShell.Management/TimeZone.Tests.ps1: line 74 74: $observedIdList -eq $oneExpectedOffset | Should Be $oneExpectedOffset ParameterizedSuiteName : Result : Failed ErrorRecord : Expected {00:00:00}, but got {00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00}. Show : All Parameters : {} Name : Call with ListAvailable switch returns a list containing one returned by Get-TimeZone Passed : False Describe : Get-Timezone test cases Time : 00:00:00.0526577 FailureMessage : Expected {foo bar bazz}, but got {bazz bar foo}. Context : StackTrace : at <ScriptBlock>, /home/vagrant/PowerShell/test/powershell/Modules/Microsoft.PowerShell.Utility/ConvertFrom-StringData.Tests.ps1: line 68 68: $(ConvertFrom-StringData -StringData $sampleData).Keys | Should Be "foo", "bar", "bazz" ParameterizedSuiteName : Result : Failed ErrorRecord : Expected {foo bar bazz}, but got {bazz bar foo}. Show : All Parameters : {} Name : Should work for multiple lines Passed : False Describe : ConvertFrom-StringData Time : 00:00:00.0483809 FailureMessage : Expected {True}, but got {Accepted meta properties are content-type, default-style, application-name, author, description, generator, keywords, x-ua-compatible, and viewport. The meta pair: authors and John Doe may not function correctly. <meta name="authors" content="John Doe"> <tr><td>John Doe</td><td>42</td><td>System.Object[]</td></tr>}. Context : StackTrace : at <ScriptBlock>, /home/vagrant/PowerShell/test/powershell/Modules/Microsoft.PowerShell.Utility/ConvertTo-Html.Tests.ps1: line 141 141: ($customObject | ConvertTo-HTML -Meta $parms 3>&1) -match $parms["authors"] | Should Be $true ParameterizedSuiteName : Result : Failed ErrorRecord : Expected {True}, but got {Accepted meta properties are content-type, default-style, application-name, author, description, generator, keywords, x-ua-compatible, and viewport. The meta pair: authors and John Doe may not function correctly. <meta name="authors" content="John Doe"> <tr><td>John Doe</td><td>42</td><td>System.Object[]</td></tr>}. Show : All Parameters : {} Name : Test ConvertTo-HTML meta with invalid properties should throw warning Passed : False Describe : ConvertTo-Html Tests Time : 00:00:00.0869239 FailureMessage : Expected strings to be the same, but they were different. Expected length: 64 Actual length: 13 Strings differ at index 0. Expected: {FileOpenFailure,Microsoft.PowerShell.Commands.ExportAliasCommand} But was: {No Exception!} -----------^ Context : StackTrace : at <ScriptBlock>, /home/vagrant/PowerShell/test/powershell/Modules/Microsoft.PowerShell.Utility/Export-Alias.Tests.ps1: line 124 124: $_.FullyQualifiedErrorId | Should be "FileOpenFailure,Microsoft.PowerShell.Commands.ExportAliasCommand" ParameterizedSuiteName : Result : Failed ErrorRecord : Expected strings to be the same, but they were different. Expected length: 64 Actual length: 13 Strings differ at index 0. Expected: {FileOpenFailure,Microsoft.PowerShell.Commands.ExportAliasCommand} But was: {No Exception!} -----------^ Show : All Parameters : {} Name : Export-Alias for Force ReadOnly Test Passed : False Describe : Export-Alias DRT Unit Tests Time : 00:00:00.1105385 FailureMessage : Scriptblock not found. Input to 'Throw' and 'Not Throw' must be enclosed in curly braces. Parameter name: ActualValue Context : Scope Tests StackTrace : at <ScriptBlock>, /home/vagrant/PowerShell/src/powershell-unix/bin/Linux/netcoreapp2.0/linux-x64/publish/Modules/Pester/Functions/Assertions/PesterThrow.ps1: line 9 9: throw (New-Object -TypeName ArgumentNullException -ArgumentList "ActualValue","Scriptblock not found. Input to 'Throw' and 'Not Throw' must be enclosed in curly braces.") ParameterizedSuiteName : Result : Failed ErrorRecord : Scriptblock not found. Input to 'Throw' and 'Not Throw' must be enclosed in curly braces. Parameter name: ActualValue Show : All Parameters : {} Name : Should not be able to clear a global scope variable using the local switch Passed : False Describe : Get-Variable Time : 00:00:00.0446029 FailureMessage : Scriptblock not found. Input to 'Throw' and 'Not Throw' must be enclosed in curly braces. Parameter name: ActualValue Context : StackTrace : at <ScriptBlock>, /home/vagrant/PowerShell/src/powershell-unix/bin/Linux/netcoreapp2.0/linux-x64/publish/Modules/Pester/Functions/Assertions/PesterThrow.ps1: line 9 9: throw (New-Object -TypeName ArgumentNullException -ArgumentList "ActualValue","Scriptblock not found. Input to 'Throw' and 'Not Throw' must be enclosed in curly braces.") ParameterizedSuiteName : Result : Failed ErrorRecord : Scriptblock not found. Input to 'Throw' and 'Not Throw' must be enclosed in curly braces. Parameter name: ActualValue Show : All Parameters : {} Name : Should not be able to set the name of a new variable to that of an old variable within same scope when the Force switch is missing Passed : False Describe : New-Variable Time : 00:00:00.1345042 FailureMessage : Scriptblock not found. Input to 'Throw' and 'Not Throw' must be enclosed in curly braces. Parameter name: ActualValue Context : StackTrace : at <ScriptBlock>, /home/vagrant/PowerShell/src/powershell-unix/bin/Linux/netcoreapp2.0/linux-x64/publish/Modules/Pester/Functions/Assertions/PesterThrow.ps1: line 9 9: throw (New-Object -TypeName ArgumentNullException -ArgumentList "ActualValue","Scriptblock not found. Input to 'Throw' and 'Not Throw' must be enclosed in curly braces.") ParameterizedSuiteName : Result : Failed ErrorRecord : Scriptblock not found. Input to 'Throw' and 'Not Throw' must be enclosed in curly braces. Parameter name: ActualValue Show : All Parameters : {} Name : Should throw an error when a dollar sign is used in the variable name place Passed : False Describe : Remove-Variable Time : 00:00:00.0412947 FailureMessage : Scriptblock not found. Input to 'Throw' and 'Not Throw' must be enclosed in curly braces. Parameter name: ActualValue Context : StackTrace : at <ScriptBlock>, /home/vagrant/PowerShell/src/powershell-unix/bin/Linux/netcoreapp2.0/linux-x64/publish/Modules/Pester/Functions/Assertions/PesterThrow.ps1: line 9 9: throw (New-Object -TypeName ArgumentNullException -ArgumentList "ActualValue","Scriptblock not found. Input to 'Throw' and 'Not Throw' must be enclosed in curly braces.") ParameterizedSuiteName : Result : Failed ErrorRecord : Scriptblock not found. Input to 'Throw' and 'Not Throw' must be enclosed in curly braces. Parameter name: ActualValue Show : All Parameters : {} Name : Should throw error when used with Name field, and named variable does not exist Passed : False Describe : Remove-Variable Time : 00:00:00.0404662 FailureMessage : Scriptblock not found. Input to 'Throw' and 'Not Throw' must be enclosed in curly braces. Parameter name: ActualValue Context : StackTrace : at <ScriptBlock>, /home/vagrant/PowerShell/src/powershell-unix/bin/Linux/netcoreapp2.0/linux-x64/publish/Modules/Pester/Functions/Assertions/PesterThrow.ps1: line 9 9: throw (New-Object -TypeName ArgumentNullException -ArgumentList "ActualValue","Scriptblock not found. Input to 'Throw' and 'Not Throw' must be enclosed in curly braces.") ParameterizedSuiteName : Result : Failed ErrorRecord : Scriptblock not found. Input to 'Throw' and 'Not Throw' must be enclosed in curly braces. Parameter name: ActualValue Show : All Parameters : {} Name : Should throw an error when attempting to remove a read-only variable and the Force switch is not used Passed : False Describe : Remove-Variable Time : 00:00:00.0371703 FailureMessage : Scriptblock not found. Input to 'Throw' and 'Not Throw' must be enclosed in curly braces. Parameter name: ActualValue Context : Scope Tests StackTrace : at <ScriptBlock>, /home/vagrant/PowerShell/src/powershell-unix/bin/Linux/netcoreapp2.0/linux-x64/publish/Modules/Pester/Functions/Assertions/PesterThrow.ps1: line 9 9: throw (New-Object -TypeName ArgumentNullException -ArgumentList "ActualValue","Scriptblock not found. Input to 'Throw' and 'Not Throw' must be enclosed in curly braces.") ParameterizedSuiteName : Result : Failed ErrorRecord : Scriptblock not found. Input to 'Throw' and 'Not Throw' must be enclosed in curly braces. Parameter name: ActualValue Show : All Parameters : {} Name : Should not be able to clear a global variable using the local switch Passed : False Describe : Remove-Variable Time : 00:00:00.1048166 FailureMessage : Scriptblock not found. Input to 'Throw' and 'Not Throw' must be enclosed in curly braces. Parameter name: ActualValue Context : Scope Tests StackTrace : at <ScriptBlock>, /home/vagrant/PowerShell/src/powershell-unix/bin/Linux/netcoreapp2.0/linux-x64/publish/Modules/Pester/Functions/Assertions/PesterThrow.ps1: line 9 9: throw (New-Object -TypeName ArgumentNullException -ArgumentList "ActualValue","Scriptblock not found. Input to 'Throw' and 'Not Throw' must be enclosed in curly braces.") ParameterizedSuiteName : Result : Failed ErrorRecord : Scriptblock not found. Input to 'Throw' and 'Not Throw' must be enclosed in curly braces. Parameter name: ActualValue Show : All Parameters : {} Name : Should not be able to clear a global variable using the script switch Passed : False Describe : Remove-Variable Time : 00:00:00.0744871 FailureMessage : Scriptblock not found. Input to 'Throw' and 'Not Throw' must be enclosed in curly braces. Parameter name: ActualValue Context : Scope Tests StackTrace : at <ScriptBlock>, /home/vagrant/PowerShell/src/powershell-unix/bin/Linux/netcoreapp2.0/linux-x64/publish/Modules/Pester/Functions/Assertions/PesterThrow.ps1: line 9 9: throw (New-Object -TypeName ArgumentNullException -ArgumentList "ActualValue","Scriptblock not found. Input to 'Throw' and 'Not Throw' must be enclosed in curly braces.") ParameterizedSuiteName : Result : Failed ErrorRecord : Scriptblock not found. Input to 'Throw' and 'Not Throw' must be enclosed in curly braces. Parameter name: ActualValue Show : All Parameters : {} Name : Should be able to remove an item locally using the local switch Passed : False Describe : Remove-Variable Time : 00:00:00.0702277 FailureMessage : Scriptblock not found. Input to 'Throw' and 'Not Throw' must be enclosed in curly braces. Parameter name: ActualValue Context : Scope Tests StackTrace : at <ScriptBlock>, /home/vagrant/PowerShell/src/powershell-unix/bin/Linux/netcoreapp2.0/linux-x64/publish/Modules/Pester/Functions/Assertions/PesterThrow.ps1: line 9 9: throw (New-Object -TypeName ArgumentNullException -ArgumentList "ActualValue","Scriptblock not found. Input to 'Throw' and 'Not Throw' must be enclosed in curly braces.") ParameterizedSuiteName : Result : Failed ErrorRecord : Scriptblock not found. Input to 'Throw' and 'Not Throw' must be enclosed in curly braces. Parameter name: ActualValue Show : All Parameters : {} Name : Should be able to remove an item locally using the global switch Passed : False Describe : Remove-Variable Time : 00:00:00.0631119 FailureMessage : Scriptblock not found. Input to 'Throw' and 'Not Throw' must be enclosed in curly braces. Parameter name: ActualValue Context : Scope Tests StackTrace : at <ScriptBlock>, /home/vagrant/PowerShell/src/powershell-unix/bin/Linux/netcoreapp2.0/linux-x64/publish/Modules/Pester/Functions/Assertions/PesterThrow.ps1: line 9 9: throw (New-Object -TypeName ArgumentNullException -ArgumentList "ActualValue","Scriptblock not found. Input to 'Throw' and 'Not Throw' must be enclosed in curly braces.") ParameterizedSuiteName : Result : Failed ErrorRecord : Scriptblock not found. Input to 'Throw' and 'Not Throw' must be enclosed in curly braces. Parameter name: ActualValue Show : All Parameters : {} Name : Should be able to remove a local variable using the script scope switch Passed : False Describe : Remove-Variable Time : 00:00:00.0663602 FailureMessage : Scriptblock not found. Input to 'Throw' and 'Not Throw' must be enclosed in curly braces. Parameter name: ActualValue Context : Scope Tests StackTrace : at <ScriptBlock>, /home/vagrant/PowerShell/src/powershell-unix/bin/Linux/netcoreapp2.0/linux-x64/publish/Modules/Pester/Functions/Assertions/PesterThrow.ps1: line 9 9: throw (New-Object -TypeName ArgumentNullException -ArgumentList "ActualValue","Scriptblock not found. Input to 'Throw' and 'Not Throw' must be enclosed in curly braces.") ParameterizedSuiteName : Result : Failed ErrorRecord : Scriptblock not found. Input to 'Throw' and 'Not Throw' must be enclosed in curly braces. Parameter name: ActualValue Show : All Parameters : {} Name : Should be able to remove a script variable created using the script switch Passed : False Describe : Remove-Variable Time : 00:00:00.0603880 FailureMessage : Scriptblock not found. Input to 'Throw' and 'Not Throw' must be enclosed in curly braces. Parameter name: ActualValue Context : Scope Tests StackTrace : at <ScriptBlock>, /home/vagrant/PowerShell/src/powershell-unix/bin/Linux/netcoreapp2.0/linux-x64/publish/Modules/Pester/Functions/Assertions/PesterThrow.ps1: line 9 9: throw (New-Object -TypeName ArgumentNullException -ArgumentList "ActualValue","Scriptblock not found. Input to 'Throw' and 'Not Throw' must be enclosed in curly braces.") ParameterizedSuiteName : Result : Failed ErrorRecord : Scriptblock not found. Input to 'Throw' and 'Not Throw' must be enclosed in curly braces. Parameter name: ActualValue Show : All Parameters : {} Name : Should not be able to remove a global script variable that was created using the script scope switch Passed : False Describe : Remove-Variable Time : 00:00:00.0666053 FailureMessage : Expected {11 12 13}, but got {11 11 12 12 13 13}. Context : StackTrace : at <ScriptBlock>, /home/vagrant/PowerShell/test/powershell/Modules/Microsoft.PowerShell.Utility/Set-PSBreakpoint.Tests.ps1: line 70 70: $brk.Line | Should Be 11,12,13 ParameterizedSuiteName : Result : Failed ErrorRecord : Expected {11 12 13}, but got {11 11 12 12 13 13}. Show : All Parameters : {} Name : -script and -line can take multiple items Passed : False Describe : Set-PSBreakpoint DRT Unit Tests Time : 00:00:00.2342417 FailureMessage : Scriptblock not found. Input to 'Throw' and 'Not Throw' must be enclosed in curly braces. Parameter name: ActualValue Context : StackTrace : at <ScriptBlock>, /home/vagrant/PowerShell/src/powershell-unix/bin/Linux/netcoreapp2.0/linux-x64/publish/Modules/Pester/Functions/Assertions/PesterThrow.ps1: line 9 9: throw (New-Object -TypeName ArgumentNullException -ArgumentList "ActualValue","Scriptblock not found. Input to 'Throw' and 'Not Throw' must be enclosed in curly braces.") ParameterizedSuiteName : Result : Failed ErrorRecord : Scriptblock not found. Input to 'Throw' and 'Not Throw' must be enclosed in curly braces. Parameter name: ActualValue Show : All Parameters : {} Name : Should be able to throw Passed : False Describe : Write-Error Tests Time : 00:00:00.1885182 FailureMessage : Expected {1 2.2 System.Object[] abc}, but got {1 2.2 System.Object[] abc}. Context : StackTrace : at <ScriptBlock>, /home/vagrant/PowerShell/test/powershell/Modules/Microsoft.PowerShell.Utility/Write-Output.Tests.ps1: line 19 19: Write-Output $objectWritten -NoEnumerate 6>&1 | Should be '1 2.2 System.Object[] abc' ParameterizedSuiteName : Result : Failed ErrorRecord : Expected {1 2.2 System.Object[] abc}, but got {1 2.2 System.Object[] abc}. Show : All Parameters : {} Name : Works with NoEnumerate switch Passed : False Describe : Write-Output DRT Unit Tests Time : 00:00:00.2312742 FailureMessage : Expected {True}, but got { Write-Error "Testing Error" 2>&1 > $targetfile $result = Get-OutputResults $targetfile # The contents of the error stream should contain the expected text $result -match ": Testing Error" | Should Be $true : Testing Error At /home/vagrant/PowerShell/src/powershell-unix/bin/Linux/netcoreapp2.0/linux-x64/publish/Modules/Pester/Functions/It.ps1:259 char:29 + $null = & $ScriptBlock @Parameters + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException $result -match ": Testing Error" | Should Be $true : Testing Error}. Context : Redirect Stream Tests StackTrace : at <ScriptBlock>, /home/vagrant/PowerShell/test/powershell/Modules/Microsoft.PowerShell.Utility/Write-Stream.Tests.ps1: line 42 42: $result -match ": Testing Error" | Should Be $true ParameterizedSuiteName : Result : Failed ErrorRecord : Expected {True}, but got { Write-Error "Testing Error" 2>&1 > $targetfile $result = Get-OutputResults $targetfile # The contents of the error stream should contain the expected text $result -match ": Testing Error" | Should Be $true : Testing Error At /home/vagrant/PowerShell/src/powershell-unix/bin/Linux/netcoreapp2.0/linux-x64/publish/Modules/Pester/Functions/It.ps1:259 char:29 + $null = & $ScriptBlock @Parameters + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException $result -match ": Testing Error" | Should Be $true : Testing Error}. Show : All Parameters : {} Name : Should write error messages to the error stream Passed : False Describe : Stream writer tests Time : 00:00:00.9007049 FailureMessage : Expected {True}, but got {Debug message Debug message}. Context : Redirect Stream Tests StackTrace : at <ScriptBlock>, /home/vagrant/PowerShell/test/powershell/Modules/Microsoft.PowerShell.Utility/Write-Stream.Tests.ps1: line 51 51: $result -match "Debug Message" | Should Be $true ParameterizedSuiteName : Result : Failed ErrorRecord : Expected {True}, but got {Debug message Debug message}. Show : All Parameters : {} Name : Should write debug messages to the debug stream Passed : False Describe : Stream writer tests Time : 00:00:00.4158399 FailureMessage : Expected {True}, but got {Verbose message Verbose message}. Context : Redirect Stream Tests StackTrace : at <ScriptBlock>, /home/vagrant/PowerShell/test/powershell/Modules/Microsoft.PowerShell.Utility/Write-Stream.Tests.ps1: line 60 60: $result -match "Verbose Message" | Should Be $true ParameterizedSuiteName : Result : Failed ErrorRecord : Expected {True}, but got {Verbose message Verbose message}. Show : All Parameters : {} Name : Should write messages to the verbose stream Passed : False Describe : Stream writer tests Time : 00:00:00.4524506 FailureMessage : Argument 'Register-PackageSource' is not recognized as a cmdlet: Could not load type 'Microsoft.OneGet.Packaging.OptionCategory' from assembly 'Microsoft.OneGet, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. Context : StackTrace : At /home/vagrant/PowerShell/test/powershell/Modules/PackageManagement/PackageManagement.Tests.ps1:23 char:5 ParameterizedSuiteName : Result : Failed ErrorRecord : Argument 'Register-PackageSource' is not recognized as a cmdlet: Could not load type 'Microsoft.OneGet.Packaging.OptionCategory' from assembly 'Microsoft.OneGet, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. Show : All Parameters : Name : Error occurred in Describe block Passed : False Describe : PackageManagement Acceptance Test Time : 00:00:00.6139454 FailureMessage : The term 'Get-InstalledModule' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. Context : StackTrace : At /home/vagrant/PowerShell/test/powershell/Modules/PowerShellGet/PowerShellGet.Tests.ps1:106 char:5 ParameterizedSuiteName : Result : Failed ErrorRecord : The term 'Get-InstalledModule' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. Show : All Parameters : Name : Error occurred in Describe block Passed : False Describe : PowerShellGet - Module tests Time : 00:00:00.5495733 FailureMessage : The term 'Get-InstalledModule' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. Context : StackTrace : At /home/vagrant/PowerShell/test/powershell/Modules/PowerShellGet/PowerShellGet.Tests.ps1:106 char:5 ParameterizedSuiteName : Result : Failed ErrorRecord : The term 'Get-InstalledModule' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. Show : All Parameters : Name : Error occurred in Describe block Passed : False Describe : PowerShellGet - Module tests (Admin) Time : 00:00:00.5950938 FailureMessage : The term 'Get-InstalledScript' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. Context : StackTrace : At /home/vagrant/PowerShell/test/powershell/Modules/PowerShellGet/PowerShellGet.Tests.ps1:180 char:5 ParameterizedSuiteName : Result : Failed ErrorRecord : The term 'Get-InstalledScript' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. Show : All Parameters : Name : Error occurred in Describe block Passed : False Describe : PowerShellGet - Script tests Time : 00:00:00.5939971 FailureMessage : The term 'Get-InstalledScript' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. Context : StackTrace : At /home/vagrant/PowerShell/test/powershell/Modules/PowerShellGet/PowerShellGet.Tests.ps1:180 char:5 ParameterizedSuiteName : Result : Failed ErrorRecord : The term 'Get-InstalledScript' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. Show : All Parameters : Name : Error occurred in Describe block Passed : False Describe : PowerShellGet - Script tests (Admin) Time : 00:00:00.5748949 FailureMessage : Expected {InternalWebProxy}, but got {}. Context : StackTrace : at <ScriptBlock>, /home/vagrant/PowerShell/test/powershell/Modules/PowerShellGet/PowerShellGet.Tests.ps1: line 270 270: $Type | Select-Object -ExpandProperty Name | Should Be $ClassName ParameterizedSuiteName : Result : Failed ErrorRecord : Expected {InternalWebProxy}, but got {}. Show : All Parameters : {} Name : Ensure PowerShellGet Types are available Passed : False Describe : PowerShellGet Type tests This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,360 @@ Describe : Get-Help -Online opens the default web browser and navigates to the cmdlet help content Context : Name : Get-Help get-process -online Result : Failed Passed : False Time : 00:00:00.1387052 FailureMessage : Expected: the expression not to throw an exception. Message was {Starting a browser to display online Help failed. No program or browser is associated to open the URI https://go.microsoft.com/fwlink/?LinkID=113324.} from /home/vagrant/PowerShell/test/powershell/engine/Help/HelpSystem.OnlineHelp.Tests.ps1:83 char:11 + { Get-Help get-process -online } | Should Not Throw + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ StackTrace : at line: 83 in /home/vagrant/PowerShell/test/powershell/engine/Help/HelpSystem.OnlineHelp.Tests.ps1 83: { Get-Help get-process -online } | Should Not Throw ParameterizedSuiteName : Parameters : {} Describe : TabCompletion Context : Miscellaneous completion tests Name : Input 'gmo -list PackageM' should successfully complete Result : Failed Passed : False Time : 00:00:00.0447257 FailureMessage : Expected {0} to be greater than {0} StackTrace : at line: 447 in /home/vagrant/PowerShell/test/powershell/Host/TabCompletion/TabCompletion.Tests.ps1 447: $res.CompletionMatches.Count | Should BeGreaterThan 0 ParameterizedSuiteName : Input '<inputStr>' should successfully complete Parameters : {expected, setup, inputStr} Describe : TabCompletion Context : Miscellaneous completion tests Name : Input 'gcm -Module PackageManagement Find-Pac' should successfully complete Result : Failed Passed : False Time : 00:00:00.0494302 FailureMessage : Expected {0} to be greater than {0} StackTrace : at line: 447 in /home/vagrant/PowerShell/test/powershell/Host/TabCompletion/TabCompletion.Tests.ps1 447: $res.CompletionMatches.Count | Should BeGreaterThan 0 ParameterizedSuiteName : Input '<inputStr>' should successfully complete Parameters : {expected, setup, inputStr} Describe : TabCompletion Context : Miscellaneous completion tests Name : Input 'ipmo PackageM' should successfully complete Result : Failed Passed : False Time : 00:00:00.0484651 FailureMessage : Expected {0} to be greater than {0} StackTrace : at line: 447 in /home/vagrant/PowerShell/test/powershell/Host/TabCompletion/TabCompletion.Tests.ps1 447: $res.CompletionMatches.Count | Should BeGreaterThan 0 ParameterizedSuiteName : Input '<inputStr>' should successfully complete Parameters : {expected, setup, inputStr} Describe : PSVersionTable Context : Name : GitCommitId property Result : Failed Passed : False Time : 00:00:00.0423804 FailureMessage : Expected: {v6.0.0-125-ga07cc49809c83c139832885305d58f01d8e1c250} to match the expression {^v(\d+\.\d+\.\d+)-(.+)-(\d+)-g(.+)$} StackTrace : at line: 51 in /home/vagrant/PowerShell/test/powershell/Host/PSVersionTable.Tests.ps1 51: $PSVersionTable.GitCommitId | Should Match $expectedGitCommitIdPattern ParameterizedSuiteName : Parameters : {} Describe : Get-ChildItem Context : FileSystem provider Name : Should list the contents of the home directory Result : Failed Passed : False Time : 00:00:00.0455185 FailureMessage : Expected {0} to be greater than {0} StackTrace : at line: 29 in /home/vagrant/PowerShell/test/powershell/Modules/Microsoft.PowerShell.Management/Get-ChildItem.Tests.ps1 29: (Get-ChildItem .).Name.Length | Should BeGreaterThan 0 ParameterizedSuiteName : Parameters : {} Describe : Get-ChildItem Context : FileSystem provider Name : Should have a the proper fields and be populated Result : Failed Passed : False Time : 00:00:00.0801013 FailureMessage : Expected {0} to be greater than {0} StackTrace : at line: 36 in /home/vagrant/PowerShell/test/powershell/Modules/Microsoft.PowerShell.Management/Get-ChildItem.Tests.ps1 36: $var.Name.Length | Should BeGreaterThan 0 ParameterizedSuiteName : Parameters : {} Describe : New-Item with links Context : Name : Should error correctly when failing to create a symbolic link Result : Failed Passed : False Time : 00:00:00.0718152 FailureMessage : Expected string length 81 but was 12. Strings differ at index 0. Expected: {NewItemSymbolicLinkElevationRequired,Microsoft.PowerShell.Commands.NewItemCommand} But was: {Execution OK} -----------^ StackTrace : at line: 186 in /home/vagrant/PowerShell/test/powershell/Modules/Microsoft.PowerShell.Management/New-Item.Tests.ps1 186: $_.FullyQualifiedErrorId | Should Be "NewItemSymbolicLinkElevationRequired,Microsoft.PowerShell.Commands.NewItemCommand" ParameterizedSuiteName : Parameters : {} Describe : Export-Alias DRT Unit Tests Context : Name : Export-Alias for Force ReadOnly Test Result : Failed Passed : False Time : 00:00:00.0855233 FailureMessage : Expected string length 64 but was 13. Strings differ at index 0. Expected: {FileOpenFailure,Microsoft.PowerShell.Commands.ExportAliasCommand} But was: {No Exception!} -----------^ StackTrace : at line: 124 in /home/vagrant/PowerShell/test/powershell/Modules/Microsoft.PowerShell.Utility/Export-Alias.Tests.ps1 124: $_.FullyQualifiedErrorId | Should be "FileOpenFailure,Microsoft.PowerShell.Commands.ExportAliasCommand" ParameterizedSuiteName : Parameters : {} Describe : Group-Object Context : Name : Should return three columns- count, name, and group Result : Failed Passed : False Time : 00:00:00.0338269 FailureMessage : Expected {0} to be greater than {0} StackTrace : at line: 31 in /home/vagrant/PowerShell/test/powershell/Modules/Microsoft.PowerShell.Utility/Group-Object.Tests.ps1 31: $actual.Count | Should BeGreaterThan 0 ParameterizedSuiteName : Parameters : {} Describe : Group-Object Context : Name : Should create a collection when the inputObject parameter is used Result : Failed Passed : False Time : 00:00:00.0364252 FailureMessage : You cannot call a method on a null-valued expression. StackTrace : at line: 42 in /home/vagrant/PowerShell/test/powershell/Modules/Microsoft.PowerShell.Utility/Group-Object.Tests.ps1 ParameterizedSuiteName : Parameters : {} Describe : Group-Object Context : Name : Should return object of 'GroupInfo' type Result : Failed Passed : False Time : 00:00:00.0568166 FailureMessage : Expected: to be of type [Microsoft.PowerShell.Commands.GroupInfo] StackTrace : at line: 47 in /home/vagrant/PowerShell/test/powershell/Modules/Microsoft.PowerShell.Utility/Group-Object.Tests.ps1 47: $actualParam | Should BeOfType "Microsoft.PowerShell.Commands.GroupInfo" ParameterizedSuiteName : Parameters : {} Describe : Group-Object Context : Name : Should output an array when piped input is used Result : Failed Passed : False Time : 00:00:00.0532588 FailureMessage : Expected: to be of type [array] StackTrace : at line: 53 in /home/vagrant/PowerShell/test/powershell/Modules/Microsoft.PowerShell.Utility/Group-Object.Tests.ps1 53: ,$actual | Should BeOfType "System.Array" ParameterizedSuiteName : Parameters : {} Describe : Group-Object Context : Name : Should have the same output between the group alias and the group-object cmdlet Result : Failed Passed : False Time : 00:00:00.0459264 FailureMessage : Cannot index into a null array. StackTrace : at line: 60 in /home/vagrant/PowerShell/test/powershell/Modules/Microsoft.PowerShell.Utility/Group-Object.Tests.ps1 ParameterizedSuiteName : Parameters : {} Describe : Group-Object Context : Name : Should be able to use the property switch without error Result : Failed Passed : False Time : 00:00:00.0713629 FailureMessage : Expected {0} to be greater than {0} StackTrace : at line: 69 in /home/vagrant/PowerShell/test/powershell/Modules/Microsoft.PowerShell.Utility/Group-Object.Tests.ps1 69: $actual.Group.Count | Should BeGreaterThan 0 ParameterizedSuiteName : Parameters : {} Describe : Group-Object Context : Name : Should be able to use the property switch on multiple properties without error Result : Failed Passed : False Time : 00:00:00.0511167 FailureMessage : Expected {0} to be greater than {0} StackTrace : at line: 77 in /home/vagrant/PowerShell/test/powershell/Modules/Microsoft.PowerShell.Utility/Group-Object.Tests.ps1 77: $actual.Group.Count | Should BeGreaterThan 0 ParameterizedSuiteName : Parameters : {} Describe : Group-Object Context : Name : Should be able to output a hashtable datatype Result : Failed Passed : False Time : 00:00:00.0514949 FailureMessage : Expected: value to not be empty StackTrace : at line: 89 in /home/vagrant/PowerShell/test/powershell/Modules/Microsoft.PowerShell.Utility/Group-Object.Tests.ps1 89: $actual | Should Not BeNullOrEmpty ParameterizedSuiteName : Parameters : {} Describe : Group-Object Context : Name : Should be able to access when output as hash table Result : Failed Passed : False Time : 00:00:00.0653391 FailureMessage : Expected: value to not be empty StackTrace : at line: 96 in /home/vagrant/PowerShell/test/powershell/Modules/Microsoft.PowerShell.Utility/Group-Object.Tests.ps1 96: $actual.Keys | Should Not BeNullOrEmpty ParameterizedSuiteName : Parameters : {} Describe : Group-Object Context : Name : Should throw when attempting to use AsString without AsHashTable Result : Failed Passed : False Time : 00:00:00.0628594 FailureMessage : Expected: the expression to throw an exception StackTrace : at line: 100 in /home/vagrant/PowerShell/test/powershell/Modules/Microsoft.PowerShell.Utility/Group-Object.Tests.ps1 100: { $testObject | Group-Object -AsString } | Should Throw ParameterizedSuiteName : Parameters : {} Describe : PackageManagement Acceptance Test Context : Name : Error occurred in Describe block Result : Failed Passed : False Time : 00:00:00.3381579 FailureMessage : The term 'Register-PackageSource' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. StackTrace : At /home/vagrant/PowerShell/test/powershell/Modules/PackageManagement/PackageManagement.Tests.ps1:23 char:5 ParameterizedSuiteName : Parameters : Describe : PowerShellGet - Module tests Context : Name : Error occurred in Describe block Result : Failed Passed : False Time : 00:00:00.6379297 FailureMessage : The term 'Get-PackageProvider' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. StackTrace : At /home/vagrant/PowerShell/test/powershell/Modules/PowerShellGet/PowerShellGet.Tests.ps1:87 char:5 ParameterizedSuiteName : Parameters : Describe : PowerShellGet - Module tests Context : Name : Error occurred at At /home/vagrant/PowerShell/test/powershell/Modules/PowerShellGet/PowerShellGet.Tests.ps1:106 char:5 Result : Failed Passed : False Time : 00:00:00.1577756 FailureMessage : The term 'Get-InstalledModule' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. StackTrace : At /home/vagrant/PowerShell/test/powershell/Modules/PowerShellGet/PowerShellGet.Tests.ps1:106 char:5 ParameterizedSuiteName : Parameters : Describe : PowerShellGet - Module tests (Admin) Context : Name : Error occurred in Describe block Result : Failed Passed : False Time : 00:00:00.8789157 FailureMessage : The term 'Get-PackageProvider' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. StackTrace : At /home/vagrant/PowerShell/test/powershell/Modules/PowerShellGet/PowerShellGet.Tests.ps1:87 char:5 ParameterizedSuiteName : Parameters : Describe : PowerShellGet - Module tests (Admin) Context : Name : Error occurred at At /home/vagrant/PowerShell/test/powershell/Modules/PowerShellGet/PowerShellGet.Tests.ps1:106 char:5 Result : Failed Passed : False Time : 00:00:00.1479684 FailureMessage : The term 'Get-InstalledModule' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. StackTrace : At /home/vagrant/PowerShell/test/powershell/Modules/PowerShellGet/PowerShellGet.Tests.ps1:106 char:5 ParameterizedSuiteName : Parameters : Describe : PowerShellGet - Script tests Context : Name : Error occurred in Describe block Result : Failed Passed : False Time : 00:00:00.3857995 FailureMessage : The term 'Get-PackageProvider' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. StackTrace : At /home/vagrant/PowerShell/test/powershell/Modules/PowerShellGet/PowerShellGet.Tests.ps1:87 char:5 ParameterizedSuiteName : Parameters : Describe : PowerShellGet - Script tests Context : Name : Error occurred at At /home/vagrant/PowerShell/test/powershell/Modules/PowerShellGet/PowerShellGet.Tests.ps1:180 char:5 Result : Failed Passed : False Time : 00:00:00.1302629 FailureMessage : The term 'Get-InstalledScript' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. StackTrace : At /home/vagrant/PowerShell/test/powershell/Modules/PowerShellGet/PowerShellGet.Tests.ps1:180 char:5 ParameterizedSuiteName : Parameters : Describe : PowerShellGet - Script tests (Admin) Context : Name : Error occurred in Describe block Result : Failed Passed : False Time : 00:00:00.4312756 FailureMessage : The term 'Get-PackageProvider' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. StackTrace : At /home/vagrant/PowerShell/test/powershell/Modules/PowerShellGet/PowerShellGet.Tests.ps1:87 char:5 ParameterizedSuiteName : Parameters : Describe : PowerShellGet - Script tests (Admin) Context : Name : Error occurred at At /home/vagrant/PowerShell/test/powershell/Modules/PowerShellGet/PowerShellGet.Tests.ps1:180 char:5 Result : Failed Passed : False Time : 00:00:00.1289391 FailureMessage : The term 'Get-InstalledScript' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. StackTrace : At /home/vagrant/PowerShell/test/powershell/Modules/PowerShellGet/PowerShellGet.Tests.ps1:180 char:5 ParameterizedSuiteName : Parameters : Describe : PowerShellGet Type tests Context : Name : Ensure PowerShellGet Types are available Result : Failed Passed : False Time : 00:00:00.5301446 FailureMessage : Expected: {InternalWebProxy} But was: {} StackTrace : at line: 270 in /home/vagrant/PowerShell/test/powershell/Modules/PowerShellGet/PowerShellGet.Tests.ps1 270: $Type | Select-Object -ExpandProperty Name | Should Be $ClassName ParameterizedSuiteName : Parameters : {}