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

Provide access to configure JVM arguments #100

Open
MarkRx opened this issue Jan 22, 2024 · 1 comment
Open

Provide access to configure JVM arguments #100

MarkRx opened this issue Jan 22, 2024 · 1 comment

Comments

@MarkRx
Copy link

MarkRx commented Jan 22, 2024

Currently the JVM arguments are deduced from a fixed set of properties in GradleExecutorGradleTestKitImpl. There does not seem to be a way to specify a JVM argument outside of that list.

For example, I am trying to setup JaCoCo instrumentation on a launched gradle script using the -javaagent JVM arguments but am unable to do so without creating a custom GradleExecutorGradleTestKitImpl.

@lacasseio
Copy link
Member

That's a good point. I'm a bit uneasy with how the parameters are configured, but I agree we should be able to specify custom JVM arguments up to a point. One important issue is the different environments in which the test could run. We would need to check to what extent we can configure the JVM arguments of TestKit vs embedded vs Wrapper and decide if the customization should be per runner or executor.

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

No branches or pull requests

2 participants