摘要
针对现有智能CPU卡中应用软件测试难、效率低的问题,提出一种基于Tcl脚本语言的嵌入式测试方法。在个人计算机/智能卡通信协议(PC/SC)体系下,将Tcl嵌入到测试系统代码中,把要测试的功能设计成Tcl扩展命令来实现,根据各个功能编写不同的测试用例,通过测试系统界面调用对应的测试脚本(扩展名为.Tcl)。在嵌入式大容量CPU卡的自动化测试过程中,该方法能提高回归测试的效率。
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.
出处
《计算机工程》
CAS
CSCD
北大核心
2011年第8期50-51,54,共3页
Computer Engineering
基金
河北省自然科学基金资助项目"遗传规划在软件可靠性建模中的应用研究"(F2008000752)
关键词
智能卡
个人计算机/智能卡通信协议
TCL语言
自动化测试
脚本技术
smart card
Personal Computer/Smart Card communication protocol(PC/SC)
Tcl language
automated test: scripting technology