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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Karlesky, M., Bereza, W., Erickson, C.: Effective Test Driven Development for Embedded Software. In: IEEE EIT 2006, East Lansing, Michigan (2006)
Van Schooenderwoert, N.: Mbedded Agile: A Case Study in Numbers (2006), http://www.ddj.com/dept/architect/193501924
Atomic Object: Test Driven Development in Embedded Software (2008), http://atomicobject.com/pages/Embedded+Software
Alles, M., Crosby, D., Erickson, C., et al.: Presenter First: Organizing Complex GUI Applications for Test-Driven Development. In: Agile 2006, Minneapolis, MN (2006)
Fleisch, W.: Simulation and Validation of Component-Based Automotive Control Software. In: Proceedings of 12th European Simulation Symposium, Hamburg, Germany, pp. 417–421 (2000)
Schmitt, W.: Automated Unit Testing of Embedded ARM Applications. Information Quarterly 3(4), 29 (2004)
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)
Ruby Programming Language Ruby, A programmerś best friends (2008), http://www.ruby-lang.org/en/
Aspect Oriented Software Development: Aspect-Oriented Software Development Community & Conference (2008), http://aosd.net/
Eclipse Aspect project: Eclipse Aspect project (2008), http://eclipse.pse.org/aspectj
Atomic Object: Atomic Object (2008), http://atomicobject.com
Author information
Authors and Affiliations
Editor information
Rights 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)