diffplug / diffplug/selfie

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

Open
#521 0 comments 0 reactions 0 assignees View on GitHub
bug jvm
Dominant language
Kotlin
Stars
101
Forks
18
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.