For a testing framework for Go applications, the strongest matches are onsi/ginkgo (Ginkgo is a comprehensive behavior-driven development framework for Go), smartystreets/goconvey (GoConvey is a comprehensive testing framework for Go that) and stretchr/testify (Testify is a comprehensive and widely-adopted toolkit for Go). Each is ranked by relevance to your query, popularity and recent activity.
نحن نختار بعناية مستودعات GitHub مفتوحة المصدر التي تطابق “best go testing frameworks”. النتائج مرتبة حسب صلتها ببحثك — استخدم الفلاتر أدناه للتضييق، أو قم بتحسين البحث باستخدام الذكاء الاصطناعي.
Ginkgo is a behavior-driven development testing framework, assertion library, and test runner for Go. It provides a domain-specific language for writing human-readable specifications, organizing tests into hierarchical containers and subjects to describe system behavior. The project distinguishes itself through advanced execution control and observability, featuring a test runner capable of parallel distribution, sharding, and randomized execution order to detect flaky tests. It includes specialized diagnostic tools for goroutine leak detection, hanging spec monitoring, and failure state debu
Ginkgo is a comprehensive behavior-driven development framework for Go that provides a robust suite of tools for assertions, parallel test execution, and advanced diagnostic reporting.
GoConvey is a behavioral testing framework for the Go programming language that provides a test runner, a code coverage tool, and a web-based monitoring dashboard. It integrates with the standard Go test command to organize tests into behavioral stories and conveyors. The project features a web interface that monitors the file system for source code changes and automatically triggers test execution to provide real-time feedback. This dashboard displays test results, failures, and a chronological history of execution status. The framework includes a state assertion system for verifying values
GoConvey is a comprehensive testing framework for Go that provides a built-in assertion library, behavior-driven development syntax, and a real-time web dashboard for monitoring test execution and coverage.
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
Testify is a comprehensive and widely-adopted toolkit for Go that provides the essential assertion and mocking capabilities required for robust unit and integration testing workflows.