Font Size: a A A

Uml-based Component Testing Technology Research

Posted on:2007-10-26Degree:MasterType:Thesis
Country:ChinaCandidate:S Q XiFull Text:PDF
GTID:2208360182478823Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
With component-based software technology widely used in software system development, the guarantee of system quality become more and more important, which put the new challenge to software test. Some characteristics of component-based system make it hardly to be test by traditional way. It is in urgent to find some new testing methods to fitting for the component-based software system.Test case design and generation is the key and challenging problem in software testing technology, the core of it is to develop effective test cases based on exact software specifications. This thesis focuses on generating test cases from UML models, and the software systems requirement is specified with UML. Our main works list as follows:1.First, the characteristics of component-based systems were discussed, and component testing technology based of UML was researched as a whole. The test strategy based on UML was given and the testability of UML diagrams were analyzed in detail.2.Aimed to the interactive communicational problems among components during the period of integration testing, this thesis gives the UML Collaboration Diagram as a basis for testing. We focus on the approach of test case generation based on UML Collaboration Diagram. Especially, the syntax and semantics of UML Collaboration Diagram were formatively defined and described.3. The test case generation strategy based on UML Collaboration Diagram is put forward, which consists of the generation of scenarios based on the Control Flows of Collaboration Model and the generation of basic test data from the input data. We expand the coverage rule from the traditional path coverage, that is the Message Queue Coverage rule from Collaboration Model.4. Based on UML collaboration model, a method of testing script design and generation is elementary investigated. A basic strategy of test script generation is presented.5. Implement an UML Collaboration-Model-based test case generation tool, which using the extension interface of Rational Rose. And the tool is used in a library system test case generation. Through analyzing the test cases and the results, it proved the validity of our testing method.
Keywords/Search Tags:component-based system, software testing, UML models, test case generation, coverage rule, test scenarios
PDF Full Text Request
Related items