|
With the rapid development of the IT industry , software products, widely used in all areas of society , the quality of software products become a common focus . Software testing is an important means to ensure the quality of the software . Unit testing is the first step in the testing of the software , but also the most important step . Unit test sooner you start , the fault was found as soon as eliminate the cost of failure is the less . The unit tests are divided into static testing and dynamic testing method , dynamic testing method and white-box unit testing and unit testing of black-box approach , unit testing white box testing method statement covering law , decision coverage law the conditions overlay method , decision / condition coverage method , the combination of conditions covering method , path coverage law , the use of black box unit testing , test methods , including equivalence partitioning , boundary value analysis , cause and effect diagrams , orthogonal table test method. On the basis of the analysis of the unit test method , a paper mill job management system , for example , the various methods of the research unit test its entire software project development . Presentation layer of paper mill operations management system , based on the research unit test method and test case design , numerical objects , business layer , control layer unit testing Design and Implementation . System first analyzes the demand for unit testing , unit test plan , and then write unit test cases and implement unit tests , and final review and summarize the unit test . The paper mill operations management system is developed under the JSF framework to NetBeans5.1 as the front-end view development, to Eclipse3.1 as the the intermediate logic layer development tools to support the development of the database Oracle 10g . Use test-driven development techniques and of JUnit, DJunit test tools for unit testing of the system .
|