background image

     嵌入式软件测试与一般软件测试之异同研究

摘 要:

随着计算机技术的普及,软件系统已经深入到生活的各个方面,从普

通的计算机软件,到银行或超市的终端系统,甚至到手机的软件系统。对软件的
质量要求也在不断提高,软件测试及其技术也有了飞速发展。在对软件测试技术
相关基本概念研究解析的基础上,分析软件测试起源与发展,保证软件产品的
质量、提高产品的可靠性。对于嵌入式软件系统,因其多样性,基于操作系统,
使用的开发环境,微控制器都是日益繁多的,所以嵌入式软件测试与普通软件
测试相比有其自身的特点。
关键字:软件测试;嵌入式软件测试;软件质量
Abstract:As the population of using computer get growing, it is not 
doubt software has been rooted in every aspects of our daily life, 
from the common software you can get from the market to the high 
security   software   used   in   the   blank   and   the   terminator   in   the 
supermarket,   even   to     the   software   which   be   put   into   Mobil 
phone,so the requirement for its quality is never ignored,Software 
testing and its technology has evolved. On the basis of digging into 
the software test and analyses the history of it, which ensure the 
quality and stability value to the products.

 

As embedded software on 

system,   the   diversity   of   the   development   environment,   the 
controller   are   more   onerous,   so   embedded   software   testing 
compared to ordinary software testing has its own characteristics.

Key   words:  

software   testing;   embedded   software;   quality   of 

software

引言
    

嵌入式软件的开发和测试也就与普通软件的开发和测试策略有了很大的不同,

嵌入式软件系统是一种针对特殊任务、特殊环境而进行特殊设计的定制产品,有
其专门的开发环境、软硬件紧密结合、严格的实时要求等特点。使得嵌入式软件测
试与普通软件测试虽有相似之处,但有也有其自身独特的特点。

软件测试和嵌入式软件测试

2.1 软件测试的定义及目的

软件测试,即

Software Testing。软件测试的定义有很多,在 1979 年出版的

一本经典著作《软件测试艺术》(

The art of software testing)中,GLEMFORD   

J.MYERS 曾经对软件测试下过如下定义:软件测试就是为了发现错误而执行程
序或系统的过程。虽然它不太完善,但放在当时的情况下是可以说的通的。

随着计算机和软件技术的发展,软件应用的复杂性和规模的不断扩大,软

件测试技术的研究也取得了很大的突破。早期的定义已经不适用了,许多专家对
软件测试提出了各种各样的定义。综合起来,我们可以定义

“软件测试是由一个

程序的行为在有限测试用例集合上,针对期望的行为的动态验证组成,测试用