aglinxinyuan opened a new issue, #9678: URL: https://github.com/apache/texera/issues/9678
### Task Summary Two specs for the scan sources in `workflow-operator` repeat their fixtures case by case. `CSVScanSourceOpDescSpec` writes its temporary CSVs through seven helpers and four inline blocks that differ only in the content, points a descriptor at a file and resolves it with the same lines in nineteen cases, opens, reads and closes an executor the same way in five cases, and repeats the same schema and placeholder assertions in seven cases. `TextInputSourceOpDescSpec` runs its executor and reads the `line` field with the same block in six cases and three helpers. One CSV writer, one executor reader and a few assertion helpers within each spec can replace these blocks while every test keeps its name, inputs and expected values. About 200 lines go away. ### Task Type - [x] Refactor / Cleanup -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
