From 38f2da27a2d339d6743ef2475718b524dc846e9c Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sun, 3 Nov 2024 23:12:12 +0000 Subject: [PATCH] Add daily email for 2024-11-03 Passing tests doesn't mean a working application --- source/_daily_emails/2024-11-03.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 source/_daily_emails/2024-11-03.md diff --git a/source/_daily_emails/2024-11-03.md b/source/_daily_emails/2024-11-03.md new file mode 100644 index 00000000..8d17eb82 --- /dev/null +++ b/source/_daily_emails/2024-11-03.md @@ -0,0 +1,24 @@ +--- +title: Passing tests doesn't mean a working application +date: 2024-11-03 +permalink: daily/2024/11/03/passing-tests-doesnt-mean-a-working-application +tags: + - software-development + - automated-testing + - test-driven-development +cta: d7eol +snippet: | + Having a passing test suite doesn't mean your application works. +--- + +Having a passing test suite doesn't mean everything in your application is working. + +It means the functionality you previously tested is working. + +There may be edge cases you haven't covered or whole tests you haven't written yet, which may be working or could be broken. + +If you have tests that were passing that are now failing, you know you've broken something. + +Something that was previously working is broken and shouldn't be deployed. + +That's why having tests is important - they give you the ability to identify and fix regressions before they are released.