Skip to content

Add commands to get current selected tests/profiles #179065

@connor4312

Description

@connor4312

Expose API commands to get the currently selected tests and profiles

  • vscode.commands.executeCommand('testing.getSelectedProfiles') -> { controllerId: string, kind: TestrunProfileKind, label: string }[]
  • vscode.commands.executeCommand('testing.getExplorerSelection') -> { include: TestItem[], exclude: TestItem[] } (like a TestRunRequest)

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionalityinsiders-releasedPatch has been released in VS Code InsiderstestingBuilt-in testing supportverification-neededVerification of issue is requestedverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions