jmockdata icon indicating copy to clipboard operation
jmockdata copied to clipboard

The plugin to mock the java data by random.

Results 25 jmockdata issues
Sort by recently updated
recently updated
newest added

![image](https://user-images.githubusercontent.com/26239751/108342915-4ce73580-7216-11eb-8aac-ff70ecfae8d9.png) 从源码看目前枚举值只能随机啊,啥时候能支持自定义值就好了,因为有些场景是有层级关系的,比如区域,我们要先建国、在建省这样的

![image](https://user-images.githubusercontent.com/26239751/108342730-1ad5d380-7216-11eb-9a6c-09944a71db86.png) 大佬看看这种问题要如何解决啊

### 1、示例 > OuterBean ``` public class OuterBean { private T result; public T getResult() { return result; } public void setResult(T result) { this.result = result; } } ```...

![image](https://user-images.githubusercontent.com/21021062/106568076-be17bf00-656d-11eb-905f-44ba2fa682d8.png) ![image](https://user-images.githubusercontent.com/21021062/106568114-cbcd4480-656d-11eb-89af-1a16ddfd5a43.png) ![image](https://user-images.githubusercontent.com/21021062/106568130-d4257f80-656d-11eb-9b54-0d46bb405220.png)

目前通过默认无参构造方法,支持可选的构造方法。

继承自泛型父类的Bean的Mock过程抛出null异常 RealData createMock = JMockData.mock(RealData.class); /** * 父类,省略get/set方法 * @param * @param */ public static class BaseData{ private T time; private D data; } /** * 子类 */ public static...

在Jvm代理类中synthetic标识的类为JVM注入属性,不需要mockdata处理

Bumps [junit](https://github.com/junit-team/junit4) from 4.12 to 4.13.1. Release notes Sourced from junit's releases. JUnit 4.13.1 Please refer to the release notes for details. JUnit 4.13 Please refer to the release notes...

dependencies