Skip to content

Do we need Enable-RunspaceDebug.Tests.ps1 file? #13470

@sethvs

Description

@sethvs

Do we need Enable-RunspaceDebug.Tests.ps1 file?

https://github.com/PowerShell/PowerShell/blob/master/test/powershell/Modules/Microsoft.PowerShell.Utility/Enable-RunspaceDebug.Tests.ps1 was added as part of #8923, then in #10338 the functionality it tests was removed.

When run, its tests are skipped because Microsoft.PowerShell.Utility.PSDebugRunspaceWithBreakpoints experimental feature doesn't exist, or else the tests would fail.

if (!$FeatureEnabled) {
Write-Verbose "Test Suite Skipped. The test suite requires the experimental feature 'Microsoft.PowerShell.Utility.PSDebugRunspaceWithBreakpoints' to be enabled." -Verbose
$originalDefaultParameterValues = $PSDefaultParameterValues.Clone()
$PSDefaultParameterValues["it:skip"] = $true
return
}

Should we remove the file?

Steps to reproduce

Expected behavior


Actual behavior


Environment data


Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aResolution-FixedThe issue is fixed.Up-for-GrabsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsWG-Quality-Testissues in a test or in test infrastructure

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions