An Environment for Generating Test Scenarios for Context-Sensitive Software Product Lines

  • Ismayle de Sousa Santos UFC
  • Rossana Maria de Castro Andrade UFC
  • Pedro de Alcântara dos Neto Santos UFPI

Abstract


This paper presents an environment for the generation of test scenarios for a Context Aware Software Product Line (SPL), which uses textual specification of use cases with context information. In this environment, we have: a use case template, a method for test scenarios generation and a support tool. In order to verify the benefits of this environment, we conducted a preliminary assessment. The results of this assessment showed evidences that the template favors the understanding of the use cases and that the method increases the tests coverage.
Keywords: Environment, Context Sensitive, Scenarios

References

Ali, M. M.; Moawad, R. (2010) An Approach for Requirements Based Software Product Line Testing. In: The 7th International Conference on Informatics and Systems, p. 1–10.

Almeida, E. S.; Alvaro, A.; Garcia, V. C.; Mascena, J. C. C. P.; Burégio, V. A. A.; Nascimento, L. M.; Lucrédio, D.; Meira, S. L. (2007) C.R.U.I.S.E: Component Reuse in Software Engineering. 1. ed. [S.l.]: C.E.S.A.R e-book.

Alves, V.; Niu, N.; Alves, C.; Valença, G. (2010) Requirements Engineering for Software Product Lines: A systematic literature review. Inf. Softw. Technol. 52, 8.

Bertolino, A.; Gnesi, S. (2003) Use Case-based Testing of Product Lines. In: Proceedings of the 9th European Software Engineering Conference (ESEC). New York, NY, USA: ACM, p. 355–358.

Bonifácio, R.; Borba, P. (2009) Modeling Scenario Variability as Crosscutting Mechanisms. In: Proceedings of the 8th ACM International Conference on Aspectoriented Software Development., NY, USA: ACM, (AOSD ’09), p. 125–136.

Dey, A. K. (2001) Understanding and Using Context. Personal and Ubiquitous Computing, Springer-Verlag, London, UK, UK, v.5, n. 1, p. 4–7.

Edwin, O. O. (2007) Testing in Software Product Lines. Dissertação de Mestrado, School of Engineering, Blekinge Institute of Technology.

Eriksson, M.; Börstler, J.; Borg, K. (2004) Marrying Features and Use Cases for Product Line Requirements Modeling of Embedded Systems. In: Proceedings of the Fourth Conference on Software Engineering Research and Practice in Sweden, p. 73–82.

Fernandes, P., Werner, C., Teixeira, E. (2011) An Approach for Feature Modeling of Context-aware Software Product Line. Journal of Universal Computer Science, 17 (5), pp. 807- 829.

FITNESSE (2014) Ferramenta de teste de aceitação. Disponível em http://fitnesse.org/. Último acesso em junho de 2014.

Gomaa, H (2004) Designing Software Product Lines with UML: From Use Cases to Pattern-Based Software Architectures. Redwood City, CA, USA: Addison Wesley Longman Publishing Co., Inc.

Hollander, M.; Wolfe, D. A. (1999) Nonparametric Statistical Methods, 2nd ed. John Wiley & Sons.

John, I.; Muthig, D. (2002) Product Line Modeling with Generic Use Cases. In Workshop on Techniques for Exploiting Commonality Through Variability Management, Second Software Product Line Conference.

Kamsties, E.; Pohl, K.; Reis, S.; Reuys (2004) A. Testing Variabilities in Use Case Models. Software Product-Family Engineering Lecture Notes in Computer Science, v. 3014, p. 6–18.

Kitchenham, B. (2004) Procedures for Performing Systematic Reviews. Keele University Technical Report TR/SE-040.

Lima, E. R. R.; Araujo, I. L.; Santos, I. S.; Oliveira, T. A.; Monteiro, G. S.; Costa, C. E. B.; Segundo, Z. F. S.; Andrade, R. M. C. (20130. GREat Tour: Um Guia de Visitas Móvel e Sensível ao Contexto. In: Anais do XII Workshop on Tools and Applications. 19th Brazilian Symposium on Multimedia and the Web, Salvador, BA.

Lima Neto, C. R.; Almeida, E.S.; Lemos Meira, S.R, (2012) A Software Product Lines System Test Case Tool and Its Initial Evaluation, IEEE 13th International Conference on Information Reuse and Integration (IRI).

MOBILINE (2014) Uma Linha de Produto de Software Móvel e Sensível ao Contexto. Disponível em http://mobiline.great.ufc.br/. Último acesso em junho de 201.

Northrop, L. M.; Clements, P. C. (2007) A framework for software product line practice, version 5.0. Disponível em https://www.sei.cmu.edu/productlines/tools/framework/. Último acesso em junho de 2014.

Ostrand, T. J. ;Balcer, M. J. (1988) The Category-partition Method for Specifying and Generating Fuctional Tests. Commun. ACM, ACM, New York, NY, USA, v. 31, n. 6, p. 676–686, jun. 198.

Santos, I. S. (2013) Um Ambiente para Geração de Cenários de Testes para Linhas de Produto de Software Sensíveis ao Contexto. Dissertação de Mestrado, Universidade Federal do Ceará.

Santos, I. S.; Santos Neto, P.; Andrade, R. M. C. (2013). A Use Case Textual Description for Context Aware SPL Based on a Controlled Experiment. In Conference on Advanced Information Systems Engineering (CAiSE) Fórum, p. 1-8.

Yang, H. (2010). Context-Driven Requirement Analysis and Implementation of Adaptable IS. Dissertação de Mestrado, Faculty of Computer Science, University of Magdeburg.

Wang, Z.; Elbaum, S.; Rosenblum, D. S. (2007) Automated generation of context-aware tests. In: Proceedings of the 29th International Conference on Software Engineering. Washington, DC, USA: IEEE Computer Society, p. 406–415.

Wohlin, C.; Runeson, P.; Host, M.; Ohlsson, M.; Regnell, B.; Wesslen, (2000) A. Experimentation in Software Engineering: An Introduction. Kluwer Academic Publishers.
Published
2014-08-04
SANTOS, Ismayle de Sousa; ANDRADE, Rossana Maria de Castro; DOS NETO SANTOS, Pedro de Alcântara. An Environment for Generating Test Scenarios for Context-Sensitive Software Product Lines. In: BRAZILIAN SOFTWARE QUALITY SYMPOSIUM (SBQS), 13. , 2014, Blumenau. Anais [...]. Porto Alegre: Sociedade Brasileira de Computação, 2014 . p. 296-310. DOI: https://doi.org/10.5753/sbqs.2014.15263.