Dominik
Blog Contact
  1. Blog
  2. /
  3. Software Engineering
  • Computer Science
  • Docker
  • Electric Vehicles
  • 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
Oct 21, 2026 — 12:53
Local time in Straubing, Germany
© 2026 dominik.info
Just a tree.