Test Report: Action Base Tests

June 7, 2021 ยท View on GitHub

  • Date: 2021-06-07
  • Time: 18:53:53

Expand the following summaries for more details:

Environment:
Env
user:runner
cwd:/home/runner/work/pwsh-github-action-base/pwsh-github-action-base
os-version:5.4.0-1047-azure
user-domain:``
machine-name:fv-az212-765
nunit-version:2.5.8.0
clr-version:Unknown
platform:Linux
Outcome: /> | Total Tests: 26 | Passed: 17 | Failed: 8
Counters
Total:26
Errors:0
Failures:8
Not-run:1
Inconclusive:0
Ignored:0
Skipped:0
Invalid:0

Tests:

/ Pester / /home/runner/work/pwsh-github-action-base/pwsh-github-action-base/tests/GitHubActions_tests.ps1 / Set-ActionVariable / Set-ActionVariable.Given valid -Name and -Value, and -SkipLocal

:x: Set-ActionVariable.Given valid -Name and -Value, and -SkipLocal("varValue1","varName1")

Given valid -Name and -Value, and -SkipLocal

Parent: / Pester / /home/runner/work/pwsh-github-action-base/pwsh-github-action-base/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 :x:
Time:0.3278 seconds
Error Message:
Expected '::set-env name=varName1::varValue1
', but got $null.
at $output | Should -Be $Expected, /home/runner/work/pwsh-github-action-base/pwsh-github-action-base/tests/GitHubActions_tests.ps1:22
Error Stack Trace:
at <ScriptBlock>, /home/runner/work/pwsh-github-action-base/pwsh-github-action-base/tests/GitHubActions_tests.ps1:22
:x: 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/pwsh-github-action-base/pwsh-github-action-base/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 :x:
Time:0.0643 seconds
Error Message:
Expected '::set-env name=var name 2::var value 2
', but got $null.
at $output | Should -Be $Expected, /home/runner/work/pwsh-github-action-base/pwsh-github-action-base/tests/GitHubActions_tests.ps1:22
Error Stack Trace:
at <ScriptBlock>, /home/runner/work/pwsh-github-action-base/pwsh-github-action-base/tests/GitHubActions_tests.ps1:22
:x: 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 / /home/runner/work/pwsh-github-action-base/pwsh-github-action-base/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 :x:
Time:0.0149 seconds
Error Message:
Expected '::set-env name=var%2Cname%3B3::var,value;3
', but got $null.
at $output | Should -Be $Expected, /home/runner/work/pwsh-github-action-base/pwsh-github-action-base/tests/GitHubActions_tests.ps1:22
Error Stack Trace:
at <ScriptBlock>, /home/runner/work/pwsh-github-action-base/pwsh-github-action-base/tests/GitHubActions_tests.ps1:22

/ Pester / /home/runner/work/pwsh-github-action-base/pwsh-github-action-base/tests/GitHubActions_tests.ps1 / Set-ActionVariable / Set-ActionVariable.Given valid -Name and -Value, and NOT -SkipLocal

:x: 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/pwsh-github-action-base/pwsh-github-action-base/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 :x:
Time:0.0151 seconds
Error Message:
Expected '::set-env name=varName1::varValue1
', but got $null.
at Set-ActionVariable $Name $Value | Should -Be $Expected, /home/runner/work/pwsh-github-action-base/pwsh-github-action-base/tests/GitHubActions_tests.ps1:32
Error Stack Trace:
at <ScriptBlock>, /home/runner/work/pwsh-github-action-base/pwsh-github-action-base/tests/GitHubActions_tests.ps1:32
:x: 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/pwsh-github-action-base/pwsh-github-action-base/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 :x:
Time:0.0183 seconds
Error Message:
Expected '::set-env name=var name 2::var value 2
', but got $null.
at Set-ActionVariable $Name $Value | Should -Be $Expected, /home/runner/work/pwsh-github-action-base/pwsh-github-action-base/tests/GitHubActions_tests.ps1:32
Error Stack Trace:
at <ScriptBlock>, /home/runner/work/pwsh-github-action-base/pwsh-github-action-base/tests/GitHubActions_tests.ps1:32
:x: 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 / /home/runner/work/pwsh-github-action-base/pwsh-github-action-base/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 :x:
Time:0.0163 seconds
Error Message:
Expected '::set-env name=var%2Cname%3B3::var,value;3
', but got $null.
at Set-ActionVariable $Name $Value | Should -Be $Expected, /home/runner/work/pwsh-github-action-base/pwsh-github-action-base/tests/GitHubActions_tests.ps1:32
Error Stack Trace:
at <ScriptBlock>, /home/runner/work/pwsh-github-action-base/pwsh-github-action-base/tests/GitHubActions_tests.ps1:32

