Automated testing automated testing tiered basis --4

Automated test stratified, I have to mention the pyramid model test

ui -------- UI Automation

service ----- Interface Automation

unit ------ automation unit

What is the traditional automation?

UI Automation is based on the traditional aspects of the product, which is what we call the UI Automation

Why advocate hierarchical automation?

If a product has never done unit testing and interface testing, UI layer only automated testing is unscientific, making it difficult to ensure essence

Product quality certificate. If you attempt to achieve a comprehensive automated test the UI layer, that is a costly move, put a lot of people

Force time, earnings finally obtained may be far lower than the cost paid. Because the more upper, the higher the cost of its maintenance. In particular UI layer

The elements will always change. Therefore, we should put more on the unit testing and automated testing interface testing stages

Triangle meaning?

The proportion accounted for

UI Layer (10%), service level (20%), uint (70%)

How unit testing to understand?

A function, or a class, then the aid of a frame unit testing tool unittest check or verify the like

Guess you like

Origin www.cnblogs.com/wx921308494/p/11966619.html