Add daily email for 2024-04-28

This commit is contained in:
Oliver Davies 2024-05-01 00:32:11 +01:00
parent 306b62a542
commit b7cfed428e

View file

@ -0,0 +1,15 @@
---
title: Replicating a bug with a test
date: 2024-04-28
permalink: archive/2024/04/28/replicating-a-bug-with-a-test
tags:
- software-development
- automated-testing
cta: ~
snippet: |
When fixing a bug, do you try to replicate it with a test?
---
When fixing a bug, can you write a new failing test to replicate the bug?
If so, you verify the bug exists, you know when it's fixed (the test passes), and you know you won't introduce the same bug again - otherwise, the new test will fail.