fixing output definition #112
Action Base Tests
This run completed at 11/21/2024 15:56:53
Details
Test Report: Action Base Tests
- Date: 2024-11-21
- Time: 15:56:51
Expand the following summaries for more details:
Environment:
Env | |
---|---|
user : |
runner |
cwd : |
/home/runner/work/secret-scanning-review-action/secret-scanning-review-action |
os-version : |
6.5.0-1025-azure |
user-domain : |
`` |
machine-name : |
fv-az1019-271 |
nunit-version : |
2.5.8.0 |
clr-version : |
8.0.10 |
platform : |
Linux |
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 / /home/runner/work/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("varValue1","varName1")
Given valid -Name and -Value, and -SkipLocal
Parent: | / Pester / /home/runner/work/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("varValue1","varName1") |
Outcome: | Failure ❌ |
Time: | 0.1965 seconds |
Error Message:
Expected '::set-env name=varName1::varValue1
', but got $null.
Error Stack Trace:
at $output | Should -Be $Expected, /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1:22
at <ScriptBlock>, /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1:22
❌ Set-ActionVariable.Given valid -Name and -Value, and -SkipLocal("var value 2","var name 2")
Given valid -Name and -Value, and -SkipLocal
Parent: | / Pester / /home/runner/work/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 value 2","var name 2") |
Outcome: | Failure ❌ |
Time: | 0.0221 seconds |
Error Message:
Expected '::set-env name=var name 2::var value 2
', but got $null.
Error Stack Trace:
at $output | Should -Be $Expected, /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1:22
at <ScriptBlock>, /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1:22
❌ Set-ActionVariable.Given valid -Name and -Value, and -SkipLocal("::set-env name=var%2Cname%3B3::var,value;3 ","var,value;3","var,name;3")
Given valid -Name and -Value, and -SkipLocal
Parent: | / Pester / /home/runner/work/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("::set-env name=var%2Cname%3B3::var,value;3 |
","var,value;3","var,name;3")` | |
Outcome: | Failure ❌ |
Time: | 0.018 seconds |
Error Message:
Expected '::set-env name=var%2Cname%3B3::var,value;3
', but got $null.
Error Stack Trace:
at $output | Should -Be $Expected, /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1:22
at <ScriptBlock>, /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1:22
/ Pester / /home/runner/work/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("varValue1","varName1")
Given valid -Name and -Value, and NOT -SkipLocal
Parent: | / Pester / /home/runner/work/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("varValue1","varName1") |
Outcome: | Failure ❌ |
Time: | 0.021 seconds |
Error Message:
Expected '::set-env name=varName1::varValue1
', but got $null.
Error Stack Trace:
at Set-ActionVariable $Name $Value | Should -Be $Expected, /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1:32
at <ScriptBlock>, /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1:32
❌ Set-ActionVariable.Given valid -Name and -Value, and NOT -SkipLocal("var value 2","var name 2")
Given valid -Name and -Value, and NOT -SkipLocal
Parent: | / Pester / /home/runner/work/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 value 2","var name 2") |
Outcome: | Failure ❌ |
Time: | 0.0212 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, /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1:32
at <ScriptBlock>, /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1:32
❌ Set-ActionVariable.Given valid -Name and -Value, and NOT -SkipLocal("::set-env name=var%2Cname%3B3::var,value;3 ","var,value;3","var,name;3")
Given valid -Name and -Value, and NOT -SkipLocal
Parent: | / Pester / /home/runner/work/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("::set-env name=var%2Cname%3B3::var,value;3 |
","var,value;3","var,name;3")` | |
Outcome: | Failure ❌ |
Time: | 0.028 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, /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1:32
at <ScriptBlock>, /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1:32
/ Pester / /home/runner/work/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 / /home/runner/work/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.0218 seconds |
/ Pester / /home/runner/work/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 / /home/runner/work/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.0241 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", /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1:48
at <ScriptBlock>, /home/runner/work/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 / /home/runner/work/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.0247 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", /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1:56
at <ScriptBlock>, /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1:56
/ Pester / /home/runner/work/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 / /home/runner/work/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.0271 seconds |
✔️ Get-ActionInput.Given valid -Name("INPUT1",System.Collections.Hashtable)
Given valid -Name
Parent: | / Pester / /home/runner/work/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.0263 seconds |
✔️ Get-ActionInput.Given valid -Name("Input1",System.Collections.Hashtable)
Given valid -Name
Parent: | / Pester / /home/runner/work/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.0304 seconds |
✔️ Get-ActionInput.Given valid -Name("input2",System.Collections.Hashtable)
Given valid -Name
Parent: | / Pester / /home/runner/work/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.0404 seconds |
✔️ Get-ActionInput.Given valid -Name("INPUT2",System.Collections.Hashtable)
Given valid -Name
Parent: | / Pester / /home/runner/work/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.0477 seconds |
✔️ Get-ActionInput.Given valid -Name("Input2",System.Collections.Hashtable)
Given valid -Name
Parent: | / Pester / /home/runner/work/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.039 seconds |
/ Pester / /home/runner/work/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 / /home/runner/work/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.1296 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 / /home/runner/work/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.0325 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 / /home/runner/work/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.0295 seconds |
/ Pester / /home/runner/work/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 / /home/runner/work/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.0218 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", /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1:123
at <ScriptBlock>, /home/runner/work/secret-scanning-review-action/secret-scanning-review-action/tests/GitHubActions_tests.ps1:123
/ Pester / /home/runner/work/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 / /home/runner/work/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.0096 seconds |
/ Pester / /home/runner/work/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 / /home/runner/work/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.0149 seconds |
/ Pester / /home/runner/work/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 / /home/runner/work/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.0091 seconds |
/ Pester / /home/runner/work/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 / /home/runner/work/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.0061 seconds |
/ Pester / /home/runner/work/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 / /home/runner/work/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.0063 seconds |
/ Pester / /home/runner/work/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 / /home/runner/work/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.0067 seconds |
/ Pester / /home/runner/work/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 / /home/runner/work/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.0109 seconds |