Font Size: a A A

Class State-Based Automation Testing IDE Study

Posted on:2005-01-03Degree:MasterType:Thesis
Country:ChinaCandidate:B W ZhangFull Text:PDF
GTID:2168360125469621Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
With the development of social information, the scale of software increases continuously. Ideas and methods of software engineering have been developing constantly from nothing to Waterfall Model, Spiral Model, Fountain Model, Agile Development, Test-driven Development. At the same time, with object-oriented language naissance and application, models of software programming transform increasingly from process -oriented to object-oriented, aspect-oriented. No matter how transformation of programming language, programming model and software engineering method vary, software testing always plays an important role in software developing process.The paper discusses characteristics of 00 software and its influence to software testing. Then class state-based testing model is analyzed, that is to say, the state-machine of class from UML is restricted properly and constructed to suit for automated testing. On the basis of the theory above, an UML-based testingtool--CppTestIDE(C++ Test Integrated Development Environment) isdesigned and developed. According to the specification UML-based of OOA/D, the tool can pick up the state-machine of class, generate testing case by handcraft, construct and generate a testing device. And the tool can insert some probe function into source codes for measuring code coverage. With this understanding, the tool generates an executable file through compiling testing device and source codes. Finally, the executable file is executed by testing driver, test result is analyzed and a test report is generated.
Keywords/Search Tags:software testing, UML state-chart, program instrumentor, testing driver
PDF Full Text Request
Related items