tome export

This commit is contained in:
Oliver Davies 2025-05-11 09:40:11 +01:00
parent 328502c279
commit ac1484b1e0
5044 changed files with 111225 additions and 224219 deletions

View file

@ -0,0 +1,100 @@
{
"uuid": [
{
"value": "0a3c28cf-0365-40a7-bc3d-074e90bb28ce"
}
],
"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:32+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": "A lack of tests discourages refactoring\n"
}
],
"created": [
{
"value": "2023-09-09T00:00:00+00:00"
}
],
"changed": [
{
"value": "2025-05-11T09:00:32+00:00"
}
],
"promote": [
{
"value": false
}
],
"sticky": [
{
"value": false
}
],
"default_langcode": [
{
"value": true
}
],
"revision_translation_affected": [
{
"value": true
}
],
"path": [
{
"alias": "\/daily\/2023\/09\/09\/a-lack-of-tests-discourages-refactoring",
"langcode": "en"
}
],
"body": [
{
"value": "\n <p>A common cause of not refactoring code is a lack of test coverage.<\/p>\n\n<p>Why change some code if it works? What if we break it whilst refactoring it and introduce a regression?<\/p>\n\n<p>If the code has accompanying automated tests, this can't happen.<\/p>\n\n<p>The tests should be passing before starting a refactor and should be passing once the refactor is complete.<\/p>\n\n<p>If the tests fail, the refactor was unsuccessful and should be reverted.<\/p>\n\n<p>If you have a CI pipeline, a failing test should break the pipeline and prevent any further steps if you're doing continuous delivery or deployment whilst signalling to the Developer their refactor was unsuccessful and the pipeline needs to be fixed.<\/p>\n\n<p>Without tests, the code could be broken during the refactor, and we wouldn't know.<\/p>\n\n ",
"format": "full_html",
"processed": "\n <p>A common cause of not refactoring code is a lack of test coverage.<\/p>\n\n<p>Why change some code if it works? What if we break it whilst refactoring it and introduce a regression?<\/p>\n\n<p>If the code has accompanying automated tests, this can't happen.<\/p>\n\n<p>The tests should be passing before starting a refactor and should be passing once the refactor is complete.<\/p>\n\n<p>If the tests fail, the refactor was unsuccessful and should be reverted.<\/p>\n\n<p>If you have a CI pipeline, a failing test should break the pipeline and prevent any further steps if you're doing continuous delivery or deployment whilst signalling to the Developer their refactor was unsuccessful and the pipeline needs to be fixed.<\/p>\n\n<p>Without tests, the code could be broken during the refactor, and we wouldn't know.<\/p>\n\n ",
"summary": null
}
],
"feeds_item": [
{
"imported": "2025-05-11T09:00:32+00:00",
"guid": null,
"hash": "aa56bdd02fef215659f339a51ad72312",
"target_type": "feeds_feed",
"target_uuid": "90c85284-7ca8-4074-9178-97ff8384fe76"
}
]
}