issues
search
agiledragon
/
gomonkey
gomonkey is a library to make monkey patching in unit tests easy
MIT License
1.92k
stars
178
forks
source link
issues
Newest
Newest
Most commented
Recently updated
Oldest
Least commented
Least recently updated
ApplyPrivateMethod return interface is invalid in 1.16
#118
maodou1990
opened
1 year ago
0
ApplyMethod invalid one case
#117
YouSec995
opened
1 year ago
0
如何打桩一个入参为interface{}的方法,实际入参是一个指针,在实现逻辑中修改指针指向的内容
#116
SleepPerformer
closed
1 year ago
0
Will panic if access interface method's parameters
#115
grovecai
opened
1 year ago
1
当被测函数只有一行代码的时候,打桩失败,很神奇
#114
jianxuanluyc
closed
1 year ago
1
panic: permission denied;go test ./main_test.go -gcflags=all=-l
#113
muzig
opened
1 year ago
1
panic: permission denied; While adding export GOARCH=amd64 debugger is not working. Apple M1 Pro
#112
avinashsingh1152
opened
1 year ago
2
feature: replace the arguments of a function
#111
eleztian
opened
1 year ago
1
ApplyMethod error occurred, target type and double type are different
#110
mmccto1500
closed
1 year ago
2
请问如何实现一个通用的Mock函数?
#109
soluty
opened
1 year ago
3
fix import for func_dsl_test.go
#108
itsgodzilla
closed
1 year ago
0
请问为什么gomonkey不支持方法指定入参的情况下指定返回值
#107
zhaofei01
opened
1 year ago
1
Do you have plan to support arm32?
#106
ganglyu
opened
1 year ago
2
可以对跨包的私有对象的方法打桩吗
#105
niclausse
closed
1 year ago
1
ApplyMethod possibly not work with generic types
#104
qiuchengxuan
opened
1 year ago
2
Feature: A method to get the original value
#103
Nomango
opened
1 year ago
16
希望提供一个方法把double对应的original取出来
#102
Nomango
closed
1 year ago
1
sir,can you give us a document about how to use and something about(security & performance )
#101
introspection3
opened
1 year ago
2
请问在一次调用之中,可以进行多次替换吗
#100
qiu-peng20
opened
1 year ago
0
tests not pass on M1/arm64 arch
#99
MOON-CLJ
opened
1 year ago
7
私有函数有办法进行mock吗?
#98
yourenawo
closed
1 year ago
4
ApplyPrivateMethod doesn't check whether target and double are of the same type
#97
miluchen
opened
1 year ago
0
打桩失效
#96
bllon
opened
2 years ago
1
couldn't mock generic function
#95
ericuni
closed
1 year ago
2
Allow repeat patch & Allow declare partial args & Allow interface arg
#94
zhongyuanjia
closed
1 year ago
0
User experience improvement
#93
zhongyuanjia
closed
2 years ago
0
关于reset
#92
zhangqiusuo
closed
1 year ago
1
remove "patch has been existed" check
#91
zhongyuanjia
closed
1 year ago
2
Bug apply variadic method
#90
punchio
closed
2 years ago
0
support variadic method
#89
punchio
closed
2 years ago
0
ApplyMethod failed without pointer
#88
mingforpc
closed
1 year ago
1
Method:buildJmpDirective报未定义
#87
rockingl
opened
2 years ago
6
err:private method feature for all go versions
#86
cofsonJame
closed
2 years ago
3
support PrivateMethodPatch on go1.17, go1.18
#85
hengwu0
closed
2 years ago
1
go1.18 support
#84
zhongyuanjia
closed
2 years ago
6
passing target no need to convert to reflect.Type
#83
AVOlili
closed
2 years ago
0
对于声明却未使用的桩需要报错 unused mock should be runtime painc
#82
JiangHanChao
closed
1 year ago
1
这个仓库的提交log 能一直保持用英文吗?
#80
FishingGo
closed
2 years ago
2
是否考虑支持对单测mock函数的入参进行校验?
#79
JiangHanChao
closed
2 years ago
1
新增支持指定返回值和method不用传入receiver
#78
AVOlili
closed
2 years ago
0
panic: permission denied [recovered] macOS 12 apple m1 pro
#77
hao1032
opened
2 years ago
23
permission denied
#76
xnnyeYp
closed
1 year ago
2
add 386 supported
#75
segdumping
closed
2 years ago
0
jmp能不能加一下对386机器的支持
#74
segdumping
closed
2 years ago
2
Can you Contact me?
#73
dino-ma
closed
2 years ago
1
Cross page bug fix.
#72
wathenjiang
closed
2 years ago
0
A bug about cross page.
#71
wathenjiang
closed
2 years ago
2
macOS permission denied
#70
liangjingkanji
opened
2 years ago
62
有没有方式支持一个私有接收者的方法?
#69
lockdown56
closed
2 years ago
3
ApplyMethod提示"double is not a func"
#68
dennisleung
closed
2 years ago
1
Previous
Next