-
jmockit 1.8, jmockit 1.25
I don't understand why test_2 fails when test_1 passes!?
``` java
import static org.junit.Assert.*;
import mockit.Mock;
import mockit.MockUp;
import org.junit.Before;
impo…
-
Hi,
I wonder if you can help, i am using an excellent mocking library here https://github.com/NagRock/ts-mockito
I have managed to spy on real objects for example fs, process etc .. without any …
-
### Versions
* Version of JMockit that was used: 1.46
* Intellij IDEA's version :
Build #IU-193.5233.102, built on November 27, 2019
Runtime version: 11.0.4+10-b520.11 amd64
VM: OpenJDK 64-Bit…
-
Please provide the following information:
* Version of JMockit that was used:
1.49
* Version of TestNG was used:
6.11, 6.13, 7.0.0
* Description of the problem or enhancement request:
Sin…
-
Hi, I am migrating to newer versions of Jmockit. Currently stuck on 1.35 as 1.36 removes StrictExpectations. This is a problem where we have a test for a method that shall handle exceptions from under…
-
Please provide the following information:
* Version of JMockit that was used: jmockit-1.48.jar
* Description of the problem :
### Used JDK version : 1.8.0_181
### **Used TestNG version :**…
-
Spring Boot 1.5.4.RELEASE
If you have a unit test class that extends `AbstractTransactionalJUnit4SpringContextTests` and you annotate beans in your test class with `@MockBean`, all of those beans w…
-
**Tip: This is a beginner level Docusaurus task that requires almost no coding and is more targeted at newcomers to the project and Open Source.**
## 📚 Documentation
We want to feature more Docu…
-
-
JDK1.7
Spring4
在做controller单测时,mock静态方法试了好几种方式(mockUp和Expectations)都不行,报java.util.ServiceConfigurationError: com.sun.tools.attach.spi.AttachProvider: Provider sun.tools.attach.WindowsAttachProvider …