Font Size: a A A

Study On Implementation Of Component-Based Software Integration Testing Platform

Posted on:2009-08-19Degree:MasterType:Thesis
Country:ChinaCandidate:J J DengFull Text:PDF
GTID:2178360245980188Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
In the late-1990s, people commenced on researching component-based software testing, recent years, with the enlargement of software's scale and complexity, component integrated testing gradually became a hot topic. Because of the own characteristics of component, such as: hybrid, unknown of the source code, the difference of development environment, as well as the development standard and the versions bring by different development time, its function can't be guaranteed always, even possibly appear the conflicts and mistakes when alternate, So we need to test the integrated system fully to enhance the reliability of software systems. This thesis carried out the discussion on how to improve the testability of component-based software, and completely dissertated effective technical scheme for the realization, based on ITACBS (Integration Testing Architecture for Component-Based Software).The ITACBS mainly includes configuration system, compiler system and execution system. Among those three systems, configuration system features in solving the common description for the testing system information. This thesis adopts the XML to describe information, specifies the pattern of the deployed file needed throughout the whole testing engineering process, use the dom4j as the parse engine for XML file to implement the functionality about how to read from and write into the configuration file. Compilation system focuses on the transformation from contract description to actual code, and plus the code before or after the port of the component correctly. The way of checking code-oriented is applied in this thesis. It can be systemized into two kind of contracts which are special interface-oriented and special function-oriented. While packaging the component port, it utilizes the calling and redirection of the port among which contract checking Class is called automatically to complete the contract checking functionality. The execution system organizes the test process, runs the test unit and analyzes the test results according to the reports generated after the execution. The author chooses TestNG-Abbot as testing tool to run the packaged test unit, and generate the testing report. While analyzing the results from contract checking, fault is specified between the serving part and client part when the port is failed to be called, and the automation model which is based on statue of the interface calling and triggered events can be deployed to.At the section of the executive system in this paper, an example is presented which is based on a data pool component to illustrate the implementation method. In the end, author summed up the thesis, and proposed the next work prospects.
Keywords/Search Tags:Component, Integration Testing, Testability, Contract, Testing Architecture
PDF Full Text Request
Related items