uuid: - value: 9c40a0cb-0fb2-4f9d-8e69-60b3a2b4ddd3 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:36+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: | TDD as a concept is simple, but TDD is difficult created: - value: '2023-07-18T00:00:00+00:00' changed: - value: '2025-05-11T09:00:36+00:00' promote: - value: false sticky: - value: false default_langcode: - value: true revision_translation_affected: - value: true path: - alias: /daily/2023/07/18/tdd-as-a-concept-is-simple-but-tdd-is-difficult langcode: en body: - value: |

Test-driven development as a concept is easy.

Before you write any code, you write a failing test and then write enough code to get it to pass.

But implementing test-driven development is harder.

As well as overcoming the initial reluctance to write the tests first, it takes time to learn how to use it well.

Code katas are great for practising TDD, but it can take time to progress from that to using it in a full application with more pieces.

As with many things, practice and perseverance are key.

format: full_html processed: |

Test-driven development as a concept is easy.

Before you write any code, you write a failing test and then write enough code to get it to pass.

But implementing test-driven development is harder.

As well as overcoming the initial reluctance to write the tests first, it takes time to learn how to use it well.

Code katas are great for practising TDD, but it can take time to progress from that to using it in a full application with more pieces.

As with many things, practice and perseverance are key.

summary: null field_daily_email_cta: { }