Skip to main content
Log in

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

  • Original Article
  • Published:
Personal and Ubiquitous Computing Aims and scope Submit manuscript

Abstract

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.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13

Similar content being viewed by others

Notes

  1. http://ample.holos.pt.

  2. http://www.omg.org/cgi-bin/doc?formal/05-07-07.

  3. http://www.junit.org/.

  4. http://www.ttcn-3.org/.

  5. http://www.knx.org/.

  6. http://www.eclipse.org/modeling/emf/.

  7. http://www.echelon.com/products/lonworks_platform.htm.

  8. http://www.eclipse.org/gmt/amw.

  9. http://www.eclipse.org/gmt/atl.

References

  1. Baker P, Dai Z, Grabowski J, Schieferdecker I, Williams C (2008) Model-driven testing. Springer. ISBN: 978-3-540-72562-6

  2. Bravo J, de Ipiña DL (2010) Ambient intelligence vision: a perspective. J Univers Comput Sci 16(12):1478–1479

    Google Scholar 

  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–38

    Article  Google 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–18

  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 intelligence

  6. Fix G (2009) The design of an automated unit test code generation system. In: Latifi S (ed) ITNG. IEEE Computer Society, pp 743–747

  7. Frohlich D, Thomas P, Hawley M, Hirade K (1997) Inaugural issue editorial: future personal computing. Personal Ubiquitous Comput 1:1–5

    Google Scholar 

  8. Ha T, Jung J, Oh S (2006) Method to analyze user behavior in home environment. Personal Ubiquitous Comput 10(2–3):110–121

    Article  Google Scholar 

  9. Mellor S, Clark A, Futagami T (2003) Model-driven development - Guest editor’s introduction. Softw IEEE 20(5):14–18

    Article  Google Scholar 

  10. Pietsch S, Stanca-Kaposta B (2008) Model-based testing with UTP and TTCN- and its application to HL7

  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 intelligence

  12. Yamazaki T (2007) The ubiquitous home. Int J Smart Home 1(1)

Download references

Acknowledgments

We thank the UCAmI reviewers/editors for their useful comments on this paper. Work supported by MEC and FEDER under contract: TIN2008-02985.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to José M. Conejero.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Conejero, J.M., Clemente, P.J., Rodríguez-Echeverría, R. et al. A model-driven approach for reusing tests in smart home systems. Pers Ubiquit Comput 15, 317–327 (2011). https://doi.org/10.1007/s00779-010-0352-2

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00779-010-0352-2

Keywords

Navigation