Automated testing

24 posts
Running PHPUnit with PHPStorm

Running PHPUnit with PHPStorm

When writing tests, I often find myself switching between the IDE and terminal windows to actually run the tests. On projects with very large test suites this would often lead to situations where I’d spend time waiting for all the tests to finish. I’d get distracted with something...

Building an SDK with PHP, part 3: Making it testable

Building an SDK with PHP, part 3: Making it testable

This post is part 3 of the “Building an SDK with PHP” series. Read Part 1 and Part 2 In our last article we’ve looked at how we can make our SDK configurable and today we’ll apply this to cover our SDK with several unit tests. What should...

Ten years of testing htaccess rewrite rules

Ten years of testing htaccess rewrite rules

A little over ten years ago, I felt so annoyed with testing Apache’s mod_rewrite RewriteRules that I started looking for a tool to test them. The search was unsuccessful— no such tool to be found. https://htaccess.madewithlove.com/ Out of my frustration, I decided to write something...

Cypress or how I learned to stop worrying and love E2E

Cypress or how I learned to stop worrying and love E2E

Over my career I’ve dabbled in various forms of testing, both on the backend and front-end. I’ve tried various frameworks and experimented with different approaches, types of tests, and philosophies. From unit tests to Gherkin behaviour tests to E2E tests with Selenium in the good ol’ days, I’...

Pulse: Episode 3 - Between Us - PHP

Pulse: Episode 3 - Between Us - PHP

On this episode of madewithlove’s Pulse podcast, Vinch Battaglia, CTO in residence, welcomes Wouter Sioen, software engineer, and Jonas Drieghe, software engineer, all members of the madewithlove team. We use PHP in-house and on our client projects so we decided to discuss why that is. Listen to this Pulse...

Snapshot through the heart

Snapshot through the heart

While snapshot testing has been around for a while in the form of visual snapshots (used in visual regression testing), it’s clear that the introduction of textual snapshots in Jest a few years ago had a big impact on testing, not only in JavaScript but in other languages as...

What we talk about when we talk about testing

What we talk about when we talk about testing

Imagine if airplane companies never tested their airplanes. They just ship them when they’re done. Would you feel safe boarding a plane like that? Fortunately, airplanes are not built like that. Flying is statistically the safest way of transportation and there are strict regulations and tests airplanes must abide...

Our htaccess tester tool has new features

Our htaccess tester tool has new features

Writing .htaccess files can be an annoying task. There’s a lot written about it, but it remains a hard topic to get right, especially if you’re only doing this infrequently. Testing those files can be hard because it requires a local Apache server running or to upload it...

Releasing with confidence

Releasing with confidence

Still scared to ship to production on Friday afternoon? Even after reading our previous post on maturing your release process? Here’s some practical advice on evolving your releases — from a fearful event to a trivial byproduct of building software. Building a release and go-to-market strategy is only possible when...

You’ve successfully subscribed to madewithlove
Welcome back! You’ve successfully signed in.
Great! You’ve successfully signed up.
Success! Your email is updated.
Your link has expired
Success! Check your email for magic link to sign-in.