go-sqlmock
Mock
A tool to simulate SQL driver behavior in Go tests without needing a real database connection.
Sql mock driver for golang to test database interactions
6k stars
48 watching
407 forks
Language: Go
last commit: 2 months ago
Linked from 2 awesome lists
databasegogolangmocksqlsql-drivertddtesting
Related projects:
Repository | Description | Stars |
---|---|---|
go-sql-driver/mysql | A MySQL driver library for Go's database/sql package | 14,546 |
volatiletech/sqlboiler | An ORM generator that creates a Go-based data access layer from an existing database schema. | 6,763 |
jmoiron/sqlx | An extension to Go's standard database/sql library, adding features like parameterized queries and row marshaling. | 16,266 |
data-dog/go-txdb | A single transaction-based SQL driver package that provides an isolated testing environment for databases. | 665 |
mattn/go-sqlite3 | A SQLite driver for Go that allows developers to interact with SQLite databases using the standard database/sql interface. | 8,018 |
godror/godror | A Go driver for connecting to Oracle Database using the OCI wrapper | 531 |
apache/cassandra-gocql-driver | A fast and robust Cassandra client for the Go programming language | 2,584 |
doug-martin/goqu | An expressive SQL builder and executor for Go | 2,403 |
clickhouse/clickhouse-go | A Golang driver for the ClickHouse database system | 2,912 |
masterminds/squirrel | A fluent SQL generator for Go that builds queries from composable parts and executes them directly. | 7,000 |
vektra/mockery | Automated code generation tool for creating mock interfaces in Go | 6,143 |
xujiajun/godbal | A Go library for building and executing SQL queries with a focus on simplicity and ease of use. | 59 |
xxjwxc/gormt | Automates conversion of MySQL database to Go structs using GORM | 2,359 |
minus5/gofreetds | A Go driver for interacting with Microsoft SQL Server databases | 113 |
ydb-platform/ydb-go-sdk | A pure Go native and database/sql driver for YDB | 143 |