| It is very good to apply software reuse to software development. The practice hasproved that software reuse can shorten software development cycle, and improvesoftware quality. Software test case is the key and difficult point in software testing.And it decides the efficiency and quality of software testing. Importing the idea ofsoftware reuse into software testing, and reusing software test case that already existedcan not only shorten the period for software test case design and reduce the workload ofsoftware test case design, but also improve the efficiency of software testing, and ensurethe efficiency of software testing and software quality.This paper mainly studies reuse technology of software test case and reusable testcase generation technology based on IFSA (Interactive Finite State Automaton). Firstly,it introduces the background and significance of reuse technology of software test casebased on requirement, summarizes the research status, and describes related theories.Secondly, reuse technology of software test case based on TCBR (Test Case BasedReasoning) is studied. The similarity measure of test cases is also established. The testcase retrieval algorithm based on the similarity measure of test cases and KNN(K-Nearest Neighbor) algorithm is designed in details. Thirdly, automatic generationtechnique for reusable test case based on IFSA is studied. The formal semantic ofFormal Flowchart (FFC) and IFSA is proposed. Algorithms for transforming FFC toIFSA and transforming IFSA to reusable test cases are presented in details. Finally, aprototype of ATCGBR (Automated Test Cases Generator Based on Reuse) software isdesigned and implemented. |