Hi Maggie,
I doubt that there is something wrong with the extension(Test Runner for Java) or VS Code.
I also remember that this worked, but when I tried to install a new VS Code, configure JDK, and check VS Code, the "Enable Java Tests" option is not available.
Do you still remember what have changed, as you mentioned that "it was working previously to this day". Is something updated automatically maybe during this short time?
I see some other developers also get the same issue, I would strongly recommend you submit a ticket on GitHub - vscode-java-test.
If you do submit a ticket, please kindly share the ticket link here for better tracking.
Best regards,
Tianyu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.