oliverdavies.uk/source/_daily_emails/2024-04-28.md
Oliver Davies 5eba6de81a Update daily email permalinks
This is a follow-up to commit 3be9031de8
as each daily email has a `permalink` value that overrides the default
content type permalink.
2024-05-21 00:03:52 +01:00

501 B

title date permalink tags cta snippet
Replicating a bug with a test 2024-04-28 daily/2024/04/28/replicating-a-bug-with-a-test
software-development
automated-testing
~ 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.