Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLion reporter does not open correctly if CLion is already open #215

Open
christian-olsen opened this issue Nov 9, 2023 · 0 comments
Open

Comments

@christian-olsen
Copy link

When using the CLion reporter with a project open in the IDE, received and approved files are opened as regular tabs, and an empty diff window is opened for each failed test.

I experience this issue on macOS. I don't know if Windows/Linux are affected.

It seems that the nosplash argument when invoking CLion is the culprit here. As a workaround, you can skip the argument in CLion's startup script (/Users/[username]/Library/Application Support/JetBrains/Toolbox/scripts/clion) by adding this to the start of the for-loop:

  if [[ "$o" = "nosplash" ]]; then
      continue
  fi

With the workaround applied, ApprovalTests diffs correctly open in the CLion diff viewer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant