Skip to main content

Part of the book series: Studies in Computational Intelligence ((SCI,volume 149))

  • 792 Accesses

Summary

Due to the complexity and size of embedded software together with strong demands on time-to-market and quality, testing is a crucial point that should be addressed during software development. Traditionally, testing is carried out during the last phases of the software development life cycle. As a consequence, testing activities are often subject to high time pressure, which either results in delayed market introduction or low product quality. The validation of functional and real-time requirements of embedded systems is a difficult task. It usually needs the electronic control unit and the controlled hardware components. But very often the hardware components are not available for testing the control software at the beginning of the development.

In this paper, we paper presents how test cases can be designed from use cases and how embedded control software can be validated without hardware components by simulating the test cases in early development phases using the AOP (Aspect Oriented Programming). For achieving an aspect oriented testable format, extended UML sequence diagrams are applied to formalize sequences of events, which have been specified in the use case scenarios. Provided that black box aspect oriented is used for developing embedded component applications, the monitoring of the dynamic behavior inside the components is not possible during simulation. But the simulated dynamic behavior is observable on the connections between the software components. In such a way monitored and recorded time stamp events are finally compared offline against the expected sequences of events specified in the test cases. The offline comparison validates the simulated behavior by demonstrating the fulfillment of user requirements and by detecting errors in case of contradictions during modeling.

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 129.00
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 169.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 169.99
Price excludes VAT (USA)
  • Durable hardcover 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. Karlesky, M., Bereza, W., Erickson, C.: Effective Test Driven Development for Embedded Software. In: IEEE EIT 2006, East Lansing, Michigan (2006)

    Google Scholar 

  2. Van Schooenderwoert, N.: Mbedded Agile: A Case Study in Numbers (2006), http://www.ddj.com/dept/architect/193501924

  3. Atomic Object: Test Driven Development in Embedded Software (2008), http://atomicobject.com/pages/Embedded+Software

  4. Alles, M., Crosby, D., Erickson, C., et al.: Presenter First: Organizing Complex GUI Applications for Test-Driven Development. In: Agile 2006, Minneapolis, MN (2006)

    Google Scholar 

  5. Fleisch, W.: Simulation and Validation of Component-Based Automotive Control Software. In: Proceedings of 12th European Simulation Symposium, Hamburg, Germany, pp. 417–421 (2000)

    Google Scholar 

  6. Schmitt, W.: Automated Unit Testing of Embedded ARM Applications. Information Quarterly 3(4), 29 (2004)

    Google Scholar 

  7. Gunzert, M., Nagele, A.: Component-Based Development and Verification of Safety-Critical Software for a Break-by-Wire System with Synchronous Software Components. In: Proc. of Int. Symposium on Parallel and Distributed Systems Engineering (PDSE), Los Angeles, CA, USA, pp. 134–145 (1999)

    Google Scholar 

  8. Ruby Programming Language Ruby, A programmerś best friends (2008), http://www.ruby-lang.org/en/

  9. Aspect Oriented Software Development: Aspect-Oriented Software Development Community & Conference (2008), http://aosd.net/

  10. Eclipse Aspect project: Eclipse Aspect project (2008), http://eclipse.pse.org/aspectj

  11. Atomic Object: Atomic Object (2008), http://atomicobject.com

Download references

Author information

Authors and Affiliations

Authors

Editor information

Roger Lee

Rights and permissions

Reprints and permissions

Copyright information

© 2008 Springer-Verlag Berlin Heidelberg

About this chapter

Cite this chapter

Kim, H.K. (2008). Aspect Oriented Testing Frameworks for Embedded Software. In: Lee, R. (eds) Software Engineering, Artificial Intelligence, Networking and Parallel/Distributed Computing. Studies in Computational Intelligence, vol 149. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-70560-4_7

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-70560-4_7

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-70559-8

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

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics