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

Rename a class should also rename its test class name as well

Open
#1,425 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
java
Domain
devtools, testing

Research direction

No file or test path is identified; start by locating the Java type and package rename handling and its existing rename tests. Reproduce renaming Person to Employee and moving its package, then verify that a same-package PersonTest is renamed or moved to EmployeeTest as requested.

Written by the indexing model from the issue text.

Description

ai-triaged enhancement

when renaming the Person class to Employee, the PersonTest class (in the same package) is also renamed to EmployeeTest. And when the package of Person changes, make the same change to PersonTest as well (if PersonTest was in the same package).

Dominant language
TypeScript
Stars
340
Forks
173
Avg merge
1d 2h
Merged PRs (30d)
17

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 microsoft/vscode-java-test

All issues in microsoft/vscode-java-test

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.