aglinxinyuan opened a new issue, #9674:
URL: https://github.com/apache/texera/issues/9674

   ### Task Summary
   Three specs in `workflow-compiling-service`'s translator verify tests repeat 
their fixtures case by case. `PyOpExecHarnessSpec` declares seven 
single-purpose Python operator classes, and every case writes one input port, 
runs the operator and reads one output column the same way. `HarnessSpec` 
builds rows, writes the input and runs `StandaloneRunner` with the same block 
in six cases. `ComparatorSpec` writes typed JSONL files, checks for equality or 
a mismatch, starts Python and runs the Plotly comparison with the same blocks 
in each case. Shared builders and assertion helpers within each spec can 
replace these blocks while every test keeps its name, inputs and expected 
values. About 250 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]

Reply via email to