GitHub
09/18/2025, 3:20 AMstreams parameter in TapTestRunner
• Fixed existing factory tests to accommodate the new parameter
## Test Coverage Added
• TapTestRunner initialization with streams parameter (list, tuple, empty, None)
• run_sync_dry_run method with streams parameter
• Integration test for complete workflow with streams
• Compatibility with other initialization arguments
## Changes Made
• tests/core/testing/test_runners.py: Added 7 new test methods for streams parameter
• tests/core/testing/test_factory.py: Updated 3 existing tests to include streams=None parameter
## Test Plan
• All new tests pass
• All existing tests in test_runners.py pass (38 tests total)
• All existing tests in test_factory.py pass (23 tests total)
• No breaking changes to existing functionality
🤖 Generated with Claude Code
## Summary by Sourcery
Introduce a 'streams' parameter to TapTestRunner and propagate it through the testing factory and runner, extend run_sync_dry_run to filter streams by name or object, and add comprehensive tests for streams behavior.
New Features:
• Support passing a 'streams' parameter to TapTestRunner to limit which streams are processed during dry-run execution
• Expose the 'streams' parameter in testing factory functions new_test_class and get_tap_test_class
Enhancements:
• Extend TapBase.run_sync_dry_run to accept stream names or objects and select them correctly before running the dry run
Tests:
• Add unit tests for TapTestRunner initialization with streams as list, tuple, empty sequence, and None
• Add tests for run_sync_dry_run with and without streams parameter and with other kwargs
• Add an integration-style test covering a full TapTestRunner workflow using the streams parameter
• Update existing test_factory tests to include the new streams argument
meltano/sdk