slachiewicz opened a new pull request, #699:
URL: https://github.com/apache/maven-changes-plugin/pull/699

   Moves ITs whose checks do not need a real Maven build into unit tests, using 
the existing JUnit 5 `@MojoTest` harness. No production code changes.
   
   Removed ITs and what covers them:
   - `changes-check-invalid-date` → 
`ChangesCheckMojoTest.testPendingReleaseDateFails`
   - `changes-check-valid`, `changes-check-relative-xmlpath` → 
`testValidReleaseDatePasses`
   - `changes-check-skip-snapshots` → `testSkipSnapshotsSkipsInvalidDate`, 
`testSnapshotIsCheckedWhenNotSkipped`
   - `changes-validate-invalid-fails` → 
`ChangesValidatorMojoTest.testSchemaExceptionMessageNamesFile`
   - `changes-validate-invalid-warns` → `testInvalidFileOnlyWarnsWhenNotFailing`
   - `report-changes-system-noissuemanagement` → new `ChangesReportRendererTest`
   - `announcement-generate-custom-template` → 
`AnnouncementMojoTest.testCustomTemplate`
   
   `changes-check-relative-xmlpath-invalid`, `report-changes-system` and 
`report-changes-interpolation` stay because they need a real build (path 
resolution, issue-management binding, filtering), as do the WireMock, SMTP, 
JIRA and GitHub ITs. Invoker ITs go from 28 to 20 and unit tests from 60 to 71.
   


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