MediumScenarioErrors, testing and tooling
How would you mock a database in tests?
This answer is part of Pro
12 of 90 Golang Developer answers are free. A Pro pass opens the rest, including hands-on task steps.
PreviousYour tests pass locally but fail intermittently in CI. What do you check?Next How do you start an HTTP server in Go?