Font Size: a A A

Study On A Unit Testing Method And The Application In Operation And Management System For A Paper Factory

Posted on:2010-10-01Degree:MasterType:Thesis
Country:ChinaCandidate:Q WangFull Text:PDF
GTID:2178330338488051Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the flying development of IT industry, software products are proliferated in various social fields, and the quality of them has become the focus people pay great attention to .Software test is the main means to guarantee software quality. Unit test is the first step in the process of software test. and is also the most important step. The earlier the unit tests were started, the earlier the bugs were found, and the less costs to eliminate the bugs.The unit testing is mainly divided into the dynamic testing and the static testing, and the static testing is also divided into the unit testing of the white box method and the unit testing of the black box method. The test method using the white box method has the sentence covered method, the determination covered method, the condition covered method, the determination/ condition covered method, the condition combination covered method, the path covered method and so on. The test method using the black box method has equivalence class partitioning method, boundary-value analysis method, cause-effect graphs method, orthogonal list testing method and so on.Based with the analysis of unit testing method, taken the operation and management system of a paper factory as the example, researching all the ways of unit testing and the application of software development is conceivable. In the foundation of researching unit testing and test case designing, we will design and realize the unit testing ofin the operation and management system of the paper factory. The first, analyzes the unit testing requirement, carries on the unit testing plan. The second, compile and carry out the compile use case of unit testing. And the last, review and make the summary the unit testing.The operation and management system of the paper factory is based on the JSF frame, and takes the NetBeans5.1 the front-end view development, and takes the Eclipse3.1 as the development tool of logic layer, and takes Oracle 10g to support database development.In the system, we use the technology of test-driven development and test tools of JUnit and DJunit.
Keywords/Search Tags:Unit Testing, Dynamic testing, Static testing, White-box Method, Black-box Method, Test-driven Development
PDF Full Text Request
Related items