I responded to him by saying:
“Personally I think knowing when automation should/shouldn’t be applied is as if not more valuable than knowing how to automate. Many automators don’t know that which is also damaging”
On the train on the way home I realized that I may fall in to my own group of not knowing what to automate.
I thought to myself if I was asked what would I automate in an interview I’d probably respond with
- Unit tests
- Checks at the API layer
- A small amount of basic UI checks
I’m not really happy with that. It’s not a strong answer. What do I mean by basic? I’m surely missing things. I’m aware of the pyramid and ice cream cone images for automation but I still always feel like I’m missing something from them.
In my new job I’ve started with an approach of automate nothing until I figure out the product and the risks involved. I don’t see automation as something to do for the sake of saying “hey look we’ve an automation suite”. I think this is a good approach so far but I’m annoyed at myself. I want a better answer for what would I automate and why.
Can you help me? What would you automate and why?