oliverdavies.uk/content/node.dcaa735c-9ed7-4894-a7bd-ed8931cdd75e.yml

68 lines
2.8 KiB
YAML

uuid:
- value: dcaa735c-9ed7-4894-a7bd-ed8931cdd75e
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:20+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: 'Diffy and visual regression testing'
created:
- value: '2024-02-22T00:00:00+00:00'
changed:
- value: '2025-05-11T09:00:20+00:00'
promote:
- value: false
sticky:
- value: false
default_langcode:
- value: true
revision_translation_affected:
- value: true
path:
- alias: /daily/2024/02/22/diffy-and-visual-regression-testing
langcode: en
body:
- value: |
<p>I recently recorded an episode of <a href="/podcast">Beyond Blocks</a> with Yuri Gerasymov, who runs Diffy.</p>
<p>He and I discussed visual regression testing, why you'd use it, and some features Diffy offers.</p>
<p>I usually write a combination of browser, kernel and unit tests within an application framework like Drupal and Symfony or behavioural tests with Behat.</p>
<p>These validate that my logic works as expected and that functions return the correct results or pages return the correct response codes and content.</p>
<p>There are types of issues, though, such as breakages within the page layout or structure, which these tests won't discover but can be identified by visual regression tests that compare before and after screenshots.</p>
<p>I added to my website during the recording and can see what value it offers as an additional layer of testing on top of the tests I already write.</p>
format: full_html
processed: |
<p>I recently recorded an episode of <a href="/podcast">Beyond Blocks</a> with Yuri Gerasymov, who runs Diffy.</p>
<p>He and I discussed visual regression testing, why you'd use it, and some features Diffy offers.</p>
<p>I usually write a combination of browser, kernel and unit tests within an application framework like Drupal and Symfony or behavioural tests with Behat.</p>
<p>These validate that my logic works as expected and that functions return the correct results or pages return the correct response codes and content.</p>
<p>There are types of issues, though, such as breakages within the page layout or structure, which these tests won't discover but can be identified by visual regression tests that compare before and after screenshots.</p>
<p>I added to my website during the recording and can see what value it offers as an additional layer of testing on top of the tests I already write.</p>
summary: null
field_daily_email_cta: { }