GitHub Actions / TestsResults (PowerShell v7)
succeeded
Oct 25, 2024 in 0s
TestsResults (PowerShell v7) ✔️
✔️ ./testResults_PS7.xml
19 tests were completed in 14s with 19 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
D:\a\gsudo\gsudo\src\gsudo.Wrappers.Tests\gsudo.Tests.ps1 | 5✔️ | 3s | ||
D:\a\gsudo\gsudo\src\gsudo.Wrappers.Tests\Invoke-gsudo.Tests.ps1 | 14✔️ | 11s |
✔️ D:\a\gsudo\gsudo\src\gsudo.Wrappers.Tests\gsudo.Tests.ps1
✔️ PS Gsudo (PSv7).It serializes return values as string.
✔️ PS Gsudo (PSv7).When invoked as gsudo !!, It elevates the last command executed
✔️ PS Gsudo (PSv7).Elevates a ScriptBlock.
✔️ PS Gsudo (PSv7).Elevates a ScriptBlock with arguments.
✔️ PS Gsudo (PSv7).Return can be captured.
✔️ D:\a\gsudo\gsudo\src\gsudo.Wrappers.Tests\Invoke-gsudo.Tests.ps1
✔️ PS Invoke-Gsudo (PSv7).It serializes return values maintaining its type
✔️ PS Invoke-Gsudo (PSv7).It serializes return values mantaining its properties.
✔️ PS Invoke-Gsudo (PSv7).It returns an array of values mantaining its properties.
✔️ PS Invoke-Gsudo (PSv7).It accepts objects from the pipeline.
✔️ PS Invoke-Gsudo (PSv7).It throws when Error thrown
✔️ PS Invoke-Gsudo (PSv7).It throws with expression runtime errors
✔️ PS Invoke-Gsudo (PSv7).It throws with .Net Exceptions
✔️ PS Invoke-Gsudo (PSv7).It throws when ErrorAction = Stop
✔️ PS Invoke-Gsudo (PSv7).It throws when ErrorActionPreference = Stop
✔️ PS Invoke-Gsudo (PSv7).It forwards ErrorActionPreference 'Stop' to the elevated instance
✔️ PS Invoke-Gsudo (PSv7).It forwards ErrorActionPreference 'Continue' to the elevated instance
✔️ PS Invoke-Gsudo (PSv7).It forwards ErrorActionPreference 'Ignore' to the elevated instance
✔️ PS Invoke-Gsudo (PSv7).It doesn't throw when ErrorActionPreference = Continue
✔️ PS Invoke-Gsudo (PSv7).It doesn't throw with '-ErrorAction Continue-'
Loading