Skip to content
SPECIFICTION
Get listed

grpcmock vs grpcmock-go

grpcmock

grpcmock.org

grpcmock-go

github.com

Side by side

Figuregrpcmockgrpcmock-go
Price from—Free
Free plan—Yes
Free trial——
Open source——
Linux—Yes
Self-hostedYesYes
Plans published01
Spec score · gRPC Tools6.9 (#23)8.1 (#6)
LicenseThe project’s GitHub page identifies its license as Apache-2.0.The repository identifies its license as MIT.
PurposegRPC Mock is a Java testing tool for mocking gRPC service endpoints in integration or unit tests.grpcmock is a set of gRPC test utilities for Golang.

Plans

grpcmock

No plans published.

grpcmock pricing →

grpcmock-go

  • Open-source Go moduleFree

grpcmock-go pricing →

In their own words

grpcmock

grpcmock has no write-up on Specifiction yet; its figures are above.

Visit grpcmock.org

grpcmock-go

grpcmock-go is a free, MIT-licensed Go module providing gRPC testing utilities. It helps tests mock gRPC servers, configure expectations for methods, headers, and payloads, and invoke client calls. Supported methods include unary, client-streaming, server-streaming, and bidirectional-streaming patterns. Request matching can use exact values, regular expressions, JSON, or custom matchers. Mock responses may return payloads, errors, or custom-handler results, and streaming client invocations can use custom handlers. Services can be registered from generated Go code, service instances, or individual methods when generated code is unavailable. The project recommends MockServerWithBufConn for in-memory application testing, with examples using bufconn listeners and context dialers. Installation uses `go get go.nhat.io/grpcmock`, and Go 1.25 or later is required. GitHub lists v0.34.0, released December 12, 2025, as the latest release. The Open-source Go module plan costs nothing.

Visit github.com