From bd4261bfef1eb15d3cdaa0a1eb7fcff3b957fda7 Mon Sep 17 00:00:00 2001 From: wenyutang-ms Date: Thu, 4 Jun 2026 09:42:02 +0800 Subject: [PATCH] feat: expose JUnit Jupiter 6 as a separate Enable Tests option MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add a "JUnit Jupiter 6" entry to the framework picker and rename the existing entry to "JUnit Jupiter 5". `TestKind.JUnit6` already exists in the API and `getJarIds` already routes JUnit5 to the 1.x line and JUnit6 to the 6.x line (PR #1868) — this PR is just the UI side of that split so users can actually pick JUnit 6 from the QuickPick. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- src/commands/testDependenciesCommands.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/commands/testDependenciesCommands.ts b/src/commands/testDependenciesCommands.ts index 11689bb8..fa5ebb28 100644 --- a/src/commands/testDependenciesCommands.ts +++ b/src/commands/testDependenciesCommands.ts @@ -98,7 +98,11 @@ async function setupUnmanagedFolder(projectUri: Uri, testKind?: TestKind): Promi async function getTestKind(): Promise { const framework: any = await window.showQuickPick([{ - label: 'JUnit Jupiter', + label: 'JUnit Jupiter 6', + description: 'Recommended', + value: TestKind.JUnit6, + }, { + label: 'JUnit Jupiter 5', value: TestKind.JUnit5, }, { label: 'JUnit',