Reusing Test Cases Based on the Function Point
Reusing test cases from existing test case library is quite common in the software testing field. Testing practice tells us that there is a strong relationship between the granularity of a function unit under testing and that of the test case. A function unit with small granularity usually results i...
Saved in:
Published in | 东华大学学报(英文版) Vol. 31; no. 4; pp. 441 - 446 |
---|---|
Main Author | |
Format | Journal Article |
Language | English |
Published |
Shanghai Key Laboratory of Computer Software Evaluating & Testing, Shanghai 200235, China
31.08.2014
School of Electronic and Electrical Engineering, Shanghai University of Engineering Science, Shanghai 201620, China School of Computer Engineering and Science, Shanghai University, Shanghai 200444, China%School of Computer Engineering and Science, Shanghai University, Shanghai 200444, China%Shanghai Key Laboratory of Computer Software Evaluating & Testing, Shanghai 200235, China%School of Communication and Information Engineering, Shanghai University, Shanghai 200444, China%Department of Electrical Engineering, University of Washington, Seattle WA 98101, USA |
Subjects | |
Online Access | Get full text |
ISSN | 1672-5220 |
Cover
Summary: | Reusing test cases from existing test case library is quite common in the software testing field. Testing practice tells us that there is a strong relationship between the granularity of a function unit under testing and that of the test case. A function unit with small granularity usually results in the test cases with the same small granularity. Therefore a test case defined as the function point,i. e.,the smallest size function unit,was provided for the first time.Though test cases with smaller granularity usually have better reusability,the cost of accurately reusing and integrating such test cases is also higher. In order to balance the test case reusability and the cost of test case reuse,a novel test case reuse model based on the function point was proposed in this paper. In this model,a reusable test case for specification-based testing was defined and some reuse strategies and three formal reuse methods were given. Finally,the complete automatic software process was realized by a reusing generation tool. The new method has improved reuse accuracy,while greatly enhances the software productivity. |
---|---|
Bibliography: | 31-1920/N ZHANG Juan , TONG Wei-qin, CAI Li-zhi, HUANG Wen-bin, HWANG Jenq-Neng (1 School of Electronic and Electrical Engineering, Shanghai University of Engineering Science, Shanghai 201620, China 2 Shanghai Key Laboratory of Computer Software Evaluating & Testing, Shanghai 200235, China 3 School of Computer Engineering and Science, Shanghai University, Shanghai 200444, China 4 School of Communication and Information Engineering, Shanghai University, Shanghai 200444, China 5 Department of Electrical Engineering, University of Washington, Seattle WA 98101, USA) function point function unit test case test case suite reuse RG tool Z specification language Reusing test cases from existing test case library is quite common in the software testing field. Testing practice tells us that there is a strong relationship between the granularity of a function unit under testing and that of the test case. A function unit with small granularity usually results in the test cases with the same small granularity. Therefore a test case defined as the function point,i. e.,the smallest size function unit,was provided for the first time.Though test cases with smaller granularity usually have better reusability,the cost of accurately reusing and integrating such test cases is also higher. In order to balance the test case reusability and the cost of test case reuse,a novel test case reuse model based on the function point was proposed in this paper. In this model,a reusable test case for specification-based testing was defined and some reuse strategies and three formal reuse methods were given. Finally,the complete automatic software process was realized by a reusing generation tool. The new method has improved reuse accuracy,while greatly enhances the software productivity. |
ISSN: | 1672-5220 |