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

Support for standard argLine #1053

Merged
merged 1 commit into from
Jul 14, 2022
Merged

Support for standard argLine #1053

merged 1 commit into from
Jul 14, 2022

Conversation

hcoles
Copy link
Owner

@hcoles hcoles commented Jul 14, 2022

Surefire and other plugins support the argLine property for passing
parameters to child jvms in the form of a single string.

Pitest currently supports passing a list of properties using the jvmArgs
param. This requires duplicating values already specified in the
argLine.

The list format also causes problems when the arguments contain
delimiters, for which some unsatisfactory workarounds have been applied.

This change adds a new argLine property to pitest, which is read from
the standard maven property by default. It can be set explicitly for Ant
and the command line.

The existing jvmArgs parameter is retained, and can be used to set
additional arguments for pitest.

fixes #1052

Surefire and other plugins support the `argLine` property for passing
parameters to child jvms in the form of a single string.

Pitest currently supports passing a list of properties using the jvmArgs
param. This requires duplicating values already specified in the
argLine.

The list format also causes problems when the arguments contain
delimiters, for which some unsatisfactory workarounds have been applied.

This change adds a new argLine property to pitest, which is read from
the standard maven property by default. It can be set explicitly for Ant
and the command line.

The existing jvmArgs parameter is retained, and can be used to set
additional arguments for pitest.
@hcoles hcoles force-pushed the feature/arglines branch from 04b672c to 99325ca Compare July 14, 2022 09:23
@hcoles hcoles merged commit 206d89d into master Jul 14, 2022
@hcoles hcoles deleted the feature/arglines branch July 15, 2022 10:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support global maven argline property
1 participant