DEV Community

[Comment from a deleted post]
Collapse
 
alanmbarr profile image
Alan Barr

There are different risks you might be concerned with and the closer to the logic you can get with tests typically the cheaper it is to create a test and verify it works. When you start combining applications, modules, state the territory you need to cover to verify things work becomes expensive to write and maintain. If you're working in marketing and your main goal is generating leads you might be pretty tolerant of various bugs because as long as the leads flow things are good. However, if you don't have testing around the leads and that goes down for hours that could be significant revenue loss and investing in testing infrastructure in that space makes sense.