gmm(go-mysql-mocker) is a simple but useful tool to mock mysql server in Go project, it is especially useful in unit testing. This tool uses dolthub/go-mysql-server as memory server and gorm to auto create table and init data.
mock golang unit-testing database mock-server mysql-server mock-data unit-test go-mysql go-mocking go-mock-testing mysql-test mock-test unit-test-framework go-unit-testing go-mysql-server
-
Updated
Mar 7, 2025 - Go