Skip to main content

EzUnit: A Framework for Associating Failed Unit Tests with Potential Programming Errors

  • Conference paper
Agile Processes in Software Engineering and Extreme Programming (XP 2007)

Part of the book series: Lecture Notes in Computer Science ((LNPSE,volume 4536))

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

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)

    Article  Google 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 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Giulio Concas Ernesto Damiani Marco Scotto Giancarlo Succi

Rights and permissions

Reprints and permissions

Copyright information

© 2007 Springer Berlin Heidelberg

About this paper

Cite this paper

Bouillon, P., Krinke, J., Meyer, N., Steimann, F. (2007). EzUnit: A Framework for Associating Failed Unit Tests with Potential Programming Errors . In: Concas, G., Damiani, E., Scotto, M., Succi, G. (eds) Agile Processes in Software Engineering and Extreme Programming. XP 2007. Lecture Notes in Computer Science, vol 4536. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-73101-6_14

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-73101-6_14

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-73100-9

  • Online ISBN: 978-3-540-73101-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics