DEV Community

Cover image for Should I add automated tests for that?
Alex Pushkarev
Alex Pushkarev

Posted on • Edited on

1

Should I add automated tests for that?

Should I add automated tests for that?

This question is not as easy to answer as it seems. Many teams default to two extreme options:
1) 100% automated tests for everything
2) no time/priority for automated tests

As you can expect neither is a good approach. In the first approach, you risk wasting lots of time on writing automated tests which would have little to no value.

In the second approach, you risk either having a big number of issues or spending lots of time and money on manual testing afterwards.

As always there's no right or wrong way here, however, there're some heuristics that can help you with this decision. I have created this mind map as a place to start: https://xmind.works/share/eZRBam34

If you have improvement suggestions please add them in the comments!

Please follow me for more posts on software development and test automation

Feel free to subscribe to my Youtube channel: https://www.youtube.com/channel/UCkJRvCK2-l2gCuPT9-HUG7A

My website is here: https://testclub.notion.site/

Image of Datadog

Create and maintain end-to-end frontend tests

Learn best practices on creating frontend tests, testing on-premise apps, integrating tests into your CI/CD pipeline, and using Datadog’s testing tunnel.

Download The Guide

Top comments (0)

Retry later
👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay