Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved Documentation for "parallel" parameter value "none" #228

Merged
merged 1 commit into from
Apr 3, 2019

Conversation

StefanPenndorf
Copy link
Contributor

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

- Added documentation to explicitly state that none can be used to
  disable parallel execution (e.g as an orverride).
@asfgit asfgit merged commit 370294b into apache:master Apr 3, 2019
@Tibor17
Copy link
Contributor

Tibor17 commented Apr 3, 2019

@KyleRogers
Thx for contributing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants