From a57442a67e9eb512215b6f7cf71cfc0baa0c325d Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sat, 26 Aug 2023 20:06:57 +0100 Subject: [PATCH] daily-email: add 2023-08-25 Start with a vague test --- src/content/daily-email/2023-08-25.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/content/daily-email/2023-08-25.md diff --git a/src/content/daily-email/2023-08-25.md b/src/content/daily-email/2023-08-25.md new file mode 100644 index 00000000..cc2670a0 --- /dev/null +++ b/src/content/daily-email/2023-08-25.md @@ -0,0 +1,18 @@ +--- +title: > + Start with a vague test +pubDate: 2023-08-25 +permalink: > + archive/2023/08/25/start-with-a-vague-test +tags: + - automated-testing + - test-driven-development +--- + +If you're unsure what your first test should be, start by writing a test with an intentionally vague name, just to get you started. + +It may not be clear straight away what you're trying to test. + +Once you get the ball rolling and you write more, it will usually become clear. + +Then you can go back and rename the test method to something more specific.