#3186 test: Add tests for internal built-in test runners
Pull request opened by
edgarrmondragon
## Summary by Sourcery
Add comprehensive unit and integration tests for the internal Singer SDK test runners and introduce minor adjustments to runners for capturing standard output and handling optional input streams.
Enhancements:
• Add stdout and stderr attributes to TargetTestRunner and SingerTestRunner for output capture
• Allow target_input parameter to be optional in _execute_sync methods
Tests:
• Implement unit tests for SingerTestRunner abstract enforcement and subclass behavior
• Add extensive tests for TapTestRunner covering initialization, discovery, connection, dry run, output cleaning, record parsing, execution, and sync_all workflows
• Add unit tests for TargetTestRunner covering initialization with IO or file paths, new target creation, execution paths with and without finalize, and sync_all behavior
• Include integration tests simulating realistic tap and target runner workflows with mocked classes and sample input/output
meltano/sdk