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
As a follow up from #75, I am generating tests with evosuite and trying to collect their coverage using Gzoltar. I am currently able to generate a list of the evosuite test methods using the Gzoltar listTestMethods, but when running the tests using runTestMethods, I either get a ClassNotFoundException if the evosuite jar is not on the classpath, or the following if the evosuite jar is on the classpath:
Exception in thread "main" java.lang.ClassCircularityError: java/lang/RuntimePermission
at org.evosuite.runtime.sandbox.MSecurityManager.allowPermission(MSecurityManager.java:500)
at org.evosuite.runtime.sandbox.MSecurityManager.checkPermission(MSecurityManager.java:432)
at java.lang.SecurityManager.checkPropertiesAccess(SecurityManager.java:1262)
at java.lang.System.setProperties(System.java:694)
at com.gzoltar.cli.commands.RunTestMethods.execute(RunTestMethods.java:109)
at com.gzoltar.cli.Main.execute(Main.java:105)
at com.gzoltar.cli.Main.main(Main.java:40)
I have tried both online and offline instrumentation as shown here, and both produce a similar error on the runTestMethods command.
Steps to Reproduce
I am using the same MRE as in the previous issue, available here:
Context
As a follow up from #75, I am generating tests with evosuite and trying to collect their coverage using Gzoltar. I am currently able to generate a list of the evosuite test methods using the Gzoltar
listTestMethods
, but when running the tests usingrunTestMethods
, I either get aClassNotFoundException
if the evosuite jar is not on the classpath, or the following if the evosuite jar is on the classpath:I have tried both online and offline instrumentation as shown here, and both produce a similar error on the
runTestMethods
command.Steps to Reproduce
I am using the same MRE as in the previous issue, available here:
evosuite-example.tar.gz
The following steps reproduce the error (I am using java 8):
mvn clean test
rm unit_tests.txt
mvn dependency:copy-dependencies
to get dependenciesEnvironment:
The text was updated successfully, but these errors were encountered: