Analysis of test automation

First chat with you what is automated testing?

Automatic testing of the human-driven behavior transformed into a testing machine to perform the process. In general, in comparison of the test and after passing through the design review, the tester performs a test step according to the procedures described in the test case, and the actual results to expected results. In this process, in order to save manpower, time or hardware resources, improve test efficiency, we introduced the concept of automated testing.

Classification of automated testing: UI Automation, Automation Interface, App automation

Why do automated testing?

Enhance testing efficiency, improve software product quality, eliminating tedious repetitive work and more time to do more important artistic test.

What specifically do automated testing?

The functional test cases to achieve through the script, let the machine instead of doing so to complete execution of the use case. That is, a human operator of the front-end interface with the simulation script.

UI Automation testing their origin function test, typically covering the core from which the selected function in normal process.

Automated test coverage is how much?

Automation Total number of cases is a functional test is generally 30% to 40% on top of the base.

Which project phase requires testing automation?

1, continuous integration version, daily version agile iterative process, the implementation of automated testing in the test environment.

2, turn test version released before to carry out system testing (function test), the test round, as access to testing or smoke testing.

3, after the line, there may not recommend regular implementation of automation in the production environment, to maintain a stable production environment. More suggested a mirror copy.

When you can do automated testing?

In the stable version, after a functional test after a dramatic change ui interface is not happening, it began to carry out automated testing.

How to conduct automated testing?

1, first consider the benefits of automated testing can bring, to decide whether to carry out automated testing in the project, criteria for determining whether that product will have a long-term iterative process need to repeatedly verify certain functions.

Recommended that any products, are carried out to test the interface.

2, selection, select the appropriate language and tools to build automated testing framework.

Test scripting problem: java python language and tools selenium, appium

Test Case Management: data-driven, keyword-driven, TestNG pytest unittest test frameworks. Management excel write use cases. And system testing process best fit.

System integration testing process: the need to generate reports, as well as sending e-mail

R & D system integration: whether continuous integration, jenkins use other tools to complete, such as combined git maven source and build management processes, and the development, operation and maintenance linked together.

 

Released four original articles · won praise 2 · Views 852

Guess you like

Origin blog.csdn.net/KRIS891001/article/details/104840588