Skip to content

Instantly share code, notes, and snippets.

@ebekker
Last active November 11, 2022 14:18
Show Gist options
  • Save ebekker/e8520423f61cec0d54048302175b3c3a to your computer and use it in GitHub Desktop.
Save ebekker/e8520423f61cec0d54048302175b3c3a to your computer and use it in GitHub Desktop.

Test Report: PWSH GitHub Action Tools Tests

  • Date: 2022-11-11
  • Time: 14:17:09

Expand the following summaries for more details:

Environment:
Env
user: runneradmin
cwd: D:\a\pwsh-github-action-tools\pwsh-github-action-tools
os-version: 10.0.20348
user-domain: fv-az365-196
machine-name: fv-az365-196
nunit-version: 2.5.8.0
clr-version: 4.0.30319.42000
platform: `Microsoft Windows Server 2022 Datacenter
Outcome: | Total Tests: 24 | Passed: 24 | Failed: 0
Counters
Total: 24
Errors: 0
Failures: 0
Not-run: 0
Inconclusive: 0
Ignored: 0
Skipped: 0
Invalid: 0

Tests:

/ Pester / D:\a\pwsh-github-action-tools\pwsh-github-action-tools\tests\GitHubActions-base.Tests.ps1 / Add-ActionSecretMask

✔️ Add-ActionSecretMask.Given a valid -Secret

Given a valid -Secret

Parent: / Pester / D:\a\pwsh-github-action-tools\pwsh-github-action-tools\tests\GitHubActions-base.Tests.ps1 / Add-ActionSecretMask
Name: Add-ActionSecretMask.Given a valid -Secret
Outcome: Success ✔️
Time: 1.2707 seconds

/ Pester / D:\a\pwsh-github-action-tools\pwsh-github-action-tools\tests\GitHubActions-base.Tests.ps1 / Get-ActionInput / Get-ActionInput.Given valid -Name

✔️ Get-ActionInput.Given valid -Name(System.Collections.Hashtable,"input1")

Given valid -Name

Parent: / Pester / D:\a\pwsh-github-action-tools\pwsh-github-action-tools\tests\GitHubActions-base.Tests.ps1 / Get-ActionInput / Get-ActionInput.Given valid -Name
Name: Get-ActionInput.Given valid -Name(System.Collections.Hashtable,"input1")
Outcome: Success ✔️
Time: 0.7416 seconds
✔️ Get-ActionInput.Given valid -Name(System.Collections.Hashtable,"INPUT1")

Given valid -Name

Parent: / Pester / D:\a\pwsh-github-action-tools\pwsh-github-action-tools\tests\GitHubActions-base.Tests.ps1 / Get-ActionInput / Get-ActionInput.Given valid -Name
Name: Get-ActionInput.Given valid -Name(System.Collections.Hashtable,"INPUT1")
Outcome: Success ✔️
Time: 0.0156 seconds
✔️ Get-ActionInput.Given valid -Name(System.Collections.Hashtable,"Input1")

Given valid -Name

Parent: / Pester / D:\a\pwsh-github-action-tools\pwsh-github-action-tools\tests\GitHubActions-base.Tests.ps1 / Get-ActionInput / Get-ActionInput.Given valid -Name
Name: Get-ActionInput.Given valid -Name(System.Collections.Hashtable,"Input1")
Outcome: Success ✔️
Time: 0.0162 seconds
✔️ Get-ActionInput.Given valid -Name(System.Collections.Hashtable,"input2")

Given valid -Name

Parent: / Pester / D:\a\pwsh-github-action-tools\pwsh-github-action-tools\tests\GitHubActions-base.Tests.ps1 / Get-ActionInput / Get-ActionInput.Given valid -Name
Name: Get-ActionInput.Given valid -Name(System.Collections.Hashtable,"input2")
Outcome: Success ✔️
Time: 0.0711 seconds
✔️ Get-ActionInput.Given valid -Name(System.Collections.Hashtable,"INPUT2")

Given valid -Name

Parent: / Pester / D:\a\pwsh-github-action-tools\pwsh-github-action-tools\tests\GitHubActions-base.Tests.ps1 / Get-ActionInput / Get-ActionInput.Given valid -Name
Name: Get-ActionInput.Given valid -Name(System.Collections.Hashtable,"INPUT2")
Outcome: Success ✔️
Time: 0.0166 seconds
✔️ Get-ActionInput.Given valid -Name(System.Collections.Hashtable,"Input2")

Given valid -Name

Parent: / Pester / D:\a\pwsh-github-action-tools\pwsh-github-action-tools\tests\GitHubActions-base.Tests.ps1 / Get-ActionInput / Get-ActionInput.Given valid -Name
Name: Get-ActionInput.Given valid -Name(System.Collections.Hashtable,"Input2")
Outcome: Success ✔️
Time: 0.0134 seconds

/ Pester / D:\a\pwsh-github-action-tools\pwsh-github-action-tools\tests\GitHubActions-base.Tests.ps1 / Get-ActionInputs

✔️ Get-ActionInputs.Given 2 predefined inputs

Given 2 predefined inputs

Parent: / Pester / D:\a\pwsh-github-action-tools\pwsh-github-action-tools\tests\GitHubActions-base.Tests.ps1 / Get-ActionInputs
Name: Get-ActionInputs.Given 2 predefined inputs
Outcome: Success ✔️
Time: 0.1558 seconds

/ Pester / D:\a\pwsh-github-action-tools\pwsh-github-action-tools\tests\GitHubActions-base.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(System.Collections.Hashtable,"InPut1")

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

Parent: / Pester / D:\a\pwsh-github-action-tools\pwsh-github-action-tools\tests\GitHubActions-base.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 ✔️
Time: 0.0333 seconds
✔️ 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 / D:\a\pwsh-github-action-tools\pwsh-github-action-tools\tests\GitHubActions-base.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 ✔️
Time: 0.0554 seconds
✔️ 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 / D:\a\pwsh-github-action-tools\pwsh-github-action-tools\tests\GitHubActions-base.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 ✔️
Time: 0.1844 seconds

/ Pester / D:\a\pwsh-github-action-tools\pwsh-github-action-tools\tests\GitHubActions-base.Tests.ps1 / Set-ActionOutput

✔️ Set-ActionOutput.Given a valid -Name and -Value

Given a valid -Name and -Value

Parent: / Pester / D:\a\pwsh-github-action-tools\pwsh-github-action-tools\tests\GitHubActions-base.Tests.ps1 / Set-ActionOutput
Name: Set-ActionOutput.Given a valid -Name and -Value
Outcome: Success ✔️
Time: 0.1431 seconds

/ Pester / D:\a\pwsh-github-action-tools\pwsh-github-action-tools\tests\GitHubActions-base.Tests.ps1 / Write-ActionDebug

✔️ Write-ActionDebug.Given a valid -Message

Given a valid -Message

Parent: / Pester / D:\a\pwsh-github-action-tools\pwsh-github-action-tools\tests\GitHubActions-base.Tests.ps1 / Write-ActionDebug
Name: Write-ActionDebug.Given a valid -Message
Outcome: Success ✔️
Time: 0.0112 seconds

/ Pester / D:\a\pwsh-github-action-tools\pwsh-github-action-tools\tests\GitHubActions-base.Tests.ps1 / Write-ActionError

✔️ Write-ActionError.Given a valid -Message

Given a valid -Message

Parent: / Pester / D:\a\pwsh-github-action-tools\pwsh-github-action-tools\tests\GitHubActions-base.Tests.ps1 / Write-ActionError
Name: Write-ActionError.Given a valid -Message
Outcome: Success ✔️
Time: 0.0156 seconds
✔️ Write-ActionError.Given file details

Given file details

Parent: / Pester / D:\a\pwsh-github-action-tools\pwsh-github-action-tools\tests\GitHubActions-base.Tests.ps1 / Write-ActionError
Name: Write-ActionError.Given file details
Outcome: Success ✔️
Time: 0.014 seconds

/ Pester / D:\a\pwsh-github-action-tools\pwsh-github-action-tools\tests\GitHubActions-base.Tests.ps1 / Write-ActionWarning

✔️ Write-ActionWarning.Given a valid -Message

Given a valid -Message

Parent: / Pester / D:\a\pwsh-github-action-tools\pwsh-github-action-tools\tests\GitHubActions-base.Tests.ps1 / Write-ActionWarning
Name: Write-ActionWarning.Given a valid -Message
Outcome: Success ✔️
Time: 0.0116 seconds
✔️ Write-ActionWarning.Given file details

Given file details

Parent: / Pester / D:\a\pwsh-github-action-tools\pwsh-github-action-tools\tests\GitHubActions-base.Tests.ps1 / Write-ActionWarning
Name: Write-ActionWarning.Given file details
Outcome: Success ✔️
Time: 0.0078 seconds

/ Pester / D:\a\pwsh-github-action-tools\pwsh-github-action-tools\tests\GitHubActions-base.Tests.ps1 / Write-ActionInfo

✔️ Write-ActionInfo.Given a valid -Message

Given a valid -Message

Parent: / Pester / D:\a\pwsh-github-action-tools\pwsh-github-action-tools\tests\GitHubActions-base.Tests.ps1 / Write-ActionInfo
Name: Write-ActionInfo.Given a valid -Message
Outcome: Success ✔️
Time: 0.0078 seconds

/ Pester / D:\a\pwsh-github-action-tools\pwsh-github-action-tools\tests\GitHubActions-base.Tests.ps1 / Set-ActionFailed

✔️ Set-ActionFailed.Given a valid -Message

Given a valid -Message

Parent: / Pester / D:\a\pwsh-github-action-tools\pwsh-github-action-tools\tests\GitHubActions-base.Tests.ps1 / Set-ActionFailed
Name: Set-ActionFailed.Given a valid -Message
Outcome: Success ✔️
Time: 43.2177 seconds

/ Pester / D:\a\pwsh-github-action-tools\pwsh-github-action-tools\tests\GitHubActions-base.Tests.ps1 / Enter-ActionOutputGroup

✔️ Enter-ActionOutputGroup.Given a valid -Name

Given a valid -Name

Parent: / Pester / D:\a\pwsh-github-action-tools\pwsh-github-action-tools\tests\GitHubActions-base.Tests.ps1 / Enter-ActionOutputGroup
Name: Enter-ActionOutputGroup.Given a valid -Name
Outcome: Success ✔️
Time: 0.006 seconds

/ Pester / D:\a\pwsh-github-action-tools\pwsh-github-action-tools\tests\GitHubActions-base.Tests.ps1 / Exit-ActionOutputGroup

✔️ Exit-ActionOutputGroup.Given everything is peachy

Given everything is peachy

Parent: / Pester / D:\a\pwsh-github-action-tools\pwsh-github-action-tools\tests\GitHubActions-base.Tests.ps1 / Exit-ActionOutputGroup
Name: Exit-ActionOutputGroup.Given everything is peachy
Outcome: Success ✔️
Time: 0.0118 seconds

/ Pester / D:\a\pwsh-github-action-tools\pwsh-github-action-tools\tests\GitHubActions-base.Tests.ps1 / Invoke-ActionWithinOutputGroup

✔️ Invoke-ActionWithinOutputGroup.Given a valid -Name and -ScriptBlock

Given a valid -Name and -ScriptBlock

Parent: / Pester / D:\a\pwsh-github-action-tools\pwsh-github-action-tools\tests\GitHubActions-base.Tests.ps1 / Invoke-ActionWithinOutputGroup
Name: Invoke-ActionWithinOutputGroup.Given a valid -Name and -ScriptBlock
Outcome: Success ✔️
Time: 0.0122 seconds

/ Pester / D:\a\pwsh-github-action-tools\pwsh-github-action-tools\tests\GitHubActions-context.Tests.ps1 / Get-ActionContext

✔️ Get-ActionContext.Should match Real or Faked environment values

Should match Real or Faked environment values

Parent: / Pester / D:\a\pwsh-github-action-tools\pwsh-github-action-tools\tests\GitHubActions-context.Tests.ps1 / Get-ActionContext
Name: Get-ActionContext.Should match Real or Faked environment values
Outcome: Success ✔️
Time: 1.3337 seconds
✔️ Get-ActionContext.Should only construct a context once

Should only construct a context once

Parent: / Pester / D:\a\pwsh-github-action-tools\pwsh-github-action-tools\tests\GitHubActions-context.Tests.ps1 / Get-ActionContext
Name: Get-ActionContext.Should only construct a context once
Outcome: Success ✔️
Time: 0.0144 seconds
Display the source blob
Display the rendered blob
Raw
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="236" height="20" role="img" aria-label="Tested @ 11/11/2022 14:17:09: Passed"><title>Tested @ 11/11/2022 14:17:09: Passed</title><linearGradient id="s" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient><clipPath id="r"><rect width="236" height="20" rx="3" fill="#fff"/></clipPath><g clip-path="url(#r)"><rect width="187" height="20" fill="#555"/><rect x="187" width="49" height="20" fill="#97ca00"/><rect width="236" height="20" fill="url(#s)"/></g><g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="110"><text aria-hidden="true" x="945" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="1770">Tested @ 11/11/2022 14:17:09</text><text x="945" y="140" transform="scale(.1)" fill="#fff" textLength="1770">Tested @ 11/11/2022 14:17:09</text><text aria-hidden="true" x="2105" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="390">Passed</text><text x="2105" y="140" transform="scale(.1)" fill="#fff" textLength="390">Passed</text></g></svg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment