Registry / testing / bytedance-mockey

bytedance-mockey

JSON →
library1.4.6gogounverified

A Go mocking library for testing, providing easy mock generation and verification.

go get github.com/bytedance/mockey
INSTALL
IMPORT
SIG · BYTEDANCE-MOCKEY
B
bytedance-mockey
testinggov1.4.6
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

mockey
github.com/bytedance/mockey

Creates a mock for an interface method.

package main import ( "fmt" "github.com/bytedance/mockey" ) func main() { mock := mockey.Mock((*MyInterface).Method).Return("mocked").Build() fmt.Println(mock) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.4.6latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
17 hits · last 30 days
node
14
Amazon
1
OpenAI (training)
1
Resources
bytedance-mockey — go get bytedance-mockey · libregistry