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
{{ message }}
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.
For unit testing, we need to override environment variable CLASSPATH.
To achieve this, use the code described under
"For use in scenarios where you need to set specific environment values for unit tests"
at https://stackoverflow.com/questions/318239/how-do-i-set-environment-variables-from-java
Use that and change
System.setProperty
tosetEnv
.You also have to create a new Map "newEnv" with one entry that you pass to
setEnv
.Once this works, the extra argument
"--classpath=build/modbat-test.jar"
can be removed in all (about 10) tests in src/test/scala:The text was updated successfully, but these errors were encountered: