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

计算机工程 ›› 2011, Vol. 37 ›› Issue (8): 50-51. doi: 10.3969/j.issn.1000-3428.2011.08.017

• 软件技术与数据库 • 上一篇    下一篇

基于Tcl的智能卡软件测试方法

张永强,王 强   

  1. (河北工程大学信息与电气工程学院,河北 邯郸 056038)
  • 出版日期:2011-04-20 发布日期:2012-10-31
  • 作者简介:张永强(1966-),男,教授,主研方向:计算机检测与控制,软件可靠性工程;王 强,硕士研究生
  • 基金资助:
    河北省自然科学基金资助项目“遗传规划在软件可靠性建模中的应用研究”(F2008000752)

Tcl-based Smart Card Software Test Method

ZHANG Yong-qiang, WANG Qiang   

  1. (School of Information and Electrical Engineering, Hebei University of Engineering, Handan 056038, China)
  • Online:2011-04-20 Published:2012-10-31

摘要: 针对现有智能CPU卡中应用软件测试难、效率低的问题,提出一种基于Tcl脚本语言的嵌入式测试方法。在个人计算机/智能卡通信协议(PC/SC)体系下,将Tcl嵌入到测试系统代码中,把要测试的功能设计成Tcl扩展命令来实现,根据各个功能编写不同的测试用例,通过测试系统界面调用对应的测试脚本(扩展名为.Tcl)。在嵌入式大容量CPU卡的自动化测试过程中,该方法能提高回归测试的效率。

关键词: 智能卡, 个人计算机/智能卡通信协, Tcl语言, 自动化测试, 脚本技术

Abstract: In view of the low efficiency about testing smart CPU card application software, this paper proposes a kind of embedded method based on Tcl scripting language. In the Personal Computer/Smart Card communication protocol(PC/SC) system, the test system is embedded in Tcl codes, and designs Tcl extended commands to test the soft function. Each function is tested by different test cases, through the test system interface to call the corresponding test script (extension named .Tcl). It improves the efficiency of regression test in the automation process of embedded high-capacity CPU card.

Key words: smart card, Personal Computer/Smart Card communication protocol(PC/SC), Tcl language , automated test, scripting technology

中图分类号: