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

Master Mobile Monitoring for iOS Apps

Monitor your app’s health with real-time insights into crash-free rates, start times, and more. Optimize performance and prevent user churn by addressing critical issues like app hangs, and ANRs. Learn how to keep your iOS app running smoothly across all devices by downloading this eBook.

Get The eBook

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more