/ Pester / /home/runner/work/pwsh-github-action-base/pwsh-github-action-base/tests/GitHubActions_tests.ps1 / Add-ActionSecretMask

:heavy_check_mark: Add-ActionSecretMask.Given a valid -Secret

Given a valid -Secret

Parent: / Pester / /home/runner/work/pwsh-github-action-base/pwsh-github-action-base/tests/GitHubActions_tests.ps1 / Add-ActionSecretMask
Name:Add-ActionSecretMask.Given a valid -Secret
Outcome:Success :heavy_check_mark:
Time:0.0234 seconds

/ Pester / /home/runner/work/pwsh-github-action-base/pwsh-github-action-base/tests/GitHubActions_tests.ps1 / Add-ActionPath

:x: Add-ActionPath.Given a valid -Path and -SkipLocal

Given a valid -Path and -SkipLocal

Parent: / Pester / /home/runner/work/pwsh-github-action-base/pwsh-github-action-base/tests/GitHubActions_tests.ps1 / Add-ActionPath
Name:Add-ActionPath.Given a valid -Path and -SkipLocal
Outcome:Failure :x:
Time:0.0306 seconds
Error Message:
Expected '::add-path::/to/some/path
', but got $null.
at Add-ActionPath $addPath -SkipLocal | Should -Be "::add-path::$($addPath)$EOL", /home/runner/work/pwsh-github-action-base/pwsh-github-action-base/tests/GitHubActions_tests.ps1:48
Error Stack Trace:
at <ScriptBlock>, /home/runner/work/pwsh-github-action-base/pwsh-github-action-base/tests/GitHubActions_tests.ps1:48
:x: Add-ActionPath.Given a valid -Path and NOT -SkipLocal

Given a valid -Path and NOT -SkipLocal

Parent: / Pester / /home/runner/work/pwsh-github-action-base/pwsh-github-action-base/tests/GitHubActions_tests.ps1 / Add-ActionPath
Name:Add-ActionPath.Given a valid -Path and NOT -SkipLocal
Outcome:Failure :x:
Time:0.0179 seconds
Error Message:
Expected '::add-path::/to/some/path
', but got $null.
at Add-ActionPath $addPath | Should -Be "::add-path::$($addPath)$EOL", /home/runner/work/pwsh-github-action-base/pwsh-github-action-base/tests/GitHubActions_tests.ps1:56
Error Stack Trace:
at <ScriptBlock>, /home/runner/work/pwsh-github-action-base/pwsh-github-action-base/tests/GitHubActions_tests.ps1:56

/ Pester / /home/runner/work/pwsh-github-action-base/pwsh-github-action-base/tests/GitHubActions_tests.ps1 / Get-ActionInput / Get-ActionInput.Given valid -Name

:heavy_check_mark: Get-ActionInput.Given valid -Name(System.Collections.Hashtable,"input1")

Given valid -Name

Parent: / Pester / /home/runner/work/pwsh-github-action-base/pwsh-github-action-base/tests/GitHubActions_tests.ps1 / Get-ActionInput / Get-ActionInput.Given valid -Name
Name:Get-ActionInput.Given valid -Name(System.Collections.Hashtable,"input1")
Outcome:Success :heavy_check_mark:
Time:0.0225 seconds
:heavy_check_mark: Get-ActionInput.Given valid -Name(System.Collections.Hashtable,"INPUT1")

Given valid -Name

Parent: / Pester / /home/runner/work/pwsh-github-action-base/pwsh-github-action-base/tests/GitHubActions_tests.ps1 / Get-ActionInput / Get-ActionInput.Given valid -Name
Name:Get-ActionInput.Given valid -Name(System.Collections.Hashtable,"INPUT1")
Outcome:Success :heavy_check_mark:
Time:0.0201 seconds
:heavy_check_mark: Get-ActionInput.Given valid -Name(System.Collections.Hashtable,"Input1")

