A model-driven approach for reusing tests in smart home systems
The continuous advances of ubiquitous and pervasive computing have contributed to the successful increase in smart home systems. However, usually these systems are developed at a lower abstraction level very tied to specific technologies. Model-driven approaches have emerged to tackle the design of these systems, improving their reusability and maintainability and decreasing their complexity. Nevertheless, the existing model-driven approaches to develop smart home systems do not cover the whole development process, and testing activities are still relegated to the final programming stages, reducing their reusability for different technologies or platforms. Some approaches have proposed the incorporation of testing activities into the model-driven process. However, the test models defined are very tied to the specific systems and they must be redesigned for every new system to test, reducing thus the reusability of the test behavior. In this setting, this paper presents a process to define reusable tests that may be automatically applied to different smart home systems. The process is integrated into a whole MDD approach that provides support for the modeling of smart home systems at two different abstraction levels, ensuring the reusability of tests also for different smart home platforms.
KeywordsSmart home Model-driven development Software testing Reusability
We thank the UCAmI reviewers/editors for their useful comments on this paper. Work supported by MEC and FEDER under contract: TIN2008-02985.
- 1.Baker P, Dai Z, Grabowski J, Schieferdecker I, Williams C (2008) Model-driven testing. Springer. ISBN: 978-3-540-72562-6Google Scholar
- 2.Bravo J, de Ipiña DL (2010) Ambient intelligence vision: a perspective. J Univers Comput Sci 16(12):1478–1479Google Scholar
- 4.Clemente PJ, Conejero JM, Hernández J, Sánchez L (2009) HAAIS-DSL: DSL to develop home automation and ambient intelligence systems. In: Proceedings of the second workshop on isolation and integration in embedded systems. IIES ’09. ACM, New York, NY, USA, pp 13–18Google Scholar
- 5.Conejero J, Clemente P, Rodríguez-Echeverría R, Hernández J, Sánchez-Figueroa F (2010) A model-driven approach to test home automation and ambient intelligence systems at design level. In: 4th Symposium of Ubiquitous computing and ambient intelligenceGoogle Scholar
- 6.Fix G (2009) The design of an automated unit test code generation system. In: Latifi S (ed) ITNG. IEEE Computer Society, pp 743–747Google Scholar
- 7.Frohlich D, Thomas P, Hawley M, Hirade K (1997) Inaugural issue editorial: future personal computing. Personal Ubiquitous Comput 1:1–5Google Scholar
- 10.Pietsch S, Stanca-Kaposta B (2008) Model-based testing with UTP and TTCN- and its application to HL7Google Scholar
- 11.Serral E, Pérez F, Valderas P, Pelechano V (2010) An end-user tool for adapting smart environment automation to user behavior at runtime. In: 4th Symposium of ubiquitous computing and ambient intelligenceGoogle Scholar
- 12.Yamazaki T (2007) The ubiquitous home. Int J Smart Home 1(1)Google Scholar