Skip to content

Handle exclude lists in a test run request #16929

@karthiknadig

Description

@karthiknadig

See here for how exclude list is generated: microsoft/vscode#130522

  1. unittest: The underlying test adapter deals with testcases only. All we need to do is pass the right set of test case nodes (leaf nodes) to the runner in the extension.
  2. pytest : With the current test adapter we need to do additional work to prune the test tree to the a set of tests nodes that have no children in them that are in the exclude list. We can then pass the pruned nodes to the runner in the extension. A better approach here would be to update the test adapter to handle test runs based on the leaf nodes. This will also allow us to report test run progress, instead of running everything in bulk.

Metadata

Metadata

Assignees

Labels

area-testingbugIssue identified by VS Code Team member as probable bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions