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

   Moves ITs whose checks do not need a real Maven build into unit tests. 
`PluginDescriptorTest` reads the generated `plugin.xml` and checks the 
parameter defaults of all five goals; `SourceJarMojoOptionsTest` covers 
includes/excludes, classifiers, generated source roots and projects without 
sources.
   
   Removed ITs and what covers them:
   - `jar-includes-excludes` → `testJarIncludes`, `testTestJarExcludes`
   - `jar-classifier`, `test-jar-classifier` → `testJarClassifier`, 
`testTestJarClassifier`
   - `project-without-sources` → `testJarWithoutSourcesCreatesNothing`, 
`testTestJarWithoutSourcesCreatesNothing`
   - `verify-parameter-goal-jar-no-fork`, `-test-jar`, `-test-jar-no-fork`, 
`-generated-test-jar` → `PluginDescriptorTest`
   
   `verify-parameter-goal-jar` stays as a smoke test of the real `help` output, 
and the ITs for the forked lifecycle, attachment, symlinks, archive 
configuration and reproducibility stay as they are. Invoker ITs go from 25 to 
17 and unit tests from 10 to 20; one full IT run took 232 s on master and 195 s 
on this branch on a shared machine.
   


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