I am having hard time running jmockit on idea.
i am using version 11.1.2 idea, jmockit-0.999.16.jar, testng6.0.1.jar.
http://jmockit.googlecode.com/svn/trunk/www/gettingStarted.html part 4 it is said that I need to give javaagent.
I am setting like that:
But i am still getting in my console:
WARNING: JMockit was initialized on demand, which may cause certain tests to fail;
please check the documentation for better ways to get it initialized.
And later I am getting NP exception during creation of Expectations class. it is because of jmockit is not intialized correctly i think.
How can i set up correctly?