Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

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

Open
#521 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
kotlin
Domain
testing

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

bug jvm

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.

Dominant language
Kotlin
Stars
101
Forks
18
Avg merge
6d 11h
Merged PRs (30d)
5

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from diffplug/selfie

All issues in diffplug/selfie

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.