oliverdavies.uk/content/node.ad9f3eb0-45be-4ec0-b4bb-5b61d4a96d6d.yml

69 lines
2.8 KiB
YAML

uuid:
- value: ad9f3eb0-45be-4ec0-b4bb-5b61d4a96d6d
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: |
Test-driven development makes you more productive
created:
- value: '2023-07-15T00: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/15/test-driven-development-makes-you-more-productive
langcode: en
body:
- value: |
<p>I think that test-driven development (TDD) makes you productive.</p>
<p>Firstly, you save time by not needing to switch from your code to a terminal or browser to test it.</p>
<p>But, just as importantly, TDD reduces procrastination. It's much clearer to see what the next steps are.</p>
<p>You're either thinking and designing your code when writing a failing test or fixing the test failures in the implementation code to get the test to pass. You can focus on each failure and message separately and get them to pass instead of thinking about the whole feature or the rest of the application.</p>
<p>Once you have a working test, you can focus on refactoring any code or moving on to writing the next assertion or the next test.</p>
<p>I think that achieving small tasks with short feedback loops using test-driven development makes it much easier to remain productive and focussed.</p>
format: full_html
processed: |
<p>I think that test-driven development (TDD) makes you productive.</p>
<p>Firstly, you save time by not needing to switch from your code to a terminal or browser to test it.</p>
<p>But, just as importantly, TDD reduces procrastination. It's much clearer to see what the next steps are.</p>
<p>You're either thinking and designing your code when writing a failing test or fixing the test failures in the implementation code to get the test to pass. You can focus on each failure and message separately and get them to pass instead of thinking about the whole feature or the rest of the application.</p>
<p>Once you have a working test, you can focus on refactoring any code or moving on to writing the next assertion or the next test.</p>
<p>I think that achieving small tasks with short feedback loops using test-driven development makes it much easier to remain productive and focussed.</p>
summary: null
field_daily_email_cta: { }