{ "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\n" } ], "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": "\n
When doing test-driven development, you start by writing a failing test and then write the code to make it pass.<\/p>\n\n
This is the design phase where you ask questions and decide how you want the code to work.<\/p>\n\n
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.<\/p>\n\n ", "format": "full_html", "processed": "\n
When doing test-driven development, you start by writing a failing test and then write the code to make it pass.<\/p>\n\n
This is the design phase where you ask questions and decide how you want the code to work.<\/p>\n\n
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.<\/p>\n\n ", "summary": null } ], "feeds_item": [ { "imported": "1970-01-01T00:33:45+00:00", "guid": null, "hash": "3f5e1ce616fb6f602be9eb2c287dc4b3", "target_type": "feeds_feed", "target_uuid": "90c85284-7ca8-4074-9178-97ff8384fe76" } ] }