#3077 fix: Only finalize state for selected streams
Pull request opened by
edgarrmondragon
Closes
#2350
## Summary by Sourcery
Add support for testing deselected child streams by introducing a fixture and snapshot-based test.
Tests:
• Introduce a pytest fixture to deselect a child stream for test scenarios
• Add a snapshot test to validate output and logs when a child stream is deselected
---
📚 Documentation preview 📚:
https://meltano-sdk--3077.org.readthedocs.build/en/3077/
## Summary by Sourcery
Skip finalizing state markers for deselected streams and add snapshot-based tests for deselected child streams.
Bug Fixes:
• Only finalize state progress markers for streams with selected set to True.
Tests:
• Refactor tap_with_deselected_parent fixture to use metadata.root and add tap_with_deselected_child fixture.
• Add a snapshot test to validate sync output and logs when a child stream is deselected.
meltano/sdk