[jvm] better error checking when we can't find test file
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
Research direction
Start by tracing Selfie.vcrTestLocator and the test-file discovery logic for tests in selfie. and com.diffplug.selfie. Read the surrounding tests, if present, to reproduce both missed-comment and ignored-package cases. Done means the failure modes are distinguished and the issue's preferred resolution—deeper search or clearer errors—is agreed and covered by tests.
Written by the indexing model from the issue text.
Description
There are two different ways that finding the test file can fail.
- 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 - if you put a test into
selfie.orcom.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.
- Dominant language
- Kotlin
- Stars
- 101
- Forks
- 18
- Avg merge
- 6d 11h
- Merged PRs (30d)
- 5
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from diffplug/selfie
-
Selfie JVM Snapshot Garbage Collection is overly zealous when using multiple test suites in gradle Openbug jvm
Difficulty 4/5 3-5 days Newbie friendliness 48/100
-
enhancement jvm
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
bug jvm
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
bug docs jvm
Difficulty 2/5 1-3 hours Newbie friendliness 50/100
-
bug jvm py
Difficulty 2/5 1-3 hours Newbie friendliness 48/100
Similar issues
-
autoteam community team/use
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
android: AlbumArtistDetailViewModel keeps groupKeys of albums that disappeared in expandedAlbums Opentask
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
aaif-goose/goose#12496 ·
-
Schema rejections are neither logged nor attributed, so the offending object cannot be identified Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
zotero/zotero-android#350 ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Richie97/track-history#325 ·