Discuss in detail the idea of shifting the test to the left and the test quality assurance

1. Preface:

The goal of testing is to find defects in the system as early as possible and fix them. From the perspective of test economics, the earlier a bug is discovered, the lower the repair cost and risk. Later bug fixes will not only increase communication time, but may also introduce new problems, increase test verification time, and delay the progress of the project. Risk of going online.

It is not difficult to know from the traditional software development process that a complete project will roughly go through the three important stages of requirements analysis, development coding, and testing. If the testers only begin to intervene in the final testing phase, which runs counter to the goal of software testing, the project needs to spend more energy to fix the bugs.

The idea of ​​shifting the test to the left is that testers intervene in the project in advance to find problems in advance. This requires testers to participate in the project during the requirements analysis stage. A good start is half the battle. To put it simply, moving the test to the left means to shorten the test cycle through a series of early activities. The following are the points that testers should pay attention to at different stages.

2. Body:

1. Project demand stage:

The new requirements of the project mainly achieve what functions, you must make clear with the product and developers in advance, do a detailed analysis of the requirements, find unreasonable requirements, understand the fuzzy requirements clearly, and do a good job for the design of subsequent test cases Pave the way; grasp the key points of the test, build a test environment and prepare test tools for key functions in advance, design test plans; at the same time, consider whether the existing functions of the project can be automated, and develop test scripts in advance.

2. Development and coding stage:

In the development and coding stage, you can carry out unit testing, interface testing, participate in the development of code reviews, prepare test data and complete other test programs for auxiliary testing.

3. Before development and testing:

Can carry out smoke test, key functional module bottom-up test, review test strategy with development, design, and product related personnel to ensure test coverage and test quality.

Not all test items are suitable for testing shift left. For example, UI automation testing needs to wait for the development to complete the interface development, so UI automation testing does not have test shift left; while interface testing is very suitable for testing shift left, the interface document has detailed interface logic, The parameters and return values ​​are clearly defined. It is not necessary to wait until the interface development is completed before writing test code and preparing test data. You can immediately intervene in the test after the interface development is completed.

4. A series of activities to test the left shift:

a. Complete project testing process
b, writing excellent test cases
c, formulating a reasonable test plan
d, reasonable automated test plan
e, appropriate exploratory testing
f, developing self-testing process
g, participating in the test as early as possible

The above series of activities only include test-related activities. The actual improvement of the quality of a complete project is not only the responsibility of the testing department, but also the result of the cooperation of the product, development, and quality departments. The following series of activities are also important for ensuring the quality of the system. Plays great value:

a. Complete project process
b, reasonable demand analysis
c, detailed document design
d, excellent system architecture and R&D team
e, standardized R&D process

Does the above enlighten the current testing work?

3. Written at the end:

Never blame others for not helping you, and never blame others for not caring about you. Living in the world, we are all independent individuals, and we have to bear the pain and discomfort by ourselves. No one can really understand you. He will never feel the pain if the stone is not hit on his foot. On the road of life, we are all lonely walkers, like people knowing themselves when they drink water and warm water, and you will always be the only one who can help you. So cheer up, friends, as long as you don't forget your original intention and move forward courageously, you will definitely bloom your own flower.

Four. Talking

I recommend a software testing exchange group here, QQ: 642830385. The group will share software testing resources, test interview questions and test information from time to time. You can actively communicate technology in the group, and there are big guys to answer your questions.

In the wind and rain, I am waiting for you in the group.
Insert picture description here

Guess you like

Origin blog.csdn.net/weixin_54696666/article/details/114001533