slachiewicz opened a new pull request, #1082:
URL: https://github.com/apache/maven-archetype/pull/1082

   Collapse the duplicate Unix/Windows list scanner tests into one 
parameterized test that drives the path separator from a `@CsvSource`.
   
   - Build resource paths with `Arrays.asList` + `String.join` instead of 
twelve `add(...)` calls per case
   - Replace `testUnixPaths`/`testWindowsPaths` with one `@ParameterizedTest` 
over `/` and `\`
   - Add BOM-managed `junit-jupiter-params` test dependency (no version) to 
archetype-common
   
   Tracking: #14072
   
   Verified: `JAVA_HOME=$JAVA_21_HOME mvn -B -o test` -> BUILD SUCCESS 
(archetype-common 41 tests + plugin 36 tests; TestListScanner 2 invocations, 
unchanged). Mutation check: changing expected size 2 -> 1 failed both 
invocations (2/2 failures), original restored.
   


-- 
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]

Reply via email to