Adding automated tests to Content Access by Path

Back in episode 11 of the Beyond Blocks podcast, my guest was Mark Conroy and we discussed various things including his Running Plan Generator and the Content Access By Path Drupal module.

Written for the LocalGov Drupal distribution, as its name suggests, the module allows for setting permissions to maintain content based on its path.

I had a quick look at the module whilst recording and mentioned there were no automated tests, and I was invited to write and contribute some.

I did, live on YouTube, and created a merge request for the module for review.

Today, that merge request was approved and the tests were added to the module, so I'm officially a contributor to that module.

I also added GitLab configuration, so the tests will automatically run for every change and help avoid regressions in the future.

- Oliver

Was this interesting?

Sign up here and get more like this delivered straight to your inbox every day.

About me

Picture of Oliver

I'm an Acquia-certified Drupal Triple Expert with 17 years of experience, an open-source software maintainer and Drupal core contributor, public speaker, live streamer, and host of the Beyond Blocks podcast.