From e4153c22dedd1d11be1c07f79509277c1a2bab8b Mon Sep 17 00:00:00 2001 From: John Watson Date: Wed, 7 Jan 2026 12:32:33 +0000 Subject: [PATCH 1/5] Add testing to code principles --- docs/principles/coding_principles.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/principles/coding_principles.md b/docs/principles/coding_principles.md index c732e13c..5a7c54ae 100644 --- a/docs/principles/coding_principles.md +++ b/docs/principles/coding_principles.md @@ -40,3 +40,12 @@ They will not have the understanding and context you do at the time of writing i ### Code securely > We incorporate good security practice in all our code + +### We test our code + +> Tests can act as good documentation as well as avoiding bugs and regression issues. + +- It is usually self documenting +- Increases quality +- Provides confidence in the implementation +- For low code platforms, Integration testing often adds more value From 8cb10df3fa7a6a2be748adffb369574b9c2a8e68 Mon Sep 17 00:00:00 2001 From: John Watson Date: Wed, 7 Jan 2026 12:36:21 +0000 Subject: [PATCH 2/5] Reword bullets --- docs/principles/coding_principles.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/principles/coding_principles.md b/docs/principles/coding_principles.md index 5a7c54ae..25603efb 100644 --- a/docs/principles/coding_principles.md +++ b/docs/principles/coding_principles.md @@ -48,4 +48,5 @@ They will not have the understanding and context you do at the time of writing i - It is usually self documenting - Increases quality - Provides confidence in the implementation -- For low code platforms, Integration testing often adds more value +- Enables safe refactoring and code improvements +- Catches bugs early when they're cheaper to fix From d5f13aa5e4c2843352dc90a676b019c5cf0b93e0 Mon Sep 17 00:00:00 2001 From: John Watson Date: Fri, 9 Jan 2026 15:22:30 +0000 Subject: [PATCH 3/5] Tweak statement --- docs/principles/coding_principles.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/principles/coding_principles.md b/docs/principles/coding_principles.md index 25603efb..a7363e66 100644 --- a/docs/principles/coding_principles.md +++ b/docs/principles/coding_principles.md @@ -43,7 +43,7 @@ They will not have the understanding and context you do at the time of writing i ### We test our code -> Tests can act as good documentation as well as avoiding bugs and regression issues. +> We are always able to prove that our code works and functions correctly with an automated test suite - It is usually self documenting - Increases quality From 6a2b26d49f1b5bb79ab341d48a6811f7018d4e21 Mon Sep 17 00:00:00 2001 From: John Watson Date: Fri, 9 Jan 2026 15:26:16 +0000 Subject: [PATCH 4/5] Amend supports --- docs/principles/coding_principles.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/principles/coding_principles.md b/docs/principles/coding_principles.md index a7363e66..f90ccacd 100644 --- a/docs/principles/coding_principles.md +++ b/docs/principles/coding_principles.md @@ -45,7 +45,7 @@ They will not have the understanding and context you do at the time of writing i > We are always able to prove that our code works and functions correctly with an automated test suite -- It is usually self documenting +- Acts as supporting documentation for the code - Increases quality - Provides confidence in the implementation - Enables safe refactoring and code improvements From 9b5903c5aa985b3525d7ad98fdb5c95c8a000d98 Mon Sep 17 00:00:00 2001 From: John Watson Date: Fri, 16 Jan 2026 09:56:20 +0000 Subject: [PATCH 5/5] Update wording --- docs/principles/coding_principles.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/principles/coding_principles.md b/docs/principles/coding_principles.md index f90ccacd..b93c242d 100644 --- a/docs/principles/coding_principles.md +++ b/docs/principles/coding_principles.md @@ -43,7 +43,7 @@ They will not have the understanding and context you do at the time of writing i ### We test our code -> We are always able to prove that our code works and functions correctly with an automated test suite +> We are always able to prove that our code works and functions correctly with a set of tests - Acts as supporting documentation for the code - Increases quality