Running Drupal's PHP Unit tests with Headless Chrome Image and ddev Submitted by daniel on Tue, 03/10/2023 - 16:37 In a previous article I have looked at running Drupal's Nightwatch and PHPUnit Tests using Drupal's Quickstart development environment. Today, I will look at how to run all the the PHP Unit Tests using a headless version of chrome.Setting up Headless Chrome ImageWithin your project root within the .ddev folder create a new YAML file and call it docker-compose.chromedriver.yaml Tags: ddev Testing PHPUnit Functional JavaScript Drupal
Getting started with both Functional Javascript and Nightwatch Testing in Drupal 8.6 or later Submitted by daniel on Fri, 29/09/2023 - 15:24 In a previous article, I looked into how to get started with Running Tests using Drupal Contributions on top of a local Lando container. I looked a little at the history of Drupal testing and in particular how to get started running PHP Unit tests. Types of Drupal TestsIf we look at core Drupal Views module under tests/src we can see the following in the core/tests folder Tags: Functional JavaScript Testing Nightwatch PHPUnit
Using Composer to manage your JS Dependencies Submitted by daniel on Thu, 21/07/2022 - 17:01 For a while now PHP Developers have used Composer, a PHP Dependency Manager, to manage their app dependencies. Certainly in the Drupal community, Developers have been using composer since Drupal 8 was released back in June 2013. Tags: PHP composer JavaScript
Lloyds Banking Group Submitted by daniel on Mon, 18/03/2019 - 10:41 Worked across various initiatives mainly to do with Authorised user journeys. This including working as part of a newly formed initiative to improve the user login journey and also working to develop a new React based component library. Date Created Mon, 05/12/2016 - 00:00 Read more about Lloyds Banking Group
Immediate Media Submitted by daniel on Mon, 18/03/2019 - 09:49 Part of newly formed Agile team to work on migrating exiting websites to their new subscription based website platform. Date Created Tue, 05/06/2018 - 00:00 Read more about Immediate Media
Rebif Submitted by daniel on Mon, 18/03/2019 - 09:39 Updates to Adobe Air Application and creation of html slide presentation. Date Created Tue, 01/05/2018 - 00:00 Read more about Rebif
Pfizer Submitted by daniel on Thu, 14/03/2019 - 17:12 Information site for Haemophilia Drupal 7 site build and theming, with the use of sag graphics to create a circular transition and fade. Date Created Thu, 11/05/2017 - 17:18 Read more about Pfizer
Specsavers Submitted by daniel on Thu, 14/03/2019 - 17:02 Worked on a headless Symfony build with a Drupal backend rollout for a component based new front page. Helped to create new digital design standards and develop a component library to be gradually rolled out worldwide. Date Created Fri, 10/02/2017 - 17:06 Read more about Specsavers
Shelter Submitted by daniel on Thu, 14/03/2019 - 14:49 Quickly learnt and took on new responsibilities, providing cover for existing team why they were trained on the new system Date Created Thu, 10/01/2019 - 14:56 Read more about Shelter
Serpentine Gallery Submitted by daniel on Wed, 13/08/2014 - 13:22 Front End Development for AJAX site build based on Drupal 7 Date Created Thu, 01/08/2013 - 01:00 Read more about Serpentine Gallery