Skip to content

Parameterize test function with same name get mixed #21491

@eleanorjboyd

Description

@eleanorjboyd

with "python.experiments.optInto": ["pythonTestAdapter"], to enable the re-write. If I have the following structure

test_a.py
-- test_class (where this is a parameterized test class)
test_b.py
-- test_class (where this is a parameterized test class)

the test cases in file_a for test_class will also appear in test_class in file_b on the test explorer.

image

Metadata

Metadata

Assignees

Labels

area-testingbugIssue identified by VS Code Team member as probable bugtriage-neededNeeds assignment to the proper sub-team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions