如果我想以白盒方式验证这段代码,就必须将特定于用户界面的代码与业务代码分开,这就需要进行重构。
If I want to validate this code in a white box manner, I have to separate UI-specific code from business code, which requires some refactoring.
白盒描述依然包括黑盒一样的抽象。
White box descriptions still contain abstractions which are treated as black boxes.
显示逻辑的白盒场景的序列图。
图5:逻辑的白盒场景的序列图。
每一行代码都应该被白盒测试覆盖。
Every line of code should be walked through in a "white box" testing manner.
图7:白盒场景序列图实例。
对软件白盒测试的基本方法进行分析。
This article analyses the basic methods of software white-box-testing.
分别采用白盒测试和黑盒测试的方法。
Adopt the method that the white box is tested and the black box test separately.
大多数这种类型的测试利用白盒测试方法。
Most of this type of testing employs white box test methods.
首先介绍软件测试中白盒测试的方法;
The white -box-testing method in the software testing is introduced;
该结果被称为逻辑白盒场景,如图5所示。
The result is called a logical white box scenario, as shown in Figure 5.
白盒测试是检验程序正确性的重要方法。
White-box test is a kind of important method to verity correctness of program.
显示白盒场景的序列图。
图6:零售系统的分配白盒场景的序列图。
Figure 6: Distribution white box scenario Sequence diagram for a retail system.
这被称为白盒视图。
这两个过程通常被称为白盒测试和黑盒测试。
These processes are often referred to as white box and black box testing.
白盒测试和黑盒测试是软件测试中的常用方法。
White box testing and black box testing are frequently used in software testing.
我们进一步考虑一下黑盒和白盒透视图之间的区别。
Let's consider a little more closely the distinction between black and white box perspectives.
测试有多种类型。主要分为黑盒测试和白盒测试。
There are different types of testing. The main division is between black box testing and white box testing .
白盒测试或结构化测试是应测试软件构建方式而生的。
White box or structural testing is designed to test the way that a piece of software is built.
另一方面,白盒透视图包括系统的另外两个方面的信息。
A white box perspective, on the other hand, includes information about two additional aspects of the system. In addition to the inputs and outputs, a white box perspective describes.
从这一点看,这些相关的或者黑盒情景已经被转换成白盒工具。
At that point, these contextual or black box scenarios are transformed into white box implementations.
介绍了主要的三种测试方法,黑盒测试、白盒测试、灰盒测试。
We describe three main test methods, which are black-box test, white-box test, gray-box test.
基本路径测试是一种重要的白盒测试技术,具有较高的故障覆盖率。
As an important white-box test method, the basic path test has higher fault coverage.
黑盒和白盒属性并不是一个元素的内在特性,注意到这一点非常有用。
It's useful to note that black and white box attributes are not inherent characteristics of an element.
第四章总结了常用的软件测试技术:黑盒测试技术和白盒测试技术。
Chapter four summarizes the common technologies of software testing: black box testing and white box testing.
白盒坐落在露石混凝土结构上,这有助于隐藏地下室不同房间的窗户。
The white box sits over a concrete exposed structure, that helps hide the Windows of the different rooms of the basement.
粗糙的混凝土元素用于街边和庭院正面,通过材质对照突出了白盒建筑。
Rough off-shutter concrete elements were used on the street boundary and the courtyard facade accentuating the white box through textural contrast.
这实质上是一种“白盒”方法,它基于您透彻了解所研究系统的内部构造。
This is essentially a "white box" approach, based on a deep understanding of the internals of the system being investigated.
第二章是关于特定技术的白盒测试,黑盒测试和能在不同的层次使用的数个其它方法。
The second chapter is about the specific techniques of white-box testing, black-box testing, and several other methods that can be applied at different levels.
应用推荐