mirror of
https://github.com/mfocko/blog.git
synced 2024-11-10 00:09:07 +01:00
blog(mock-hell): add stub
Signed-off-by: Matej Focko <mfocko@redhat.com>
This commit is contained in:
parent
40d487270b
commit
80d9d1a260
1 changed files with 33 additions and 0 deletions
33
blog/2023-10-09-mock-hell.md
Normal file
33
blog/2023-10-09-mock-hell.md
Normal file
|
@ -0,0 +1,33 @@
|
|||
---
|
||||
title: Mocking hell
|
||||
description: How can mocking make your life a hell.
|
||||
date: 2023-10-09
|
||||
authors:
|
||||
- key: mf
|
||||
title: a.k.a. hater of languages with dynamic typing
|
||||
tags:
|
||||
- 🏭
|
||||
- red-hat
|
||||
- python
|
||||
- tests
|
||||
- mocks
|
||||
---
|
||||
|
||||
Mocking is a pretty standard technique used in tests, is the benefit bigger than
|
||||
the negatives though?
|
||||
|
||||
<!--truncate-->
|
||||
|
||||
## Positives of mocking
|
||||
|
||||
## Negatives of mocking
|
||||
|
||||
### Mocking functions that need network access
|
||||
|
||||
### Mocking in dynamically typed language
|
||||
|
||||
### Scope
|
||||
|
||||
### Small changes in the code
|
||||
|
||||
## Summary
|
Loading…
Reference in a new issue