四阶段测试模式(Four-Phase Test)

四阶段测试模式.png

相关术语简介

test fixture:测试夹具

In xUnit, a test fixture is all the things we need to have in place in order to run a test and expect a particular outcome.

depended-on component (DOC) :第三方依赖组件

An individual class or a large-grained component on which the system under test (SUT) depends. The dependency is usually one of delegation via method calls. In test automation, it is primarily of interest in that we need to be able to examine and control its interactions with the SUT to get complete test coverage.

SUT:被测系统

Also known as: AUT, MUT, CUT

The "system under test". It is short for "whatever thing we are testing" and is always defined from the perspective of the test. When we are writing unit tests the system under test (SUT) is whatever class (a.k.a. CUT), object (a.k.a. OUT) or method(s) (a.k.a. MUT) we are testing; when we are writing customer tests, the SUT is probably the entire application (a.k.a. AUT) or at least a major subsystem of it. The parts of the application that we are not verifying in this particular test may still be involved as a depended-on component (DOC).

测试四阶段

测试四阶段按顺序依次为:

测试四阶段标准化的好处

参考
Four-Phase Test
《测试驱动的嵌入式C语言开发》

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容