mockery

A mock code autogenerator for Go (by vektra)

Mockery Alternatives

Similar projects and alternatives to mockery

  1. go

    2,418 mockery VS go

    The Go programming language

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. k3s

    332 mockery VS k3s

    Lightweight Kubernetes

  4. keploy

    Open-source platform for creating safe, isolated production sandboxes for API, integration, and E2E testing.

  5. GORM

    95 mockery VS GORM

    The fantastic ORM library for Golang, aims to be developer friendly

  6. Testify

    A toolkit with common assertions and mocks that plays nicely with the standard library

  7. gomock

    Discontinued GoMock is a mocking framework for the Go programming language. (by golang)

  8. websocket

    Discontinued A fast, well-tested and widely used WebSocket implementation for Go.

  9. swag

    44 mockery VS swag

    Automatically generate RESTful API documentation with Swagger 2.0 for Go.

  10. testcontainers-go

    Testcontainers for Go is a Go package that makes it simple to create and clean up container-based dependencies for automated integration/smoke tests. The clean, easy-to-use API enables developers to programmatically define containers that should be run as part of a test and clean up those resources when the test is done.

  11. counterfeiter

    A tool for generating self-contained, type-safe test doubles in go

  12. moq

    16 mockery VS moq

    Interface mocking tool for go generate (by matryer)

  13. hoverfly

    Lightweight service virtualization/ API simulation / API mocking tool for developers and testers

  14. minimock

    Powerful mock generation tool for Go programming language

  15. is

    8 mockery VS is

    Professional lightweight testing mini-framework for Go.

  16. go-sqlmock

    Sql mock driver for golang to test database interactions

  17. kin-openapi

    OpenAPI 3.0 and 3.1 (and Swagger v2) implementation for Go (parsing, converting, validation, and more)

  18. go-smtp-mock

    SMTP mock server written on Golang. Mimic any ๐Ÿ“ค SMTP server behavior for your test environment with fake SMTP server.

  19. ecommerce-microservices

    Discontinued ๐Ÿ›๏ธ A practical e-commerce Microservices based on Domain Driven Design, Vertical Slice Architecture, CQRS pattern, Event Driven Architecture.

  20. Go-MediatR

    ๐Ÿšƒ A library for handling mediator patterns and simplified CQRS patterns within an event-driven architecture, inspired by csharp MediatR library.

  21. webmock

    Webmock for Golang, to stub requests. (by hlcfan)

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better mockery alternative or higher similarity.

mockery discussion

Log in or Post with

mockery reviews and mentions

Posts with mentions or reviews of mockery. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2026-01-05.

Stats

Basic mockery repo stats
22
7,133
8.8
4 days ago

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

Did you know that Go is
the 4th most popular programming language
based on number of references?