Baffle test

Baffle test_Test baffle_Official account/Headline account: Technology is very interesting blog-CSDN blog

The baffle test is actually a kind of MOCK program, which is used for super large projects~

It is a sandbox beta version that only provides one or a few functional tests

First of all, the baffle test is not very commonly mentioned in the testing field. The baffle test is roughly: in some cross-system performance test projects, often due to the limitations of objective factors (limited test hardware resources, coordination between multiple systems, etc.), we cannot build a complete test environment to complete the test work. At this point, we generally build the system under test, and then use software programs to simulate the functions of other related systems. This software program is generally referred to as a bezel. There are many similar baffles in BAT (Baidu Ali Tencent) company, but it is not called this term internally. They will call it: "offline system" and "Shahe system" in order to distinguish the system that is officially operated online. Therefore, the baffle test is extremely important to test the joint debugging cascade module in normal times.

The company's baffle test is to simulate the return value of the interface to test, and simulate the return value of the service or function. Sometimes the real return value cannot cover all test scenarios, which can be simulated through baffles.

There are also real calls that may incur fees, so use simulation, such as SMS services.
————————————————
Copyright statement: This article is an original article of CSDN blogger "Public Account/Toutiao Account: Technology is very interesting", following the CC 4.0 BY-SA copyright agreement, please reprint Attach the original source link and this statement.
Original link: https://blog.csdn.net/bengxu/article/details/83744719

Guess you like

Origin blog.csdn.net/liuqinhou/article/details/131227667