What is the 4th Generation White-box-testing Methodology(4GWM)

本文介绍了第四代白盒测试方法论(4GWM),它继承了前几代的优点并有所创新。4GWM支持测试效果评估、自动化及连续测试,并将测试过程高效融入日常开发流程中。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

What is the 4th Generation White-box-testing Methodology(4GWM)

The 4GWM aims at defects of its ancestors, but inherits many philosophies of the 2GWM and the 3GWM. The following table lists out major differences between the methodologies:

 

Test Effect
Assessment

Automatic
Testing

Continuous
Testing

All-in-One
Debugging
and
Testing

1GWM

No

No

No

No

2GWM

Yes

Yes

No

No

3GWM

Yes

Yes

Yes

No

4GWM

Yes

Yes

Yes

Yes

In the above table, “Test Effect Assessment” means whether it supports coverage or index to assess the testing effect; “Automatic Testing” means whether it can formalize the testing operations and use them for next testing; “Continuous Testing” means whether it carries out testing in the continuous integration mode; “All-in-One Debugging and Testing” means whether it integrates testing design into routine product coding and debugging in a highly efficient way.

The watershed between 2GWM and 3GWM is “Continuous Testing”. Maybe you will say that your project is often upgraded and added with new test cases. Please note that they are two concepts. Among the 12 steps in improving codes in Joel testing, there is one sentence “Do you correct faults before writing new codes?” Correcting faults before writing new codes is for quality-first projects. Otherwise, it is for progress-first projects. These are two totally different styles. In the former continuous testing, test cases will be added after even one or two functions and the testing practice is melted into the development progress. The latter follows the schedule and testing is only a task of a certain stage.

Why do we relate testing methodology to software development? It is because testing is not isolated. The effectiveness of testing strongly relies on the software engineering method. In earlier development languages, only assert statements have relations with testing. In today’s C#, unit testing frameworks have become fixed components of the language. Testing scripts are also a type of product codes. Testing methodology has close relations with software development methodology in effect,which is well reflected in the 3GWM and 4GWM.

Compared with the 3GWM, the 4GWM has melted the testing process (including testing design, implementing, and improving) into the whole course of development in a highly efficient way. Here, “highly efficient” is the key words. What does “highly efficient” mean?We’ll learn 9 key features of the 3 key fields of the 4GWM at first, as follows:
A. The 1st key filed: online testing
1) Online testing driven
2) Online script stub
3) Online test case design, running, and assessment & improvement

B. The 2nd key field: grey-box debugging
1) Call-based interface
2) Debugging is testing
3) All-in-one coding, debugging and testing

C. The 3rd key field: continuous testing
1) Test design first (TDF)
2) Continuous guaranteed confidence
3) Test design reconstructing

欢迎转载此文,转载时请注明文章来源:文斯测试技术研究中心 http://blog.youkuaiyun.com/vincetest

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值