xalanq / cf-tool

:bar_chart: Codeforces CLI (Submit, Parse, Test, etc.). Support Contests, Gym, Groups, acmsguru, Windows, macOS, Linux, 7 MB
MIT License
1.3k stars 224 forks source link

Replace diff tool with line-by-line comparision #77

Open infalmo opened 4 years ago

infalmo commented 4 years ago

The diff tool is a major inconvenience as it's not very useful to determine where our answer is wrong. You could instead try implementing a side-by-side comparison of the output/expected output files. image Colordiff format is the most suitable, where comparison takes place line-by-line.

Or atleast allow the user to enter a custom command to diff the two files.

cubercsl commented 4 years ago

I think the idea is similar to #72. Just run another executable (may be diff tool or checker) to comapre the output and answer and show this tool's output as the result.