KyleRogers opened a new pull request #228: Improved Documentation for 
"parallel" parameter value "none"
URL: https://github.com/apache/maven-surefire/pull/228
 
 
   Added documentation to explicitly state that "none" can be used to disable 
parallel execution. There was no documentation at the "parallel" parameter 
before that also listed this special value. The value "none" could only be 
retrieved from the implementation and is implicitly documented at the 
description of "parallelTestsTimeoutInSeconds" and 
"parallelTestsTimeoutForcedInSeconds" in SurefirePlugin.
   
   Knowing a way to disable parallel execution is useful if you need to 
override a previously parallel exection. We usually declare our surefire tests 
to be executed in parallel. This is usually defined in the 
<pluginManagement>-Section of our parent pom.
   Nevertheless when execting the tests with Coverage - JaCoCo in our case - 
the coverage data will be inaccurate if the tests are executed in parallel. 
JaCoCo even warns in those situations and sometimes even fails tests.
   
   We use the value "none" to disable parallel test execution using a special 
"coverage" profile that also enables JaCoCo.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to