Tags: andravin/vscode-python
Tags
Merge fix/test-explorer-exclude-filtering: respect TestRunRequest.exc… …lude (PR microsoft#25743)
Merge branch 'feature/pytest-marks-as-tags-release' into release/cust… …om-testing-improvements
feat(testing): expose pytest marks as tags in Test Explorer Extract pytest marks (e.g., @pytest.mark.slow, @pytest.mark.integration) during test discovery and expose them as VS Code TestTags with IDs like "mark.slow", "mark.integration". This enables filtering tests by marks in the Test Explorer UI using @python-tests:mark.slow syntax. Changes: - Add tags field to TestItem TypedDict in pytest plugin - Extract marks from test_case.own_markers in create_test_node() - Add tags field to DiscoveredTestItem TypeScript type - Create TestTag objects from marks in populateTestTree() Fixes microsoft#20350 Co-Authored-By: Claude Opus 4.5 <[email protected]>