作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2012, Vol. 38 ›› Issue (06): 262-264. doi: 10.3969/j.issn.1000-3428.2012.06.087

• 开发研究与设计技术 • 上一篇    下一篇

OSEK/VDX操作系统功能测试研究

马 保 1,罗晓敏 1,涂时亮 1,沈 灏 2,仇 睿 2   

  1. (1. 复旦大学计算机科学技术学院,上海 200433;2. 普华基础软件股份有限公司,上海 200233)
  • 收稿日期:2011-08-12 出版日期:2012-03-20 发布日期:2012-03-20
  • 作者简介:马 保(1987-),男,硕士研究生,主研方向:嵌入式系统;罗晓敏,硕士研究生;涂时亮,教授、博士生导师;沈 灏、仇 睿,工程师
  • 基金资助:
    “核高基”重大专项“实时嵌入式操作系统及开发环境”(2009ZX01038-001)

Research on Function Test of OSEK/VDX Operating System

MA Bao 1, LUO Xiao-min 1, TU Shi-liang 1, SHEN Hao 2, QIU Rui 2   

  1. (1. School of Computer Science, Fudan University, Shanghai 200433, China; 2. Isoft Infrastructure Software Co., Ltd., Shanghai 200233, China)
  • Received:2011-08-12 Online:2012-03-20 Published:2012-03-20

摘要: 传统OSEK/VDX操作系统测试采用分类树的测试方法,导致测试路径不完全和冗余性高。为此,提出以系统服务接口为目标的面向符合类的流框图测试方法。通过评估接口重要度,准确判断接口的各种调用组合方式,提高测试覆盖率,实现测试代码的复用,其测试工作量比原方法减少三分之一。

关键词: 功能测试, 流框图, 符合类, 最重要测试, 测试覆盖率, 分类树

Abstract: In order to overcome the shortages such as the incomplete test routes and high redundancy in traditional operating system test by using the classification tree method, this paper comes up with a flow chart method which takes the system service interface as target and is divided by the type of conformance class. It also assesses the importance of each interface. This test method can fully list all kinds of combinations of each interface in the called process. So it not only raises the rate of test coverage, but also reduces coding work via code reuse, which improves test efficiency. The outcome shows that the workload by using this method is only two-thirds of that in the traditional method.

Key words: function test, flow chart, conformance class, Most Important Test(MIT), rate of test coverage, classification tree

中图分类号: