Add daily email for 2024-02-22

Diffy and visual regression testing
This commit is contained in:
Oliver Davies 2024-02-23 21:25:39 +00:00
parent 2233c3e72b
commit 36448407d3
2 changed files with 28 additions and 0 deletions

View file

@ -11,6 +11,9 @@ banner_text: |
ctas: ctas:
d7eol: | d7eol: |
There's less than a year until Drupal 7's end-of-life date. <a href="%site.url%/drupal-upgrade">Plan your upgrade to Drupal 10 now!</a> There's less than a year until Drupal 7's end-of-life date. <a href="%site.url%/drupal-upgrade">Plan your upgrade to Drupal 10 now!</a>
subscription: |
Do you need immediate access to an expert Drupal Developer? With my <a href="%site.url%/subscription">Drupal development subscription</a>, make unlimited requests for a fixed monthly price in less time than posting to a job board!
imports: imports:
- ../../data/assets.yml - ../../data/assets.yml

View file

@ -0,0 +1,25 @@
---
title: Diffy and visual regression testing
date: 2024-02-22
permalink: archive/2024/02/22/diffy-and-visual-regression-testing
snippet: |
I recently recorded a podcast episode with Yuri Gerasymov, discussing visual regression testing.
tags:
- software-development
- automated-testing
cta: subscription
---
I recently recorded an episode of [Beyond Blocks][podcast] with Yuri Gerasymov, who runs Diffy.
He and I discussed visual regression testing, why you'd use it, and some features Diffy offers.
I usually write a combination of browser, kernel and unit tests within an application framework like Drupal and Symfony or behavioural tests with Behat.
These validate that my logic works as expected and that functions return the correct results or pages return the correct response codes and content.
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.
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.
[podcast]: {{site.url}}/podcast