DEV Community

Sri Ramya
Sri Ramya

Posted on

Not Every Test Needs to Be Automated

When I started learning about test automation, I used to think: If we can automate a test, why not automate it?

But the more I look at real automation projects, the more I feel that not every test needs to be automated.

A test that we run repeatedly for every release makes sense to automate. But a test that changes often, is used only once, or needs exploratory thinking may not be worth maintaining as automation.

So the question becomes: Can we automate this?

but also: Will this automation give us useful feedback?

While working with X360 AI Tech, One thing we focus on is what happens after the automated test runs.

If a test fails, we don't want the result to stop at a red mark.

We can look at what actually happened during the execution - the browser actions, assertions, and network activity - along with the live execution video, logs, and execution history. This gives us the context around the failure instead of looking at the failed status alone.

Then the failure-analysis part helps us investigate that execution and understand what needs attention.

For example, if a checkout test fails, the important question isn't simply: Did the test fail?

We want to look at where it failed, what happened before the failure, and what the execution evidence is telling us.

That distinction matters because a failed test doesn't automatically mean there is a product bug.

It could be a changed application behaviour, a test issue, or something else in the execution environment.

That's what changed my thinking about automation.

The goal isn't to automate every test.

It's to automate the tests that are worth repeating and when something fails, have enough context to understand what actually happened.

That's where I think automation becomes much more useful.

Top comments (0)