Skip to content

Commit bd4261b

Browse files
wenytang-msCopilot
andcommitted
feat: expose JUnit Jupiter 6 as a separate Enable Tests option
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>
1 parent efcdc66 commit bd4261b

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/commands/testDependenciesCommands.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,11 @@ async function setupUnmanagedFolder(projectUri: Uri, testKind?: TestKind): Promi
9898

9999
async function getTestKind(): Promise<TestKind | undefined> {
100100
const framework: any = await window.showQuickPick([{
101-
label: 'JUnit Jupiter',
101+
label: 'JUnit Jupiter 6',
102+
description: 'Recommended',
103+
value: TestKind.JUnit6,
104+
}, {
105+
label: 'JUnit Jupiter 5',
102106
value: TestKind.JUnit5,
103107
}, {
104108
label: 'JUnit',

0 commit comments

Comments
 (0)