Passing tests doesn't mean a working application

Having a passing test suite doesn't mean everything in your application is working.

It means the functionality you previously tested is working.

There may be edge cases you haven't covered or whole tests you haven't written yet, which may be working or could be broken.

If you have tests that were passing that are now failing, you know you've broken something.

Something that was previously working is broken and shouldn't be deployed.

That's why having tests is important - they give you the ability to identify and fix regressions before they are released.

- 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.