slachiewicz opened a new pull request, #200: URL: https://github.com/apache/maven-invoker/pull/200
Replace the eight copy-pasted single-flag tests in `MavenCommandLineBuilderTest` with one `@ParameterizedTest` + `@MethodSource` supplying a `Consumer<InvocationRequest>` setter and the expected flag (`-B`, `-o`, `-U`, `-X`, `-e`, `-q`, `-N`, `-V`). Added `junit-jupiter-params` with no version (BOM-managed). Exactly eight parameterized invocations remain, and the PowerShell changes from the blocker PR are untouched. Stacked on #181 (authored by wilx); this branch contains the blocker's commits. Rebase onto master after the blocker merges. Tracking: apache/maven#14072 Verified: `JAVA_HOME=<Java 21> mvn -B -o test` → BUILD SUCCESS (113 tests, 0 failures/errors, 3 skipped, identical to the pre-change baseline). `MavenCommandLineBuilderTest` still has 68 test cases, including exactly 8 invocations of the new parameterized test. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
