Which test cases can be automated code example

Example 1: what test cases cannot be automated

Tests that should not be automated:

-Unstable test cases
-Tests that you will only run only once.
-The only exception to this rule is that
if you want to execute a test with a very large 
set of data, even if it’s only once,
then it makes sense to automate it.
-Unfinished functionality
-Visual test cases
-Also Tests that need to be run ASAP
which usually a new feature which is
developed requires a quick feedback
so testing it manually at first making sense.

Example 2: which test can be automated

functional tests (positive/negative, UI) 
smoke tests 
regression tests 
integration tests 
API
Database
end to end testing 
data driven

Tags:

Misc Example