Font Size: a A A

The Research And Design Of Software Component Testing Framework Based On Date-driver

Posted on:2015-01-05Degree:MasterType:Thesis
Country:ChinaCandidate:S S PengFull Text:PDF
GTID:2268330428466407Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
More and more software products are applied into people’s lives, how to ensure the qualityof software products has become an important issue. Currently, the development way of softwareproducts is mainly based on software components. Software component has become a guaranteeof software quality. However, some characteristics of component-based system make itunsuitable to be tested by traditional testing techniques and traditional testing theory. Testingsoftware component has become the focal point of current research in software testing field.The paper represents software component testing technology based on data-driver, whichrealize automatic component testing to some extent. In the design, the framework usesdata-driven to design the test scripts, the test scripts and test data are stored separately. Whenimplementing the test, the test engine picks up test data, combines boundary value analysis andproducts test script. Finally, running test script, producing real test results and comparing withexpected test results.The main works of the paper are listed as follows:(1)According to some features of software component, it uses reflective technology toextract component information and uses boundary value analysis and certain algorithms tocomplete the test case. The test case including the test data and test procedures is stored indocument in XML format, which is easy to read. In order to facilitate the reading of different testcases, the paper formulates the XML test case by XML Schema.(2)On the test script, the data-driven technology has been used. The test data are stored indata document. When running test, the framework loads test data into framework. Thedata-driven technology achieves reusability of test scripts.(3)A framework for software component test based on data-driver is given. In the framework,it needs to coordinate the work of the various modules. The modules are extracting componentdata, designing test case, drafting test file, drawing up test script rules, producing test script,running test engine, obtaining test result, getting test report. When testing the component, theframework through the flowing of data to complete software component testing.(4)An integrated framework for component testing is implemented. We use an componentwith landing capabilities as an example to validate the framework.
Keywords/Search Tags:data-driver, software component, test case, test script, testengine
PDF Full Text Request
Related items