Skip to main content
ComputerMinds

Articles

Testing

Debugging Great Uncle Call Stacks - to solve a recursive router rebuild error

Our automated tests for a Drupal 11 upgrade failed with a cryptic error: Recursive router rebuild detected. A bit like when cron warns about it already running, this meant something had started a router rebuild, but without finishing successfully, before another rebuild of…Read article →

A/B Testing with ABJS module

ABJS is a contrib Drupal module, and, without any requirements or ties to paid services, is as low cost as you can get. As we’ll see, it’s pretty basic but it really lets you get down to building your own understanding of how A/B testing works. The beauty of ABJS is in its…Read article →

The options

If you need to do some A/B testing at minimal cost, this is our quick overview of the available options that we found.Read article →

Review driven development?

We've heard of test-driven development, behaviour-driven development, feature-driven development and someone has probably invented buzzword-driven development by now. Here's my own new buzzword phrase: review-driven development. At ComputerMinds, we aim to put our work through…Read article →

Peer Review

At ComputerMinds we like to think that we’re all pretty good at what we do; however, nobody is perfect and this is why we always ensure that our code is properly peer reviewed as part of our quality assurance process.Read article →

How to write a PHPUnit functional test for Drupal 8

This article will talk you through the steps to follow to write a simple PHPUnit functional (Kernel) test for Drupal 8.Read article →

A fully-automated testing rig #8

##Part 8: CasperJS debugging tipsRead article →

A fully-automated testing rig #7

##Part 7: When this.mouse.click doesn't workRead article →

A fully-automated testing rig #6

##Part 6: Manually fail a test, but continue script executionRead article →

A fully-automated testing rig #5

##Part 5: Fun with viewports, and THEN someRead article →

A fully-automated testing rig #4

##Part 4: When TrueType doesn't fix everythingRead article →

A fully-automated testing rig #3

Earlier I described a bit about the scope of the project and how careful planning would be needed to keep the project growing smoothly. One result of this is our test template - a basic test script outline which most scripts should stick to - which makes test scripts easier to…Read article →

A fully-automated testing rig #2

##Part 2: Setting up for a large projectRead article →

A fully-automated testing rig #1

A few months ago I started my first project with CasperJS and PhantomCSS, and what an interesting experience it has been working through that to now our second, larger, automated testing setup. Being young projects, there are some fun quirks and niggles in CasperJS and…Read article →