Xue Feng
unread,Sep 30, 2017, 5:42:12 AM9/30/17You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Hi,
I am learning how to using mockito to test. I want to use mockito
within Eclipse. I have two questions about how to install the mockito
library:
1. I have downloaded mockito-all-1.9.5.jar, and added it to the java
build path of a project within Eclipse. The tests works well. But, when
using new mockito-core-2.x.jar(it seems that mockito-all-2.x.jar does
not release any more), there are some libraries to be install
additionally to make mockito work. That is to say, mockito depends these
libraries. But, I have no idea which libraries are needed, and the
documents of mockito have no suggestions about it.
2. For every project, I have to add the jar of mockito into the java
build path within Eclipse. Is there any way to set the mockito to be
default library for each project created newly, just like junit?
Thanks!