#3176 feat: Pytest markers for tap built-in tests
Pull request opened by
edgarrmondragon on <!date^1753145072^{date_short}|2025-07-22T00:44:32Z>
Summary by Sourcery
Introduce pytest markers for Singer SDK built-in tests, enabling granular test selection and updating documentation, project templates, and CI workflows to support the new markers.
New Features:
• Add pytest markers singer_stream and singer_stream_attribute to auto-generated tests
Enhancements:
• Apply markers automatically in pytest_generate_tests for BaseTestClass subclasses
• Annotate sync_all methods with override decorator in testing runners
• Refine BaseTestClass.params type annotation to list of parameter mappings
Build:
• Include packages/** path in test and CodeQL workflows
• Add pytest.ini marker definitions and addopts to cookiecutter and root pyproject.toml
CI:
• Update GitHub test workflow to include packages/** in paths
Documentation:
• Add Pytest Markers section with usage examples and benefits in testing documentation
meltano/sdk