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
jdk21兼容问题
#337
suynane
opened
3 months ago
0
作者跑路了吗?
#336
liudaolunboluo
opened
5 months ago
0
同一方法调用是否可以设置不同的mock返回值
#335
LuuucasChen
closed
5 months ago
0
javademo为什么使用jacoco覆盖率依然为0?
#334
tangtangAiq
opened
7 months ago
0
一个被测试类可以有个多个Mock类吗?
#333
littlesky007
opened
9 months ago
0
springboot框架下拦截器中的方法怎么修改
#332
zbjbaggio
opened
1 year ago
0
SpringBoot3中@{argLine} 和 -javaagent不能同时使用
#331
Hinewhuang
opened
1 year ago
0
dao层mock 新增 修改 返回int类型接口,启动test报错,类型不匹配,改成Integer,mock不生效
#330
leige1027
opened
1 year ago
0
测试service 中调用dao 中继承自mybatis中basemapper通用方法,mock dao层 不生效
#329
leige1027
opened
1 year ago
0
按文档在test里设置jvmArgs报空指针
#328
zyk1995
opened
1 year ago
0
从0.7.7升级到0.7.9,启用OmniConstructor的字节码增强模式效率变得非常慢
#327
heyefu19920626
opened
1 year ago
0
使用OmniConstructor.newInstance()报错
#326
603686076
closed
1 year ago
1
与Jacoco一起使用时,不支持Java17
#325
eeokee
opened
1 year ago
0
使用@RequiredArgsConstructor出现Failed to load ApplicationContext
#324
yuesezhihuo-rgb
opened
1 year ago
0
被测试类的方法没有被mock
#323
xiaoweibahaha
opened
1 year ago
1
@MockContainer 注解对于继承类的void方法不能正常生效
#322
jixf
opened
1 year ago
0
如何避免mock代码异常提交
#321
dajitui
opened
1 year ago
3
OmniConstructor.newInstance(RyNormalTask.class) 报错 Failed to invoke constructor
#320
NominationP
closed
1 year ago
1
建议:建议增加两个快速开始文档
#318
ZGarry
opened
1 year ago
2
Maven package failed due to EnablePrivateAccessProcessor
#317
Hinewhuang
closed
1 year ago
5
包路径映射后,mock未生效
#316
haohongbin
closed
1 year ago
0
when use MockWith annotation, mockClass not right
#315
winstonczc
opened
1 year ago
2
OmniConstructor工具类,开启了字节码增强,但mock对象时还是会随机偶发报错
#314
caofanCPU
opened
1 year ago
3
java.lang.NoSuchMethodError:Mock容器类下的@MockNew方法,无法通过@MockContainer继承生效
#313
kisssjqia
opened
1 year ago
0
Mock Kotlin的 companion object 方法异常
#312
LitterSun
opened
1 year ago
0
添加@{argLine} 后 Mock 似乎失效了 报 NullPointer ERROR
#311
feiyuzzz
closed
1 year ago
3
中文文档也认真些
#310
wind7rui
opened
1 year ago
1
@MockContainer被移除了吗?
#309
kisssjqia
closed
1 year ago
3
是否支持针对方法的Mock作用域注解
#308
ppanda2021
closed
1 year ago
1
接口mock无效
#307
kisssjqia
closed
1 year ago
2
使用spock + testable_mock的方式,如何可以单用例执行
#306
ppanda2021
closed
1 year ago
2
如何mock私有内部类
#305
bingyangJavaLearning
closed
1 year ago
2
如果被测方法是异步调用,则 withTimes 不生效
#304
oriming
closed
1 year ago
4
Cannot get property 'absolutePath' on null object
#303
fcc10267091
opened
2 years ago
1
EnablePrivateAccessProcessor Unable to get public no-arg constructor
#302
chenww
opened
2 years ago
3
静态代码块
#301
ChenJunGui
opened
2 years ago
1
mybatisplus常用方法mock失败
#300
itxiaobai123
opened
2 years ago
2
把Mock类移到另外的包中,代理规则就变了
#299
lihuachuan
opened
2 years ago
1
找不到Mock Class
#298
heyefu19920626
closed
2 years ago
0
是否会影响jacoco代码覆盖率
#297
matthewZZC
opened
2 years ago
1
MOCK父类中外调方法不生效
#296
ghost
opened
2 years ago
4
如何Mock多个值
#295
Modplay
opened
2 years ago
1
单元测试中无法mock mapper方法返回我预定返回的值
#294
HeCHieh
closed
2 years ago
0
Corrupted STDOUT by directly writing to native stream in forked JVM 1. Stream '[INFO] TestableMock start at '.
#293
JYHarvest
closed
2 years ago
1
子类如何Mock父类中的protected属性
#292
yark9527
opened
2 years ago
1
当某个类依赖2个含有相同方法签名的类时,定义局部Mock,会出现方法签名冲突的问题。
#291
goldbrown
closed
2 years ago
1
Mock和Springboot Test冲突
#290
bqingAll
closed
2 years ago
2
能否更灵活的引入多个Mock容器
#289
SnowFlakeLeaf
opened
2 years ago
2
直接调用的方法被Mock后不生效,间接调用的生效
#288
wushifeng
opened
2 years ago
6
被测类间接依赖的静态方法调用没法mock
#287
Juwairen2021
opened
2 years ago
1
Next