摘要
从分析测试用例的共性着手,将面向对象系统中的测试用例依据它们的设计方法分为:状态检查测试用例与状态比较测试用例,并进而得出关于这两类测试用例的详细描述.以此为基础,提出了一个统一的测试用例生成、执行的模式,使测试用例能够独立于被测对象,以达到测试复用的目的.
Reuse as one of the targets in software development can alter the current situation of low development efficiency and poor reliability in the production of software. The reusable test can similarly resolve the problems arising from the repeated development in the process of using reuse and so as to advance the applications of reuse in the software development process. In this paper, at first, we analyze the common characteristics of test cases, and then, divide them into two classes: state inspection test cases and state comparison test cases based on their designing methods. And after that, we get a detail description of the two classes. And we provide a theoretical model for generating and executing pattern, and make the test cases being independent of the software to be tested and reach the testing reuse target.
出处
《武汉大学学报(理学版)》
CAS
CSCD
北大核心
2003年第5期592-596,共5页
Journal of Wuhan University:Natural Science Edition
基金
国家自然科学基金资助项目(60173063)