admin管理员组

文章数量:1559094

when we using jmokit and junit, it will show following warning when runing test cases in eclipse:

 

warning: jmockit was initialized on demand, which may cause certain tests to fail;
please check the documentation for better ways to get it initialized.

 

solution:

add following in jvm arguments

-javaagent:{jmokit file location}/jmockit-0.999.19.jar

本文标签: warning