Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

Jmockit with idea problem

$
0
0

Hi all.

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:

idea-jmock.jpg

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?


Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>