Skip to main content

The Role of Process Measurement in Test-Driven Development

  • Conference paper

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 3134))

Abstract

Test-Driven Development (TDD) is a coding technique in which programmers write unit tests before writing or revising production code. We present a process measurement approach for TDD that relies on the analysis of fine-grained data collected during coding activities. This data is mined to produce abstractions regarding programmers’ work patterns. Programmers, instructors, and coaches receive concrete feedback by visualizing these abstractions. Process measurement has the potential to accelerate the learning of TDD, enhance its effectiveness, aid in its empirical evaluation, and support project tracking.

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

Buying options

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

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Astels, D., Miller, G., Novak, M.: A Practical Guide to Extreme Programming. Prentice Hall, Upper Saddle River (2002)

    Google Scholar 

  2. Beck, K.: Test-Driven Development: by Example. Addison Wesley, Reading (2003)

    Google Scholar 

  3. Beck, K.: Aim, fire (test-first coding). IEEE Software 18, 87–89 (2001)

    Article  Google Scholar 

  4. JUnit.org, http://www.junit.org

  5. Johnson, P.M., Kou, H., Agustin, J.M., Zhang, Q., Kagawa, A., Yamashita, T.: Practical automated process and product metric collection and analysis in a classroom setting: Lessons learned from Hackystat-UH, University of Hawaii, Collaborative Software Development Laboratory, Technical Report (submitted to 2004 International Symposium on Empirical Software Engineering) csdl2-03-12 (December 2003)

    Google Scholar 

  6. Johnson, P.M., Kou, H., Agustin, J., Chan, C., Moore, C., Miglani, J., Zhen, S., Doane, W.E.J.: Beyond the personal software process: metrics collection and analysis for the differently disciplined .Presented at 25th International Conference on Software Engineering (ICSE 2003), Portland (OR), USA (2003)

    Google Scholar 

  7. Müller, M.M., Tichy, W.F.: Case study: Extreme Programming in a university environment. Presented at International Conference on Software Engineering (ICSE), Toronto, Canada (2001)

    Google Scholar 

  8. Erdogmus, H., Morisio, M., Torchiano, M.: A Controlled Experiment on the Effectiveness of Test-Driven Development (2004) (submitted for publication)

    Google Scholar 

  9. Edwards, S.H.: Using test-driven development in the classroom: Providing students with concrete feedback on performance .Presented at Proceedings of the International Conference on Education and Information Systems: Technologies and Applications (EISTA 2003) (August 2003)

    Google Scholar 

  10. Morisio, M., Torchiano, M.: Perception of XP Practices in a University Environment, Dipartimento di Informatica e Automatica, Politecnico di Torino, Technical Report (2003)

    Google Scholar 

  11. George, B., Williams, L.: An Initial Investigation of Test Driven Development in Industry.Presented at ACM Symposium on Applied Computing, Melbourne, Florida (2003)

    Google Scholar 

  12. Williams, L., Maximilien, E.M., Vouk, M.: Test-Driven Development as a Defect- Reduction Practice. Presented at 14th Internation Symposium on Software Reliability Engineering, ISSRE 2003 (2003)

    Google Scholar 

  13. Müller, M.M., Hagner, O.: Experiment about Test-First Programming . Presented at Empirical Assessment in Software Engineering (EASE), Keele, UK (2002)

    Google Scholar 

  14. Long, M.: A Meta Analysis of the Quality and Productivity Benefits of Pair Programming and Test Driven Design,Christopher Newport University (2003)

    Google Scholar 

  15. Wohlin, C., Runeson, P., Host, M., Ohlsson, M.C., Regnell, B., Wesslen, A.: Experimentation in Software Engineering: An Introduction. Kluwer Academic Publishers, Dordrecht (2000)

    MATH  Google Scholar 

  16. Fowler, M.: UML Distilled. Addison Wesley, Reading (2000)

    Google Scholar 

  17. Hackystat, http://csdl.ics.hawaii.edu/Tools/Hackystat/

  18. Eclipse Platform Technical Overview, Object Technology International (2003), http://www.eclipse.org/whitepapers/eclipse-overview.pdf

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2004 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Wang, Y., Erdogmus, H. (2004). The Role of Process Measurement in Test-Driven Development. In: Zannier, C., Erdogmus, H., Lindstrom, L. (eds) Extreme Programming and Agile Methods - XP/Agile Universe 2004. XP/Agile Universe 2004. Lecture Notes in Computer Science, vol 3134. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-27777-4_4

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-27777-4_4

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-22839-4

  • Online ISBN: 978-3-540-27777-4

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics