Skip to main content

E-TDD – Embedded Test Driven Development a Tool for Hardware-Software Co-design Projects

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

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

Abstract

Test driven development (TDD) is one of the key Agile practices. A version of CppUnitLite was modified to meet the memory and speed constraints present on self-contained, high performance, digital signal processing (DSP) systems. The specific characteristics of DSP systems required that the concept of refactoring be extended to include concepts such as “refactoring for speed”. We provide an experience report describing the instructor-related advantages of introducing an embedded test driven development tool E-TDD into third and fourth year undergraduate Computer Engineering Hardware-Software Co-design Laboratories. The TDD format permitted customer (instructor) hardware and software tests to be specified as “targets” so that the requirements for the components and full project were known “up-front”. Details of CppUnitLit extensions necessary to permit tests specific for a small hardware-software co-design project, and lessons learnt when using the current E-TDD tool, are given. The next stage is to explore the use of the tool in an industrial context of a video project using the hybrid communication-media (HCM) dual core Analog Devices ADSP-BF561 Blackfin processor.

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. Tassey, G.: The Economic Impacts of Inadequate Infrastructure for Software Testing. National Institute of Standards and Technology Report (2002)

    Google Scholar 

  2. Dahlby, D.: Applying Agile Methods to Embedded Systems Development. Embedded Software Design Resources 41, 101–123 (2004)

    Google Scholar 

  3. Feathers, M.: CppUnitLite Source code (December 2004), http://c2.com/cgi/wiki?CppUnitLite

  4. Analog Devices Blackfin and TigerSHARC DSP.User and hardware manuals (December 2004), http://www.analog.com/dsp

  5. Smith, M., Martin, A., Huang, L., Bariffi, M., Kwan, A., Flaman, W., Geras, A., Miller, J.: A look at test driven development (TDD) in the embedded environment: Part 1. Circuit Cellar magazine 176, 34–39 ( March 2005)

    Google Scholar 

  6. Smith, M., Martin, A., Huang, L., Bariffi, M., Kwan, A., Flaman, W., Geras, A., Miller, J.: A look at test driven development (TDD) in the embedded environment: Part 2. Circuit Cellar magazine 177, 60–67 (2005)

    Google Scholar 

  7. Fowler, M.: Refactoring: Improving the Design of Existing Code. he Addison-Wesley Object Technology Series. Addison-Wesley, Reading (1999)

    Google Scholar 

  8. Williams, L., Kessler, R.R., Cunningham, W., Jeffries, R.: Strengthening the case for pair programming. IEEE Transactions on Software Engineering, 19-25 (2000)

    Google Scholar 

  9. Feathers, M.C.: Working Effectively with Legacy Code. Prentice Hall PTR, Upper Saddle River (2005)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2005 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Smith, M., Kwan, A., Martin, A., Miller, J. (2005). E-TDD – Embedded Test Driven Development a Tool for Hardware-Software Co-design Projects. In: Baumeister, H., Marchesi, M., Holcombe, M. (eds) Extreme Programming and Agile Processes in Software Engineering. XP 2005. Lecture Notes in Computer Science, vol 3556. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11499053_17

Download citation

  • DOI: https://doi.org/10.1007/11499053_17

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-26277-0

  • Online ISBN: 978-3-540-31487-5

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics