Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/commands/testExplorerCommands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,10 @@ export async function refreshProject(classpathUri: Uri): Promise<void> {
});
await Promise.all(loadPromises);
} else {
// URI doesn't match any known test project – skip to avoid unnecessary full refresh
// Bootstrap: first-time enable tests on an empty Test Explorer.
if (testController?.items.size === 0) {
await refreshExplorer();
}
return;
}
await showTestItemsInCurrentFile();
Expand Down
Loading