Test Automation is a crucial aspect of modern software testing that involves using specialized tools and frameworks to automate the execution of test cases and validate the functionality of software applications.
Test Automation is typically performed by dedicated Test Automation Engineers(TAE) who specialize in developing and maintaining automated test scripts and frameworks. They collaborate closely with the testing team to identify test cases suitable for automation and design efficient and reliable solutions.
Test Automation is performed throughout the software development lifecycle, starting from the early stages of the project. It is an ongoing process and is integrated into the overall testing strategy. Test automation is particularly beneficial in agile and continuous integration/continuous delivery (CI/CD) environments where frequent releases and iterations occur.
Various tools and technologies are available for test automation, each catering to specific testing needs. Some commonly used test automation tools and frameworks include:
Below table summarizes the automation coverage by testing type for agile projects. Squad teams to plan for increasing automation coverage as per the below targets and achieve over a period
Environment | Tests | Target |
---|---|---|
Dev - Local |
Automated unit tests coverage |
95% |
Automated unit tests pass % |
>95% |
|
Code coverage |
>95% |
|
Static code analysis |
No Critical, major, or medium violations were reported in the central CI server |
|
Dev / QA |
Automated unit tests pass % |
>95% |
Code coverage |
>95% |
|
Static code analysis |
No Critical, major, or medium violations were reported in the central CI server. |
|
Automated Smoke test coverage |
90+% |
|
Automated API tests coverage |
90+% |
|
Unit Performance tests coverage |
TBD |
|
SIT |
Automated smoke tests coverage |
90+% |
Automated API tests coverage |
90+% |
|
Automated Regression |
90+% of test cases covered and 90+% in passed state |
|
Zero critical and high defects |
||
Automated functional |
90+% of test cases covered and 90+% in passed state |
|
Zero critical and high defects |
||
UAT/Staging |
Automated Smoke test coverage |
90+% |
Automated regression |
90+% of test cases covered (sprint-specific test cases) and 95+% in passed state |
|
Zero critical and high defects |
||
90+% of test cases covered (Final regression) and 95+% in passed state |
||
Performance testing |
TBD |
|
Vulnerability scan |
TBD |
|
Pen testing |
TBD |
|
Prod |
Automated smoke test coverage (Read only transactions) |
90+% |