Change to two spaces

This commit is contained in:
Oliver Davies 2024-09-08 23:09:54 +01:00
parent 2537fe2052
commit ed60ab964c
556 changed files with 2252 additions and 2252 deletions

View file

@ -1,13 +1,13 @@
---
title: >
Avoiding over-mocking
Avoiding over-mocking
pubDate: 2023-11-16
permalink: >-
archive/2023/11/16/avoiding-over-mocking
archive/2023/11/16/avoiding-over-mocking
tags:
- software-development
- automated-testing
- test-driven-development
- software-development
- automated-testing
- test-driven-development
---
In unit tests, and sometimes in kernel tests, you need to mock the dependencies you aren't testing, but you can over-mock and only be testing the mocks and not the code you want to test.