A structured approach for software module testing and its implications for integration testing
B. Khalili, Murat M. Tanik · OSTI OAI (U.S. Department of Energy Office of Scientific and Technical Information) · 1996
To ensure the quality of modules, software testing is often practiced. This paper presents a methodology to perform module testing and investigates the reuse of module testing data for integration testing. The underlying hypothesis is that a module is best understood by its developer(s) at the time of developing, at which time the developer is most qualified for constructing test cases. These test cases are recorded in a script language and are associated with the module as a mark of quality. They can also serve to test modified version of the module in the lifetime of the software system. When test cases are recorded in the proposed script language, a test driver is automatically generated to execute the module on the test cases. The proposed module testing approach has been applied in three projects and improvement of overall system quality is observed. Reusing module testing data for integration testing is studied. Implications of such an approach to achieve better software system reliability with less cost are addressed.