当前位置:网站首页>How to play the guiding role of testing strategy

How to play the guiding role of testing strategy

2022-04-23 20:49:00 InfoQ

The test strategy is to ensure the effective development of the test process 、 Maximize the use of test resources 、 Stable and reliable test quality is an important prerequisite , But in the actual research and development process, it is often ignored . Many times it will be considered as a document work , Find a document from the website and deal with it . If managers don't pay attention to the test strategy , It may cause the quality out of control 、 Work disorderly 、 Greater losses such as delaying fighters .
Know how to output a test strategy that really works , Let's understand first , What is strategy ? Let's take a look at how Wikipedia explains :
Strategy
 is a general plan to achieve one or more long-term or overall goals under conditions of uncertainty.
Translate it :
Strategy
It's an overall plan , For use in
Uncertain conditions
Achieve one or more long-term or overall goals . At a certain level , Translated into  “ strategic ”. Here's a key word :
Uncertain conditions
, Usually refers to external environmental factors , Like human resources 、 Project progress 、 Dependent projects, etc . Only propositional compositions under uncertain conditions , Strategy makes sense , In order to maximize the victory by using limited resources .
What should a strategy contain ?
Strategy generally involves setting goals and priorities, determining actions to achieve the goals, and mobilizing resources to execute the actions. A strategy describes how the ends (goals) will be achieved by the means (resources).
Translate it : Policies generally include settings
The goal is ( Scope of work )
priority
、 Decide to achieve the goal
Key action
And mobility
resources
Executive action . The strategy also describes how to achieve the goal through resources , It can also be understood as
Conditions for ending
.
thus , What should be included in the test strategy is clear :
Test range 、 priority 、 The test method 、 Test termination conditions
. The following only discusses the situation of limited resources .
In addition to considering the product function, the test scope , The main considerations are : Specific implementation details before a certain time node
.
for instance , The team is developing a human resource management software for customers , It includes 100 A function item , The customer wants 1 Start using within months , Solve the thorny problems of salary accounting and approval . If you follow the normal development process , Maybe according to the recruitment 、 induction 、 Employee information 、 Wages 、 Develop and deliver... In the order of resignation . In order to meet the actual business needs of customers , The functional scope and priority of development and testing should be adjusted . The test manager needs to work closely with the product manager , Sort out the function points involved in the customer's first stage business process 、 Interaction process 、 Performance requirements, etc . then , The test manager should take this as the test scope , And to determine
priority
.
In the arrangement of priorities , In addition to considering the priority of functions , Performance testing should also be 、 Ease of use test 、 Safety testing, etc , That is, whether these aspects are the focus of a certain stage , And to what extent . such as , Although the first batch of functions will be launched , But only a specific user may use , Then maybe we don't focus on performance testing and security testing .
After the test scope is determined , Test managers can rely on their own expertise , Select appropriate testing tools and methods , Carry out specific division of labor .
Termination conditions of the test , Can be fixed , For example, a certain level of bug What quantity should be reached . The fixed premise is , The determination of scope and priority must be effective . You can also attach conditions , For example, it needs the signature of the customer to confirm ( But in general , The customer will sign for confirmation only after going online ).
The basic structure of the test strategy has , But play a guiding role , We should also pay attention to the accuracy of the text , Some handling of exceptional scenarios . All members of the team , After getting the test strategy , Can be compared with the strategy , Clearly understand how your problems should be solved . such as , Test data at the current stage , It must be based on the real data of customers , If a function has no test data , Need to communicate with customers , You can't fake data without authorization .
The document is finished , How to check whether the goal has been achieved ? It depends on whether we can formulate a reasonable test plan according to the strategy .

版权声明
本文为[InfoQ]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204232047510330.html