Skip to content

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

Closed

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


Activity

  1. added
    Issue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get a
    on Aug 18, 2020
  2. vexx32 commented on Aug 18, 2020

    @vexx32
    Collaborator

    Wasn't this recently added back in during the most recent preview cycle? 🤔

  3. iSazonov commented on Aug 20, 2020

    @iSazonov
    Collaborator
  4. added
    Up-for-GrabsUp-for-grabs issues are not high priorities, and may be opportunities for external contributors
    on Jan 18, 2021
  5. ghost added
    In-PRIndicates that a PR is out for the issue
    on Oct 18, 2021
  6. ghost removed
    In-PRIndicates that a PR is out for the issue
    on Oct 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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