Automated test cognitive

Software Testing Foundations - cognitive automation

Tags (separated by spaces): Automation


Automation is defined:

Automated testing, human behavior by software into a practice test execution behavior of the machine, for common GUI test automation is speaking, there are a variety of operations on the need for manual software interface before automated testing tool simulation;

Automation nature:

The essence of automation is to write a piece of code, and then another piece of test code, automated test case itself is development work requires a lot of time and effort, and has developed into a complete project but also with the iteration constantly update their code, you need to pay the cost of maintenance;

*:
When you find an automated maintenance cost is higher than the time they save the cost of test time, automated test loses its value and meaning, you also need to weigh the trade-offs on the basis of whether the use of automated on;

Why automated testing

Automation advantages:

1. automation can replace manual a lot of duplication of work, the test can put a lot of time on the case design and new features top
2. automated regression testing can significantly improve the efficiency, especially for agile development
3. Automated may utilize a large number of unattended the time to execute the use cases, especially for non-working love you perform the test, the test case of failure analysis work time operating mode
4. automation can achieve some kind of test can not be completed or pay a heavy price test type, such as business-critical test of 7 * high pressure stability and concurrent scenes continuous operation of the system 24 tests;
5. automated verification can ensure the operation of each execution and consistency and repeatability, avoiding that omissions and omissions;

Automated pit and disadvantages:

1. automation can not replace the manual, he can replace manual testing performed in high frequency, mechanization repetitive steps, do not expect all of the tests should be automated, otherwise would be wasted;
2. Automatic fragile than manual testing and can not test make changes in the system of recognition, the industry spread: hand flick development, automated testing busy night, it also reflects from the side, the fact that automated testing has been high because of automation does not have identification, only step by step according to the test no processing power;
the development workload 3. automated testing is far greater than a single manual test, so only developed a manual test more than 5 times to recover the cost of automated testing;
bug usually found in the manual test 4 back more than errors found in automated, and automated regression testing can only find defects;
5. test efficiency relies heavily on automated case design and implement quality, unstable automation worse than no automation;

What kind of projects suitable for automation:

1. steady demand does not change frequently
2. The development and maintenance cycle is long, need frequent regression testing;
3. need to be repeated multiple platforms run the same test scenarios;
4. certain tests can not be achieved through manual testing or manual high cost;
5. tested more standardized software development, to ensure stability of the system testability;
6. test coding capability comprising

Guess you like

Origin www.cnblogs.com/surewing/p/11601304.html