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

[jvm] better error checking when we can't find test file #521

Open
nedtwigg opened this issue Feb 21, 2025 · 0 comments
Open

[jvm] better error checking when we can't find test file #521

nedtwigg opened this issue Feb 21, 2025 · 0 comments
Labels
bug Something isn't working jvm

Comments

@nedtwigg
Copy link
Member

There are two different ways that finding the test file can fail.

  1. you're using a Selfie.vcrTestLocator, and the VCR was created somewhere far from the test itself, its possible that comments in the test file won't get picked up at all
  2. if you put a test into selfie. or com.diffplug.selfie., it's possible that it will be ignored when determining where the test file is

These can be fixed by a more intensive search, they can also be fixed with better error messages.

@nedtwigg nedtwigg added bug Something isn't working jvm labels Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working jvm
Projects
None yet
Development

No branches or pull requests

1 participant