Dominik Contact
  1. Blog
  2. /
  3. Software Engineering
  • Computer Science
  • Docker
  • Go
  • Software Engineering

Should You Mock the Database?

To keep unit tests fast and isolated, the data access layer is often tested using a mock of the database. But are unit tests and mocks actually a good choice?

Software Engineering • Jan 18, 2022
Mar 12, 2026 — 07:36
Local time in Munich, Germany
© 2026 dominik.info