Describe your approach to test optimization. How do you decide which test cases to automate and which to keep manual?