XP 2007: Agile Processes in Software Engineering and Extreme Programming pp 101-104 | Cite as
EzUnit: A Framework for Associating Failed Unit Tests with Potential Programming Errors
Abstract
Unit testing is essential in the agile context. A unit test case written long ago may uncover an error introduced only recently, at a time at which awareness of the test and the requirement it expresses may have long vanished. Popular unit testing frameworks such as JUnit may then detect the error at little more cost than the run of a static program checker (compiler). However, unlike such checkers current unit testing frameworks can only detect the presence of errors, they cannot locate them. With EzUnit, we present an extension to the JUnit Eclipse plug-in that serves to narrow down error locations, and that marks these locations in the source code in very much the same way syntactic and typing errors are displayed. Because EzUnit is itself designed as a framework, it can be extended by algorithms further narrowing down error locations.
Preview
Unable to display preview. Download preview PDF.
References
- 1.Agrawal, H., Horgan, J.R.: Dynamic program slicing. In: Proceedings of the ACM SIGPLAN ’90 Conference on Programming Language Design and Implementation, pp. 246–256 (1990) Google Scholar
- 2.Korel, B., Laski, J.: Dynamic program slicing. Information Processing Letters 29(3), 155–163 (1998)CrossRefGoogle Scholar
- 3.Saff, D., Ernst, M.D.: Reducing wasted development time via continuous testing. In: ISSRE 2003, 14th International Symposium on Software Reliability Engineering, pp. 281–292 (2003) Google Scholar
- 4.Saff, D., Ernst, M.D.: An experimental evaluation of continuous testing during development. In: ISSTA 2004, International Symposium on Software Testing and Analysis, pp. 76–85 (2004)Google Scholar