Given valid -Name

Parent: / Pester / /home/runner/work/pwsh-github-action-base/pwsh-github-action-base/tests/GitHubActions_tests.ps1 / Get-ActionInput / Get-ActionInput.Given valid -Name
Name:Get-ActionInput.Given valid -Name(System.Collections.Hashtable,"Input1")
Outcome:Success :heavy_check_mark:
Time:0.0205 seconds
:heavy_check_mark: Get-ActionInput.Given valid -Name(System.Collections.Hashtable,"input2")

Given valid -Name

Parent: / Pester / /home/runner/work/pwsh-github-action-base/pwsh-github-action-base/tests/GitHubActions_tests.ps1 / Get-ActionInput / Get-ActionInput.Given valid -Name
Name:Get-ActionInput.Given valid -Name(System.Collections.Hashtable,"input2")
Outcome:Success :heavy_check_mark:
Time:0.045 seconds
:heavy_check_mark: Get-ActionInput.Given valid -Name(System.Collections.Hashtable,"INPUT2")

Given valid -Name

Parent: / Pester / /home/runner/work/pwsh-github-action-base/pwsh-github-action-base/tests/GitHubActions_tests.ps1 / Get-ActionInput / Get-ActionInput.Given valid -Name
Name:Get-ActionInput.Given valid -Name(System.Collections.Hashtable,"INPUT2")
Outcome:Success :heavy_check_mark:
Time:0.0146 seconds
:heavy_check_mark: Get-ActionInput.Given valid -Name(System.Collections.Hashtable,"Input2")

Given valid -Name

Parent: / Pester / /home/runner/work/pwsh-github-action-base/pwsh-github-action-base/tests/GitHubActions_tests.ps1 / Get-ActionInput / Get-ActionInput.Given valid -Name
Name:Get-ActionInput.Given valid -Name(System.Collections.Hashtable,"Input2")
Outcome:Success :heavy_check_mark:
Time:0.0258 seconds

/ Pester / /home/runner/work/pwsh-github-action-base/pwsh-github-action-base/tests/GitHubActions_tests.ps1 / Get-ActionInputs / Get-ActionInputs.Given 2 predefined inputs, and a -Name in any case

:heavy_check_mark: Get-ActionInputs.Given 2 predefined inputs, and a -Name in any case(System.Collections.Hashtable,"InPut1")

Given 2 predefined inputs, and a -Name in any case

Parent: / Pester / /home/runner/work/pwsh-github-action-base/pwsh-github-action-base/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(System.Collections.Hashtable,"InPut1")
Outcome:Success :heavy_check_mark:
Time:0.0527 seconds
:heavy_check_mark: Get-ActionInputs.Given 2 predefined inputs, and a -Name in any case(System.Collections.Hashtable,"InPut2")

Given 2 predefined inputs, and a -Name in any case

Parent: / Pester / /home/runner/work/pwsh-github-action-base/pwsh-github-action-base/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(System.Collections.Hashtable,"InPut2")
Outcome:Success :heavy_check_mark:
Time:0.0242 seconds
:heavy_check_mark: Get-ActionInputs.Given 2 predefined inputs, and a -Name in any case(System.Collections.Hashtable,"InPut3")

Given 2 predefined inputs, and a -Name in any case

Parent: / Pester / /home/runner/work/pwsh-github-action-base/pwsh-github-action-base/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(System.Collections.Hashtable,"InPut3")
Outcome:Success :heavy_check_mark:
Time:0.0329 seconds

/ Pester / /home/runner/work/pwsh-github-action-base/pwsh-github-action-base/tests/GitHubActions_tests.ps1 / Set-ActionOuput

:heavy_check_mark: Set-ActionOuput.Given a valid -Name and -Value

Given a valid -Name and -Value

Parent: / Pester / /home/runner/work/pwsh-github-action-base/pwsh-github-action-base/tests/GitHubActions_tests.ps1 / Set-ActionOuput
Name:Set-ActionOuput.Given a valid -Name and -Value
Outcome:Success :heavy_check_mark:
Time:0.0099 seconds

