_Leiii
_Leiii
like this `http://xxxx/applications/app/android/apptemplate/blob/4667d5542cd786d9f675d1acc70e30882e407288/app/src/main/java/com/tcl/app_template/MainApplication.java/diff?full=true&from_merge_request=true`
public class AuthorPageViewModel extends AndroidViewModel { private static final String TAG = "AuthorPageViewModel"; public AuthorPageViewModel(@NonNull Application application) { super(application); attachDeviceInfo(application); } private void attachDeviceInfo(Application application) { mDeviceInfo = new DeviceInfo();...
在执行 fetchData test 时。无法mock attachDeviceInfo
> Android项目添加`jvmArgs`参数的方式稍有不同,见[使用文档](http://freyrlin.gitee.io/testable-mock/#/zh-cn/doc/setup)末尾处,先确认一下是否与这个问题有关。 是添加在build.gradle 末尾吗
目前添加在配置文件末尾,或android 标签内部都无法生效
这个框架是必须基于Robolectric?不能是源生的Junit吗
如果有个Android项目Demo就好了
使用Robolectric+Testable ?
我上面描述的哪个问题目前有解决办法吗
Can someone help me