Font Size: a A A

Research And Application On Unit Testing Technology For Object Oriented Program By CppUnit

Posted on:2013-03-20Degree:MasterType:Thesis
Country:ChinaCandidate:K N ZhangFull Text:PDF
GTID:2248330395956304Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the rapid and deeply development of computer technology, software has been widely applied in everyone’s daily life, and the quality of software has become the central issue which people value. Software testing, as an effective guarantee of software’s quality, its importance has increased obviously, the unit testing is a test for the smallest unit of software design after the code is finish. It’s an effective way to improve software’s quality. This paper will offer a unit testing system solution for the program using object oriented and practice it.At first, this paper introduce the current situation of research subject and the development tendency, than introduce the feature and method of use for technology and tools about software testing, unit testing and object oriented, the paper also analyses CppUnit’s compilation regulation and the realization mechanism, and then put forward the unit testing solution for the object oriented program, and use the project "iTools monitor platform unit testing" as an example, in the practice, because of the importance of test case, this paper designs the test case by method of black box testing with white box testing. Summary the usual steps for test codes and priority for the coding to the test object. At last, the test report and test results prove that this solution is feasible and effective.This paper includes the practical experience and software testing theories. It is believed that this paper is helpful to the further research of unit testing and significant to expand the using scope of CppUnit.
Keywords/Search Tags:Software Testing, Unit Testing, Test Case, Automated Testing
PDF Full Text Request
Related items