uuid: - value: ac11bd02-625e-4eef-83f3-6ed1f24485ff langcode: - value: en type: - target_id: daily_email target_type: node_type target_uuid: 8bde1f2f-eef9-4f2d-ae9c-96921f8193d7 revision_timestamp: - value: '2025-05-11T09:00:38+00:00' revision_uid: - target_type: user target_uuid: b8966985-d4b2-42a7-a319-2e94ccfbb849 revision_log: { } status: - value: true uid: - target_type: user target_uuid: b8966985-d4b2-42a7-a319-2e94ccfbb849 title: - value: | When writing a failing test, you're designing your code created: - value: '2023-07-16T00:00:00+00:00' changed: - value: '2025-05-11T09:00:38+00:00' promote: - value: false sticky: - value: false default_langcode: - value: true revision_translation_affected: - value: true path: - alias: /daily/2023/07/16/when-writing-a-failing-test-youre-designing-your-code langcode: en body: - value: |
When doing test-driven development, you start by writing a failing test and then write the code to make it pass.
This is the design phase where you ask questions and decide how you want the code to work.
You might iterate on the design and change it as you write more assertions or tests, but take the opportunity to decide how you want the code to work at this point before you start writing the implementation.
format: full_html processed: |When doing test-driven development, you start by writing a failing test and then write the code to make it pass.
This is the design phase where you ask questions and decide how you want the code to work.
You might iterate on the design and change it as you write more assertions or tests, but take the opportunity to decide how you want the code to work at this point before you start writing the implementation.
summary: null field_daily_email_cta: { }