Abstract:
Unit testing is used by programmers to discover bugs with least cost. Static unit testing offers the minimum path coverage while dynamic unit testing detects control and ...Show MoreMetadata
Abstract:
Unit testing is used by programmers to discover bugs with least cost. Static unit testing offers the minimum path coverage while dynamic unit testing detects control and data flow problems. In this paper, we develop a method to translate a program from "character" mode to "graph" mode, so that the tester can picture the existing code without losing the ability to generate tests. In static analysis phrase, this method can help testers to detect grammar errors, extra code, non-initialized variables, search paths to cover the code, and generate tests. In dynamic phrase, testers can get benefit from this method to check internal logic, exception and boundary conditions.
Published in: 2009 Fourth International Conference on Computer Sciences and Convergence Information Technology
Date of Conference: 24-26 November 2009
Date Added to IEEE Xplore: 31 December 2009
ISBN Information: