You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have tried to reopen #370 to what seems like an issue. I have dug deeper and something looks incorrect. I am executing a JUnit test and it fails due to a missing library. When I print the classpath within the test it is in fact missing. The test call is as follows:
Notice that only the Zin Worker classpath is used. The runClasspath() is passed as a parameter but is not set in the classpath. If I look at the JUnitRunner, the arguments don't seem to be used to set the classpath.
Shouldn't the classPath include Mill's runClasspath()? A search for path in the JUnit interface repository doesn't provide me with any more clues.
Test were done with version 0.5.1, JDK 11 and Linux
The text was updated successfully, but these errors were encountered:
I see that my assumption is incorrect. The testRunner takes the arguments and uses that to construct the classpath. However the path still does not show up in the test case.
I have tried to reopen #370 to what seems like an issue. I have dug deeper and something looks incorrect. I am executing a JUnit test and it fails due to a missing library. When I print the classpath within the test it is in fact missing. The test call is as follows:
Notice that the classpath is set to
zincWorker.scalalibClasspath().map(_.path),
If we look at the subprocess call we have:Notice that only the Zin Worker classpath is used. The
runClasspath()
is passed as a parameter but is not set in the classpath. If I look at the JUnitRunner, the arguments don't seem to be used to set the classpath.Shouldn't the
classPath
include Mill'srunClasspath()
? A search for path in the JUnit interface repository doesn't provide me with any more clues.Test were done with version 0.5.1, JDK 11 and Linux
The text was updated successfully, but these errors were encountered: