issues
search
alibaba
/
testable-mock
换种思路写Mock,让单元测试更简单
https://alibaba.github.io/testable-mock/
MIT License
1.83k
stars
310
forks
source link
issues
Newest
Newest
Most commented
Recently updated
Oldest
Least commented
Least recently updated
加上${argLine}标签后单元测试出现乱码
#236
ghost
closed
3 years ago
2
利用OmniConstructor.newInstance构造部分对象会报错Failed to invoke constructor
#235
wh-upup
closed
2 years ago
2
[Lambda] Fixed method reference external var
#234
zcbbpo
closed
3 years ago
1
0.6.9版本,被测类存在方法引用时,Mock初始化报错
#233
VicDelacroix
closed
3 years ago
5
mock无法生效
#232
JustForLp
closed
2 years ago
1
接口继承支持
#231
HankDevelop
closed
3 years ago
1
不支持在父类Test里直接使用MOCK_CONTEXT
#230
liranGG
closed
2 years ago
1
不支持在Mock类通用方法里直接使用MOCK_CONTEXT,另外Debug其全程显示为null影响排错
#229
liranGG
opened
3 years ago
1
被测试类内部方法调用如何mock
#228
lawrencewu
closed
2 years ago
1
莫名其妙空指针
#227
liranGG
closed
3 years ago
4
私有方法单测不支持传null参进行测试
#226
liranGG
closed
3 years ago
3
被测试类的成员变量类型为第三方库中的类时,使用OmniConstructor.newInstance()创建被测试类成功,但该成员变量为null
#225
cc2424
closed
2 years ago
2
PrivateAccessor.set无法修改私有属性,当启用druid.aop-patterns时
#224
magicgw0928
closed
3 years ago
2
Fixed a flaky test in core.tool.OmniAccessorTest
#223
Augustine-C
closed
3 years ago
2
@MockMethod的方法不生效
#222
xiaoyangzhang
closed
2 years ago
1
Fixed method reference
#208
zcbbpo
closed
3 years ago
0
Fixed lambda method reference
#207
zcbbpo
closed
3 years ago
1
Lambada Method Reference
#206
zcbbpo
closed
3 years ago
1
testable.version>0.52 无法与 swagger 集成
#205
cuiyuanjie
opened
3 years ago
2
抽象类的Mock如何定义
#204
warmsnial
closed
3 years ago
0
当用户在pom.xml中配置了<directory>, testable-agent.log将不会生成
#203
zcbbpo
closed
3 years ago
1
lambda 支持
#202
zcbbpo
closed
3 years ago
1
testable-agent.log 文件未找到
#201
zcbbpo
closed
3 years ago
1
Mock容器里面的mock方法还得明确指定targetClass是不是有点不符合语义
#200
JiaRG
opened
3 years ago
1
希望连接多个Mock
#199
einsitang
opened
3 years ago
4
切面aop怎么去mock
#198
penghuan2019
opened
3 years ago
1
设置omni.constructor.enhance.enable=true后,原先使用mockito写的单元测试出现问题。
#197
Sunkl0902
closed
2 years ago
5
Mock通用Mapper的方法没有调用
#196
niu-jifei
closed
2 years ago
1
无法通过约定定位到Mock类
#195
imzhizi
closed
2 years ago
1
被mock的方法有多个用例下的返回值
#194
liudaolunboluo
closed
2 years ago
1
想通过EnablePrivateAccess注解修改被测类的私有属性,但是一运行测试方法就失败并返回错误
#193
mi-im
closed
3 years ago
4
mock被测试类父类中的成员变量(protected)的方法无法生效
#192
lingyunlujixin
closed
3 years ago
2
Mock类继承不生效
#191
lingyunlujixin
closed
3 years ago
2
@MockMethod注解mock方法无效
#190
hao0111
closed
3 years ago
7
在bamboo运行OmniConstructor.newInstance发现以下异常
#189
wulihuawuqia
closed
2 years ago
2
现在有一个这样的情况,关于被mock的方法,
#188
mi-im
closed
3 years ago
3
mybatis-plus 支持吗
#187
wy1689979008
opened
3 years ago
4
可以用[PrivateAccessor](https://alibaba.github.io/testable-mock/#/zh-cn/doc/private-accessor)+[OmniConstructor](https://alibaba.github.io/testable-mock/#/zh-cn/doc/omni-constructor)直接在测试用例创建被测对象以后,把其中的成员字段直接初始化赋值。
#186
wy1689979008
closed
3 years ago
1
MockMethod注解无法生效
#185
huangjiamei
opened
3 years ago
1
复用Mock方法,报错java.lang.NoSuchMethodError
#184
niu-jifei
closed
3 years ago
2
TestableTool.MOCK_CONTEXT报空指针异常
#183
maojiuyao
closed
2 years ago
6
跨模块interface引用问题
#182
liangjiawei
closed
2 years ago
8
Can not set static final int field
#181
WilsonWu1995
closed
3 years ago
2
对于mybatis-plus-core包下的 BaseMapper的方法 目前不支持mock
#180
juin33
closed
3 years ago
1
@MockWith不生效的问题
#179
elvis-fxw
closed
2 years ago
2
ant, testablemock, junit, jacoco,不能生成覆盖率报告
#178
Xiangqian-Dong
closed
3 years ago
4
scope=ASSOCIATED时报错,Illegal class name ""
#177
VicDelacroix
closed
2 years ago
6
Spock mock失败
#176
ShadowTwj
closed
3 years ago
3
成员变量静态方法初始化如何 Mock?
#175
ShadowTwj
closed
3 years ago
2
间接mock静态方法失效
#174
Qwenjin
opened
3 years ago
5
Previous
Next