Font Size: a A A

Research On Automatic Test Case Generation Based On Model Driven

Posted on:2010-10-09Degree:MasterType:Thesis
Country:ChinaCandidate:J C ZhouFull Text:PDF
GTID:2178360275968927Subject:Circuits and Systems
Abstract/Summary:PDF Full Text Request
Software test is one of the key processes of software development and it also plays a very important role in guaranteeing the quality of the software product.Test cases are the highlight of the software test,as its quality and quantity directly determine the quality and test costs of the tested system.With the increase of the software complexity in recent years,the quanity of test cases are increasing by a large amount and the subsequent maintenance workload is accordingly increasing in a gemometric progression.Therefore,the study on the technology of automatically generating the collectin of the optimum test cases is of realistic significance.In the current test activities,the test system engineers(TSEs)are responsible for working out the test plan according to the requirements,drafting the test cases according to the test plan,developing the automatic test scripts according to the test cases,and then performing the test.During the test,any changes in the test requirements or the performance specifications of the tested system will inevitably require the members of the entire test team to make changes correspondingly.Thus,how to respond to the changes quickly and how to maintain the test cases and scripts have become an urgent problem now.For the preceding problems,this paper introduces a module-driven technology for generating test cases automatically.The principal purpose of this technology is to transfer the original work of the design and maintenance of the test cases to the design and maintenance of the test models by using the MBT(Model-Based Testing)technology.In addition,this technology aims to realize the automatic generation of test cases and the re-utilization of test resources through technologies of test logic,automatic generation of test data,and automatic generation of test cases.There are two achievements of the study of this paper,which are as follows:(1)The automatic test case generation structure that is described in this paper effectively solves the problems in the desgn and maintenance of test cases.This structure also improves the working efficiency of the design and maintenance of test cases.(2)The Factor Relationship-Based Testing(FRBT)algorithm that is described in this paper is the best technology in the current test case coverage technologies.Also,the algorithm is the first coverage technology that uses the mathematic model to choose the orthogonal factors in the industry.This algorithm effectively prevents the risks and instability brought by other methods of choosing the orthogonal factors entirely according to the experience of the TSE,and therefore,the design of test cases can be done more quickly and objectively.
Keywords/Search Tags:Automatic Testing, MBT, The Degree of Factor Rrelationship, FRBT, MTG
PDF Full Text Request
Related items