Skip to content

Commit b15232d

Browse files
authored
feat: expose JUnit Jupiter 6 as a separate Enable Tests option (#1871)
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.
1 parent efcdc66 commit b15232d

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)