Personal and Ubiquitous Computing

, Volume 15, Issue 4, pp 317–327 | Cite as

A model-driven approach for reusing tests in smart home systems

  • José M. Conejero
  • Pedro J. Clemente
  • Roberto Rodríguez-Echeverría
  • Juan Hernández
  • Fernando Sánchez-Figueroa
Original Article


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.


Smart 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. 1.
    Baker P, Dai Z, Grabowski J, Schieferdecker I, Williams C (2008) Model-driven testing. Springer. ISBN: 978-3-540-72562-6Google Scholar
  2. 2.
    Bravo J, de Ipiña DL (2010) Ambient intelligence vision: a perspective. J Univers Comput Sci 16(12):1478–1479Google Scholar
  3. 3.
    Buendía MJ, Rosique F, Sánchez P, Álvarez B, Iborra A (2009) Habitation: a domain-specific language for home automation. IEEE Softw 26(4):30–38CrossRefGoogle Scholar
  4. 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. 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. 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. 7.
    Frohlich D, Thomas P, Hawley M, Hirade K (1997) Inaugural issue editorial: future personal computing. Personal Ubiquitous Comput 1:1–5Google Scholar
  8. 8.
    Ha T, Jung J, Oh S (2006) Method to analyze user behavior in home environment. Personal Ubiquitous Comput 10(2–3):110–121CrossRefGoogle Scholar
  9. 9.
    Mellor S, Clark A, Futagami T (2003) Model-driven development - Guest editor’s introduction. Softw IEEE 20(5):14–18CrossRefGoogle Scholar
  10. 10.
    Pietsch S, Stanca-Kaposta B (2008) Model-based testing with UTP and TTCN- and its application to HL7Google Scholar
  11. 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. 12.
    Yamazaki T (2007) The ubiquitous home. Int J Smart Home 1(1)Google Scholar

Copyright information

© Springer-Verlag London Limited 2011

Authors and Affiliations

  • José M. Conejero
    • 1
  • Pedro J. Clemente
    • 1
  • Roberto Rodríguez-Echeverría
    • 1
  • Juan Hernández
    • 1
  • Fernando Sánchez-Figueroa
    • 1
  1. 1.Quercus Software Engineering GroupUniversity of ExtremaduraCáceresSpain

Personalised recommendations