-
Notifications
You must be signed in to change notification settings - Fork 54
Open
Description
In java, it usually spawns Beyond Compare for me when tests are failing. But in Pyhton, i noticed it opens Araxis Merge first (which I have installed but no license for it).
- do you have a different order and do you want it to differ compared to java?
- the path you have for the beyond compare mac reporter, at least on my machine, isn't setup like this.
Below you find what Claude Opus was thinking is going on.
Problem
reporters.json has an incorrect path for Beyond Compare on Mac:
["BeyondCompare4Mac", "/usr/local/bin/bcompare"]But Beyond Compare installs to:
/Applications/Beyond Compare.app/Contents/MacOS/bcomp
The programmatic ReportWithBeyondCompareMac class has the correct path, but reporters.json is checked first, so Beyond Compare is never found and other reporters (like Araxis Merge) take priority.
How Java handles this
ApprovalTests.Java has a single source of truth in DiffPrograms.java:
public static DiffInfo BEYOND_COMPARE = new DiffInfo(
"/Applications/Beyond Compare.app/Contents/MacOS/bcomp", TEXT);Suggested fix
Update reporters.json:
["BeyondCompare4Mac", "/Applications/Beyond Compare.app/Contents/MacOS/bcomp"]Metadata
Metadata
Assignees
Labels
No labels