Dissertation
Dissertation > Industrial Technology > Automation technology,computer technology > Computing technology,computer technology > Computer software > Program design,software engineering > Software Engineering > Software Development

Based on expert system automatically generates test cases Method

Author GaoGongGe
Tutor YangJing;CaoBin
School Guizhou University
Course
Keywords Software testing Test case Test Automation Expert system Knowledge Base Case Library Z Language
CLC TP311.52
Type Master's thesis
Year 2009
Downloads 39
Quotes 0
Download Dissertation

Computer Science and Technology With the rapid development of application software has deep into our daily life. Software testing to ensure software quality has an important role, but the test manual is very cumbersome and inefficient, so that automated testing is particularly important on the.The main include:(1)automatic generation of test cases; (2) the use of test cases to test the implementation of the procedures; (3) the results will be compared with the test predict the test results to be measured. In recent years, although the software testing has made great progress in automation technology, the majority concentrated in the following two-step results of the study, but study of the automatic generation of test cases lags behind, the study will be more important and urgent.In this paper, study and research in automatic generation of test cases the existing theory on the basis of summing up the advantages and disadvantages of existing methods, proposed a rule-based expert system for automatic generation of test cases of the model.The model is the introduction of expert system technology to automatically generate test case method, the advantage of expert system to take full advantage of the knowledge engineer, testing experience and skills to guide the generation of test cases to improve test efficiency. Major component of the model are knowledge base, case base and inference engine.(1)Knowledge of major tasks:Z language, that the knowledge, store of knowledge and know-how to find and match the design. (2) database design case:the case said that the find, matching, self-learning functions. (3)inference engine:the test case set by the rules of derivation. Derived in the process of its most important innovation are:the rules by the Z language to describe the implementation of test cases; in the test case generation process, combined with the weight of experts, coverage and boundary value conditions and so the technical value. Conditions of coverage to enhance the reliability of the test cases, according to the experts to test the efficiency of function and experience a variety of test set classification, the right to construct the value of technology experts, in conjunction with boundary value, set to guide the generation of test cases to improve test efficiency.In this paper, a test case based on expert system for automatic generation of models. The model is a combination of formal methods Z language and artificial intelligence technology, is a better method for automated test cases. Thereby completing the most difficult test automation step-test case generation, test automation for the overall process plays a role in promoting

Related Dissertations
More Dissertations