EvoSuite / evosuite

EvoSuite - automated generation of JUnit test suites for Java classes
http://www.evosuite.org
GNU Lesser General Public License v3.0
841 stars 342 forks source link

Permission Issue for Generating CFGs #322

Open neelofarhassan opened 4 years ago

neelofarhassan commented 4 years ago

Context

java.io.FilePermission error when using flag "-Dwrite_cfg" with test generation command.

EvoSuite Arguments

java -jar /home/evosuite-1.1.0.jar -class Newzgrabber.Newzbatch -projectCP build/classes -Dshow_progress=false -Djunit_check=false -Dfilter_assertions=false -Dtest_comments=false -Duse_separate_classloader=true -Doutput_variables=TARGET_CLASS,algorithm,criterion,Total_Branches,Covered_Branches,BranchCoverage,Lines,Covered_Lines,LineCoverage,MethodCoverage,Size,Length,MutationScore,Total_Goals,Covered_Goals -Dsearch_budget=60 -Dalgorithm=MOSA -Dwrite_cfg=true

Current Result

Please describe here below the current result you got (if relevant) [if relevant, include a screenshot]

Additional info

Getting same error using both the latest and previous releases.