This article takes you to understand the test left shift and test right shift

Software testing is the testing of all work products in the process of software formation, not only testing the operation of program functions, but also including relevant data and documents. The development of testing work runs through the entire software development life cycle, and is an activity process for verifying and confirming software-related products, with the purpose of discovering various problems existing in software products as early as possible.

Equivalent to the traditional software testing process, people often hear that the test is shifted to the left and the test is shifted to the right. Shifting testing left refers to early problem detection, continuous integration, automation where possible, and a deeper understanding of customer needs to improve their experience. For testing moving to the right, this is relative to testing in the production environment, which provides reflection and evaluation of the real environment, actual performance, and intended users.

(The picture comes from the Internet, if there is any infringement, please contact us to delete)
What is the purpose of moving left and right in software testing? The shift-left approach to testing uses earlier tests and typically performs testing tasks early in the product lifecycle, which can be understood as a left-shift on the project timeline. A shift-right approach to testing is being able to test in production to prepare for unknown, unexpected situations like production.

Shifting testing to the left actually means that testing starts early in the development cycle and continues throughout the development cycle. The goal is to prevent the mass production of defects as early as possible, reducing risk, rather than dealing with many critical bugs and problems after development. Therefore, testers can be introduced early in software development to proactively discover and deal with defects. It also helps developers do things right the first time and deliver on time and with high quality.

And from the perspective of cost, if the defects are found early, it will be lower for the project. Moving testing to the left also means constantly testing higher quality products. Testers and developers can focus early on on the ultimate customer expectations and experience, and continuous testing will lead to a better product and customer experience. From a quality standpoint, bugs are detected and fixed early, reducing the cost of repairs. In one sentence, the test is shifted to the left, and the test is carried out as early as possible to reduce the overall project cost and maintain the quality. The test is repeated continuously, and automation is used as much as possible to improve efficiency. Design according to customer requirements and improve customer experience.

Test-shift-left ensures that quality and business requirements are met, while test-shift-right approaches guarantee operation in real-world environments. Shift-left testing helps teams prepare for unexpected events, such as performance issues, crashes, failures, and more. But it may not be enough to ensure software quality in terms of user experience and expectations. Shift-right testing can be seen as a testing task from the later stages of software development to ensure stability, performance, and usability standards.

In this way, feedback can be gathered from target users to understand how the software actually functions. This helps to further improve the quality of the software. While shift-left testing brings initial and ongoing testing efforts to prevent defects, the role of shift-right testing is also very important, testing in production to ensure product performance and stability in real-world scenarios, from target users Get opinions, ensure customer satisfaction, be able to test real usage scenarios and load levels implemented in a test environment.


Moving testing to the left can save time, improve testing efficiency, conduct risk analysis and assessment, and make rational use of resources. Moving testing to the right is more about obtaining correct and real user experience and usage scenarios. The emergence of both is also to better control the quality of the software.

Software testing basic + advanced + advanced + project full set of tutorials, the most complete & official version in the whole network.

★Learning depends on self-awareness, sharing depends on voluntary!

★If you like it, please press and hold it three times: favorite + coin + like, thank you for your support!

Software testing video tutorial from entry to mastery (full version)

Guess you like

Origin blog.csdn.net/GUDUzhongliang/article/details/132035108