0

Surefire has a parameter called additionalClasspathElements for adding elements to the test classpath.

Is there a way to add elements to the test modulepath instead?

1 Answer 1

0

Answering my own question:

I just tested Surefire 3.5.2. If the project being tested is modular (contains module-info.java) then <additionalClasspathElements> ends up getting added to the modulepath instead of classpath.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.