摘要
测试用例的复用对于提高测试工作的效率极为重要。提出一种测试用例复用机制,减少测试用例对环境的依赖,提高复用的程度。用Z规格说明对用户需求进行描述,实例化后生成测试用例,然后对测试用例进行可复用描述,得到形式统一的可复用测试用例。建立测试用例库系统存储和管理用例,实现多种方式的复用。
It is important to reuse test cases for testing efficiently. In the paper,a reuse mechanism is proposed to reduce the dependence of test cases on environment, and to improve the level of test case reuse. Test cases are generated from the instances of user requirement model which is expressed by Z specification. Then XML is used as a unified format to describe the reusability of test cases. Finally, a library is created to store and manage test cases and to achieve mixed reuse via the function provided by the library.
出处
《计算机应用与软件》
CSCD
2009年第12期135-138,258,共5页
Computer Applications and Software