Delete .vscode/settings.json #93
Action Base Tests (On Windows)
This run completed at 10/18/2024 15:03:18
Details
Test Report: Action Base Tests (On Windows)
- Date: 2024-10-18
- Time: 15:03:15
Expand the following summaries for more details:
Environment:
Env | |
---|---|
user : |
runneradmin |
cwd : |
D:\a\secret-scanning-review-action\secret-scanning-review-action |
os-version : |
10.0.20348 |
user-domain : |
fv-az980-960 |
machine-name : |
fv-az980-960 |
nunit-version : |
2.5.8.0 |
clr-version : |
8.0.8 |
platform : |
`Microsoft Windows Server 2022 Datacenter |
Outcome: | Total Tests: 26 | Passed: 16 | Failed: 9
Counters | |
---|---|
Total: | 26 |
Errors: | 0 |
Failures: | 9 |
Not-run: | 1 |
Inconclusive: | 0 |
Ignored: | 0 |
Skipped: | 0 |
Invalid: | 0 |
Tests:
/ Pester / D:\a\secret-scanning-review-action\secret-scanning-review-action\tests\GitHubActions_tests.ps1 / Set-ActionVariable / Set-ActionVariable.Given valid -Name and -Value, and -SkipLocal
❌ Set-ActionVariable.Given valid -Name and -Value, and -SkipLocal("varName1","varValue1")
Given valid -Name and -Value, and -SkipLocal
Parent: | / Pester / D:\a\secret-scanning-review-action\secret-scanning-review-action\tests\GitHubActions_tests.ps1 / Set-ActionVariable / Set-ActionVariable.Given valid -Name and -Value, and -SkipLocal |
Name: | Set-ActionVariable.Given valid -Name and -Value, and -SkipLocal("varName1","varValue1") |
Outcome: | Failure ❌ |
Time: | 0.1449 seconds |
Error Message:
Expected '::set-env name=varName1::varValue1
', but got $null.
Error Stack Trace:
at $output | Should -Be $Expected, D:\a\secret-scanning-review-action\secret-scanning-review-action\tests\GitHubActions_tests.ps1:22
at <ScriptBlock>, D:\a\secret-scanning-review-action\secret-scanning-review-action\tests\GitHubActions_tests.ps1:22
❌ Set-ActionVariable.Given valid -Name and -Value, and -SkipLocal("var name 2","var value 2")
Given valid -Name and -Value, and -SkipLocal
Parent: | / Pester / D:\a\secret-scanning-review-action\secret-scanning-review-action\tests\GitHubActions_tests.ps1 / Set-ActionVariable / Set-ActionVariable.Given valid -Name and -Value, and -SkipLocal |
Name: | Set-ActionVariable.Given valid -Name and -Value, and -SkipLocal("var name 2","var value 2") |
Outcome: | Failure ❌ |
Time: | 0.0151 seconds |
Error Message:
Expected '::set-env name=var name 2::var value 2
', but got $null.
Error Stack Trace:
at $output | Should -Be $Expected, D:\a\secret-scanning-review-action\secret-scanning-review-action\tests\GitHubActions_tests.ps1:22
at <ScriptBlock>, D:\a\secret-scanning-review-action\secret-scanning-review-action\tests\GitHubActions_tests.ps1:22
❌ Set-ActionVariable.Given valid -Name and -Value, and -SkipLocal("var,name;3","::set-env name=var%2Cname%3B3::var,value;3 ","var,value;3")
Given valid -Name and -Value, and -SkipLocal
Parent: | / Pester / D:\a\secret-scanning-review-action\secret-scanning-review-action\tests\GitHubActions_tests.ps1 / Set-ActionVariable / Set-ActionVariable.Given valid -Name and -Value, and -SkipLocal |
Name: | `Set-ActionVariable.Given valid -Name and -Value, and -SkipLocal("var,name;3","::set-env name=var%2Cname%3B3::var,value;3 |
","var,value;3")` | |
Outcome: | Failure ❌ |
Time: | 0.0121 seconds |
Error Message:
Expected '::set-env name=var%2Cname%3B3::var,value;3
', but got $null.
Error Stack Trace:
at $output | Should -Be $Expected, D:\a\secret-scanning-review-action\secret-scanning-review-action\tests\GitHubActions_tests.ps1:22
at <ScriptBlock>, D:\a\secret-scanning-review-action\secret-scanning-review-action\tests\GitHubActions_tests.ps1:22
/ Pester / D:\a\secret-scanning-review-action\secret-scanning-review-action\tests\GitHubActions_tests.ps1 / Set-ActionVariable / Set-ActionVariable.Given valid -Name and -Value, and NOT -SkipLocal
❌ Set-ActionVariable.Given valid -Name and -Value, and NOT -SkipLocal("varName1","varValue1")
Given valid -Name and -Value, and NOT -SkipLocal
Parent: | / Pester / D:\a\secret-scanning-review-action\secret-scanning-review-action\tests\GitHubActions_tests.ps1 / Set-ActionVariable / Set-ActionVariable.Given valid -Name and -Value, and NOT -SkipLocal |
Name: | Set-ActionVariable.Given valid -Name and -Value, and NOT -SkipLocal("varName1","varValue1") |
Outcome: | Failure ❌ |
Time: | 0.0416 seconds |
Error Message:
Expected '::set-env name=varName1::varValue1
', but got $null.
Error Stack Trace:
at Set-ActionVariable $Name $Value | Should -Be $Expected, D:\a\secret-scanning-review-action\secret-scanning-review-action\tests\GitHubActions_tests.ps1:32
at <ScriptBlock>, D:\a\secret-scanning-review-action\secret-scanning-review-action\tests\GitHubActions_tests.ps1:32
❌ Set-ActionVariable.Given valid -Name and -Value, and NOT -SkipLocal("var name 2","var value 2")
Given valid -Name and -Value, and NOT -SkipLocal
Parent: | / Pester / D:\a\secret-scanning-review-action\secret-scanning-review-action\tests\GitHubActions_tests.ps1 / Set-ActionVariable / Set-ActionVariable.Given valid -Name and -Value, and NOT -SkipLocal |
Name: | Set-ActionVariable.Given valid -Name and -Value, and NOT -SkipLocal("var name 2","var value 2") |
Outcome: | Failure ❌ |
Time: | 0.0176 seconds |
Error Message:
Expected '::set-env name=var name 2::var value 2
', but got $null.
Error Stack Trace:
at Set-ActionVariable $Name $Value | Should -Be $Expected, D:\a\secret-scanning-review-action\secret-scanning-review-action\tests\GitHubActions_tests.ps1:32
at <ScriptBlock>, D:\a\secret-scanning-review-action\secret-scanning-review-action\tests\GitHubActions_tests.ps1:32
❌ Set-ActionVariable.Given valid -Name and -Value, and NOT -SkipLocal("var,name;3","::set-env name=var%2Cname%3B3::var,value;3 ","var,value;3")
Given valid -Name and -Value, and NOT -SkipLocal
Parent: | / Pester / D:\a\secret-scanning-review-action\secret-scanning-review-action\tests\GitHubActions_tests.ps1 / Set-ActionVariable / Set-ActionVariable.Given valid -Name and -Value, and NOT -SkipLocal |
Name: | `Set-ActionVariable.Given valid -Name and -Value, and NOT -SkipLocal("var,name;3","::set-env name=var%2Cname%3B3::var,value;3 |
","var,value;3")` | |
Outcome: | Failure ❌ |
Time: | 0.0139 seconds |
Error Message:
Expected '::set-env name=var%2Cname%3B3::var,value;3
', but got $null.
Error Stack Trace:
at Set-ActionVariable $Name $Value | Should -Be $Expected, D:\a\secret-scanning-review-action\secret-scanning-review-action\tests\GitHubActions_tests.ps1:32
at <ScriptBlock>, D:\a\secret-scanning-review-action\secret-scanning-review-action\tests\GitHubActions_tests.ps1:32
/ Pester / D:\a\secret-scanning-review-action\secret-scanning-review-action\tests\GitHubActions_tests.ps1 / Add-ActionSecretMask
✔️ Add-ActionSecretMask.Given a valid -Secret
Given a valid -Secret
Parent: | / Pester / D:\a\secret-scanning-review-action\secret-scanning-review-action\tests\GitHubActions_tests.ps1 / Add-ActionSecretMask |
Name: | Add-ActionSecretMask.Given a valid -Secret |
Outcome: | Success ✔️ |
Time: | 0.0133 seconds |
/ Pester / D:\a\secret-scanning-review-action\secret-scanning-review-action\tests\GitHubActions_tests.ps1 / Add-ActionPath
❌ Add-ActionPath.Given a valid -Path and -SkipLocal
Given a valid -Path and -SkipLocal
Parent: | / Pester / D:\a\secret-scanning-review-action\secret-scanning-review-action\tests\GitHubActions_tests.ps1 / Add-ActionPath |
Name: | Add-ActionPath.Given a valid -Path and -SkipLocal |
Outcome: | Failure ❌ |
Time: | 0.0116 seconds |
Error Message:
Expected '::add-path::/to/some/path
', but got $null.
Error Stack Trace:
at Add-ActionPath $addPath -SkipLocal | Should -Be "::add-path::$($addPath)$EOL", D:\a\secret-scanning-review-action\secret-scanning-review-action\tests\GitHubActions_tests.ps1:48
at <ScriptBlock>, D:\a\secret-scanning-review-action\secret-scanning-review-action\tests\GitHubActions_tests.ps1:48
❌ Add-ActionPath.Given a valid -Path and NOT -SkipLocal
Given a valid -Path and NOT -SkipLocal
Parent: | / Pester / D:\a\secret-scanning-review-action\secret-scanning-review-action\tests\GitHubActions_tests.ps1 / Add-ActionPath |
Name: | Add-ActionPath.Given a valid -Path and NOT -SkipLocal |
Outcome: | Failure ❌ |
Time: | 0.0141 seconds |
Error Message:
Expected '::add-path::/to/some/path
', but got $null.
Error Stack Trace:
at Add-ActionPath $addPath | Should -Be "::add-path::$($addPath)$EOL", D:\a\secret-scanning-review-action\secret-scanning-review-action\tests\GitHubActions_tests.ps1:56
at <ScriptBlock>, D:\a\secret-scanning-review-action\secret-scanning-review-action\tests\GitHubActions_tests.ps1:56
/ Pester / D:\a\secret-scanning-review-action\secret-scanning-review-action\tests\GitHubActions_tests.ps1 / Get-ActionInput / Get-ActionInput.Given valid -Name
✔️ Get-ActionInput.Given valid -Name("input1",System.Collections.Hashtable)
Given valid -Name
Parent: | / Pester / D:\a\secret-scanning-review-action\secret-scanning-review-action\tests\GitHubActions_tests.ps1 / Get-ActionInput / Get-ActionInput.Given valid -Name |
Name: | Get-ActionInput.Given valid -Name("input1",System.Collections.Hashtable) |
Outcome: | Success ✔️ |
Time: | 0.0177 seconds |
✔️ Get-ActionInput.Given valid -Name("INPUT1",System.Collections.Hashtable)
Given valid -Name
Parent: | / Pester / D:\a\secret-scanning-review-action\secret-scanning-review-action\tests\GitHubActions_tests.ps1 / Get-ActionInput / Get-ActionInput.Given valid -Name |
Name: | Get-ActionInput.Given valid -Name("INPUT1",System.Collections.Hashtable) |
Outcome: | Success ✔️ |
Time: | 0.0101 seconds |
✔️ Get-ActionInput.Given valid -Name("Input1",System.Collections.Hashtable)
Given valid -Name
Parent: | / Pester / D:\a\secret-scanning-review-action\secret-scanning-review-action\tests\GitHubActions_tests.ps1 / Get-ActionInput / Get-ActionInput.Given valid -Name |
Name: | Get-ActionInput.Given valid -Name("Input1",System.Collections.Hashtable) |
Outcome: | Success ✔️ |
Time: | 0.0092 seconds |
✔️ Get-ActionInput.Given valid -Name("input2",System.Collections.Hashtable)
Given valid -Name
Parent: | / Pester / D:\a\secret-scanning-review-action\secret-scanning-review-action\tests\GitHubActions_tests.ps1 / Get-ActionInput / Get-ActionInput.Given valid -Name |
Name: | Get-ActionInput.Given valid -Name("input2",System.Collections.Hashtable) |
Outcome: | Success ✔️ |
Time: | 0.0182 seconds |
✔️ Get-ActionInput.Given valid -Name("INPUT2",System.Collections.Hashtable)
Given valid -Name
Parent: | / Pester / D:\a\secret-scanning-review-action\secret-scanning-review-action\tests\GitHubActions_tests.ps1 / Get-ActionInput / Get-ActionInput.Given valid -Name |
Name: | Get-ActionInput.Given valid -Name("INPUT2",System.Collections.Hashtable) |
Outcome: | Success ✔️ |
Time: | 0.0068 seconds |
✔️ Get-ActionInput.Given valid -Name("Input2",System.Collections.Hashtable)
Given valid -Name
Parent: | / Pester / D:\a\secret-scanning-review-action\secret-scanning-review-action\tests\GitHubActions_tests.ps1 / Get-ActionInput / Get-ActionInput.Given valid -Name |
Name: | Get-ActionInput.Given valid -Name("Input2",System.Collections.Hashtable) |
Outcome: | Success ✔️ |
Time: | 0.0069 seconds |
/ Pester / D:\a\secret-scanning-review-action\secret-scanning-review-action\tests\GitHubActions_tests.ps1 / Get-ActionInputs / Get-ActionInputs.Given 2 predefined inputs, and a -Name in any case
✔️ Get-ActionInputs.Given 2 predefined inputs, and a -Name in any case("InPut1",System.Collections.Hashtable)
Given 2 predefined inputs, and a -Name in any case
Parent: | / Pester / D:\a\secret-scanning-review-action\secret-scanning-review-action\tests\GitHubActions_tests.ps1 / Get-ActionInputs / Get-ActionInputs.Given 2 predefined inputs, and a -Name in any case |
Name: | Get-ActionInputs.Given 2 predefined inputs, and a -Name in any case("InPut1",System.Collections.Hashtable) |
Outcome: | Success ✔️ |
Time: | 0.0409 seconds |
✔️ Get-ActionInputs.Given 2 predefined inputs, and a -Name in any case("InPut2",System.Collections.Hashtable)
Given 2 predefined inputs, and a -Name in any case
Parent: | / Pester / D:\a\secret-scanning-review-action\secret-scanning-review-action\tests\GitHubActions_tests.ps1 / Get-ActionInputs / Get-ActionInputs.Given 2 predefined inputs, and a -Name in any case |
Name: | Get-ActionInputs.Given 2 predefined inputs, and a -Name in any case("InPut2",System.Collections.Hashtable) |
Outcome: | Success ✔️ |
Time: | 0.0385 seconds |
✔️ Get-ActionInputs.Given 2 predefined inputs, and a -Name in any case("InPut3",System.Collections.Hashtable)
Given 2 predefined inputs, and a -Name in any case
Parent: | / Pester / D:\a\secret-scanning-review-action\secret-scanning-review-action\tests\GitHubActions_tests.ps1 / Get-ActionInputs / Get-ActionInputs.Given 2 predefined inputs, and a -Name in any case |
Name: | Get-ActionInputs.Given 2 predefined inputs, and a -Name in any case("InPut3",System.Collections.Hashtable) |
Outcome: | Success ✔️ |
Time: | 0.0217 seconds |
/ Pester / D:\a\secret-scanning-review-action\secret-scanning-review-action\tests\GitHubActions_tests.ps1 / Set-ActionOuput
❌ Set-ActionOuput.Given a valid -Name and -Value
Given a valid -Name and -Value
Parent: | / Pester / D:\a\secret-scanning-review-action\secret-scanning-review-action\tests\GitHubActions_tests.ps1 / Set-ActionOuput |
Name: | Set-ActionOuput.Given a valid -Name and -Value |
Outcome: | Failure ❌ |
Time: | 0.0985 seconds |
Error Message:
Expected '::set-output name=foo_bar::foo bar value
', but got $null.
Error Stack Trace:
at $output | Should -Be "::set-output name=foo_bar::foo bar value$EOL", D:\a\secret-scanning-review-action\secret-scanning-review-action\tests\GitHubActions_tests.ps1:123
at <ScriptBlock>, D:\a\secret-scanning-review-action\secret-scanning-review-action\tests\GitHubActions_tests.ps1:123
/ Pester / D:\a\secret-scanning-review-action\secret-scanning-review-action\tests\GitHubActions_tests.ps1 / Write-ActionDebug
✔️ Write-ActionDebug.Given a valid -Message
Given a valid -Message
Parent: | / Pester / D:\a\secret-scanning-review-action\secret-scanning-review-action\tests\GitHubActions_tests.ps1 / Write-ActionDebug |
Name: | Write-ActionDebug.Given a valid -Message |
Outcome: | Success ✔️ |
Time: | 0.0029 seconds |
/ Pester / D:\a\secret-scanning-review-action\secret-scanning-review-action\tests\GitHubActions_tests.ps1 / Write-ActionError
✔️ Write-ActionError.Given a valid -Message
Given a valid -Message
Parent: | / Pester / D:\a\secret-scanning-review-action\secret-scanning-review-action\tests\GitHubActions_tests.ps1 / Write-ActionError |
Name: | Write-ActionError.Given a valid -Message |
Outcome: | Success ✔️ |
Time: | 0.0287 seconds |
/ Pester / D:\a\secret-scanning-review-action\secret-scanning-review-action\tests\GitHubActions_tests.ps1 / Write-ActionWarning
✔️ Write-ActionWarning.Given a valid -Message
Given a valid -Message
Parent: | / Pester / D:\a\secret-scanning-review-action\secret-scanning-review-action\tests\GitHubActions_tests.ps1 / Write-ActionWarning |
Name: | Write-ActionWarning.Given a valid -Message |
Outcome: | Success ✔️ |
Time: | 0.0046 seconds |
/ Pester / D:\a\secret-scanning-review-action\secret-scanning-review-action\tests\GitHubActions_tests.ps1 / Write-ActionInfo
✔️ Write-ActionInfo.Given a valid -Message
Given a valid -Message
Parent: | / Pester / D:\a\secret-scanning-review-action\secret-scanning-review-action\tests\GitHubActions_tests.ps1 / Write-ActionInfo |
Name: | Write-ActionInfo.Given a valid -Message |
Outcome: | Success ✔️ |
Time: | 0.0034 seconds |
/ Pester / D:\a\secret-scanning-review-action\secret-scanning-review-action\tests\GitHubActions_tests.ps1 / Enter-ActionOutputGroup
✔️ Enter-ActionOutputGroup.Given a valid -Name
Given a valid -Name
Parent: | / Pester / D:\a\secret-scanning-review-action\secret-scanning-review-action\tests\GitHubActions_tests.ps1 / Enter-ActionOutputGroup |
Name: | Enter-ActionOutputGroup.Given a valid -Name |
Outcome: | Success ✔️ |
Time: | 0.0042 seconds |
/ Pester / D:\a\secret-scanning-review-action\secret-scanning-review-action\tests\GitHubActions_tests.ps1 / Exit-ActionOutputGroup
✔️ Exit-ActionOutputGroup.Given everything is peachy
Given everything is peachy
Parent: | / Pester / D:\a\secret-scanning-review-action\secret-scanning-review-action\tests\GitHubActions_tests.ps1 / Exit-ActionOutputGroup |
Name: | Exit-ActionOutputGroup.Given everything is peachy |
Outcome: | Success ✔️ |
Time: | 0.0031 seconds |
/ Pester / D:\a\secret-scanning-review-action\secret-scanning-review-action\tests\GitHubActions_tests.ps1 / Invoke-ActionWithinOutputGroup
✔️ Invoke-ActionWithinOutputGroup.Given a valid -Name and -ScriptBlock
Given a valid -Name and -ScriptBlock
Parent: | / Pester / D:\a\secret-scanning-review-action\secret-scanning-review-action\tests\GitHubActions_tests.ps1 / Invoke-ActionWithinOutputGroup |
Name: | Invoke-ActionWithinOutputGroup.Given a valid -Name and -ScriptBlock |
Outcome: | Success ✔️ |
Time: | 0.0062 seconds |