tidb-lite: used for unit testing of Golang database-related code

This page summarizes the projects mentioned and recommended in the original post on dev.to

InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
Sevalla - Deploy and host your apps and databases, now with $50 credit!
Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!
sevalla.com
featured
  1. tidb-lite

    Using tidb-lite to create a TiDB server with mocktikv mode in your application or unit test.

    Use tidb-lite to run TiDB in mocktikv mode in Golang code.

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. go-sqlmock

    Sql mock driver for golang to test database interactions

    Another common method is to mock SQL services in the test. At present, the more popular solution is to use go-sqlmock.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Stubbing HTTP communication in E2E test with Hoverfly

    1 project | dev.to | 6 Nov 2024
  • Integration Tests in Go with Cucumber, Testcontainers, and HTTPMock

    4 projects | dev.to | 11 Sep 2024
  • Princípios SOLID em GoLang - Dependency Inversion Principle (DIP)

    1 project | dev.to | 3 Aug 2024
  • I Write Tests in Go

    1 project | news.ycombinator.com | 10 Apr 2024
  • How do you unit-test code that reaches out to the db, without introducing interfaces everywhere?

    1 project | /r/golang | 16 Aug 2023

Did you know that Go is
the 4th most popular programming language
based on number of references?