awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

Go Testing Assertions and Mocking

Ranking updated Jun 30, 2026

Collection of libraries for writing unit tests, managing test assertions, and creating mock objects in Go.

Go Testing Assertions and Mocking

Find the best repos with AI.We'll search the best matching repositories with AI.
  • stretchr/testifystretchr avatar

    stretchr/testify

    25,861View on GitHub↗

    Testify is a comprehensive testing toolkit for Go that provides a suite of assertion libraries and mocking frameworks to validate code behavior. It enables developers to write automated tests by comparing actual results against expected outcomes, ensuring that functional requirements are met throughout the development process. The project distinguishes itself through its flexible failure propagation, which allows tests to either halt execution immediately upon a failed requirement or return boolean results for conditional logic. It includes deep-equality object comparison and JSON normalizati

    stretchr/testify is the de facto standard Go testing library, offering both assertion functions and a mocking framework that integrate seamlessly with go test, which directly matches the need for a simple yet powerful testing toolkit.

    GoMocking Frameworks
    View on GitHub↗25,861

Related searches

  • a testing framework for Go applications
  • a mocking library for stubbing HTTP requests in tests
  • a testing framework for Swift applications
  • a unit testing framework for C++
  • a unit testing framework for C#
  • a unit testing framework for JavaScript with snapshots
  • a testing framework for Python with fixtures
  • a data validation library for Go