/ Pester / /home/runner/work/pwsh-github-action-base/pwsh-github-action-base/tests/GitHubActions_tests.ps1 / Write-ActionDebug

:heavy_check_mark: Write-ActionDebug.Given a valid -Message

Given a valid -Message

Parent: / Pester / /home/runner/work/pwsh-github-action-base/pwsh-github-action-base/tests/GitHubActions_tests.ps1 / Write-ActionDebug
Name:Write-ActionDebug.Given a valid -Message
Outcome:Success :heavy_check_mark:
Time:0.0079 seconds

/ Pester / /home/runner/work/pwsh-github-action-base/pwsh-github-action-base/tests/GitHubActions_tests.ps1 / Write-ActionError

:heavy_check_mark: Write-ActionError.Given a valid -Message

Given a valid -Message

Parent: / Pester / /home/runner/work/pwsh-github-action-base/pwsh-github-action-base/tests/GitHubActions_tests.ps1 / Write-ActionError
Name:Write-ActionError.Given a valid -Message
Outcome:Success :heavy_check_mark:
Time:0.0126 seconds

/ Pester / /home/runner/work/pwsh-github-action-base/pwsh-github-action-base/tests/GitHubActions_tests.ps1 / Write-ActionWarning

:heavy_check_mark: Write-ActionWarning.Given a valid -Message

Given a valid -Message

Parent: / Pester / /home/runner/work/pwsh-github-action-base/pwsh-github-action-base/tests/GitHubActions_tests.ps1 / Write-ActionWarning
Name:Write-ActionWarning.Given a valid -Message
Outcome:Success :heavy_check_mark:
Time:0.0087 seconds

/ Pester / /home/runner/work/pwsh-github-action-base/pwsh-github-action-base/tests/GitHubActions_tests.ps1 / Write-ActionInfo

:heavy_check_mark: Write-ActionInfo.Given a valid -Message

Given a valid -Message

Parent: / Pester / /home/runner/work/pwsh-github-action-base/pwsh-github-action-base/tests/GitHubActions_tests.ps1 / Write-ActionInfo
Name:Write-ActionInfo.Given a valid -Message
Outcome:Success :heavy_check_mark:
Time:0.0066 seconds

/ Pester / /home/runner/work/pwsh-github-action-base/pwsh-github-action-base/tests/GitHubActions_tests.ps1 / Enter-ActionOutputGroup

:heavy_check_mark: Enter-ActionOutputGroup.Given a valid -Name

Given a valid -Name

Parent: / Pester / /home/runner/work/pwsh-github-action-base/pwsh-github-action-base/tests/GitHubActions_tests.ps1 / Enter-ActionOutputGroup
Name:Enter-ActionOutputGroup.Given a valid -Name
Outcome:Success :heavy_check_mark:
Time:0.0189 seconds

/ Pester / /home/runner/work/pwsh-github-action-base/pwsh-github-action-base/tests/GitHubActions_tests.ps1 / Exit-ActionOutputGroup

:heavy_check_mark: Exit-ActionOutputGroup.Given everything is peachy

Given everything is peachy

Parent: / Pester / /home/runner/work/pwsh-github-action-base/pwsh-github-action-base/tests/GitHubActions_tests.ps1 / Exit-ActionOutputGroup
Name:Exit-ActionOutputGroup.Given everything is peachy
Outcome:Success :heavy_check_mark:
Time:0.0071 seconds

/ Pester / /home/runner/work/pwsh-github-action-base/pwsh-github-action-base/tests/GitHubActions_tests.ps1 / Invoke-ActionWithinOutputGroup

:heavy_check_mark: Invoke-ActionWithinOutputGroup.Given a valid -Name and -ScriptBlock

Given a valid -Name and -ScriptBlock

Parent: / Pester / /home/runner/work/pwsh-github-action-base/pwsh-github-action-base/tests/GitHubActions_tests.ps1 / Invoke-ActionWithinOutputGroup
Name:Invoke-ActionWithinOutputGroup.Given a valid -Name and -ScriptBlock
Outcome:Success :heavy_check_mark:
Time:0.0118 seconds