67 Repos
Frameworks for unit, integration, and behavior-driven testing.
Explore 67 awesome GitHub repositories matching part of an awesome list · Testing and QA. Refine with filters or upvote what's useful.
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
Extension for the standard testing package.
GoMock is a mocking framework for the Go programming language.
Mocking framework for Go.
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
BDD-style testing framework with web UI.
Devtools-based web automation.
go-sqlmock is a Go library that simulates SQL driver behavior for unit testing by intercepting database calls through the standard database/sql/driver interface, eliminating the need for a real database connection. It provides a comprehensive mocking framework that allows developers to define expectations for SQL operations, including queries, executions, prepared statements, and transaction lifecycles, with precise control over the results and errors returned. The library distinguishes itself through its flexible matching and verification capabilities. It supports regex-based or exact SQL
SQL mock for database interaction testing.
go-fuzz is a coverage-guided randomized testing tool for identifying crashes and logic bugs in Go code. It consists of a fuzzer that evolves random inputs based on code execution paths, an instrumentation tool that produces binaries for tracking coverage, and a seed corpus manager. The tool utilizes compile-time binary instrumentation to monitor branch coverage and employs a feedback-driven mutation loop to prioritize inputs that reach new sections of the codebase. It includes capabilities for comparative differential testing to identify logic errors by executing different implementations of
Randomized testing system.
go-cmp ist eine Vergleichsbibliothek für Go, die für den Einsatz in Test-Suiten entwickelt wurde. Sie fungiert als rekursives Daten-Differenzierungs- und Assertion-Tool, das bestimmt, ob zwei komplexe Datenstrukturen semantisch gleich sind, anstatt sich auf strikte bitweise Gleichheit zu verlassen. Die Bibliothek bietet ein Framework zur Definition spezialisierter Vergleichslogik, das es Benutzern ermöglicht, benutzerdefinierte Gleichheits-Overrides für spezifische Typen zu registrieren. Sie enthält Mechanismen zur Verwaltung der Handhabung nicht exportierter Felder während der Traversierung, um Laufzeit-Panics bei Deep-Equality-Checks zu verhindern. Das System nutzt reflektionsbasierte Wert-Traversierung, um spezifische Diskrepanzen zwischen erwarteten und tatsächlichen Werten zu identifizieren und detaillierte Unterschiede zu liefern, wenn Werte nicht übereinstimmen. Sie unterstützt typspezifisches Gleichheits-Dispatching und konfigurierbares Vergleichsverhalten.
Package for comparing Go values in tests.
End-to-end HTTP and REST API testing for Go.
Declarative end-to-end HTTP and REST API testing.
Selenoid is a powerful implementation of Selenium hub using Docker containers to launch browsers.
Containerized Selenium hub replacement.
Lightweight service virtualization/ API simulation / API mocking tool for developers and testers
HTTP(S) proxy for API simulation.
HTTP traffic mocking and testing made easy in Go ༼ʘ̚ل͜ʘ̚༽
HTTP mock library.
HTTP mocking for Golang
HTTP response mocking library.
Fuzz testing for go.
Random value generation for object initialization.
Record and replay your HTTP interactions for fast, deterministic and accurate tests
Record and replay HTTP interactions.
Ruby on Rails like test fixtures for Go. Write tests against a real database
Rails-style database testing tool.
Run a real Postgres database locally on Linux, OSX or Windows as part of another Go application or test
Local Postgres runner for testing.
A tool for generating self-contained, type-safe test doubles in go
Mock object generation tool.
Minimal and Beautiful Go testing framework
Mocha-like testing framework.
A Comprehensive Coverage Testing System for The Go Programming Language
Comprehensive coverage testing system.
Package cdp provides type-safe bindings for the Chrome DevTools Protocol (CDP), written in the Go programming language.
Type-safe Chrome Debug Protocol interface.