Teasy: A domain-specific language to reduce time and facilitate the creation of tests in web applications

  • Yury Alencar Lima UNIPAMPA
  • Elder de Macedo Rodrigues UNIPAMPA
  • Fabio Paulo Basso UNIPAMPA
  • Rafael A. P. Oliveira UTFPR

Resumo


A automação de teste de software é uma das atividades mais desafiadoras nos cenários de Engenharia de Software. Teste Baseado em Modelos (MBT) é uma estratégia viável para aliviar os esforços na automação das atividades de teste. Através de um modelo que especifica o comportamento do Software Under Testing (SUT), as abordagens MBT são estratégias úteis para gerar casos de teste e executá-los. No entanto, alguns domínios, como aplicativos da web, exigem esforços extras na aplicação de abordagens MBT. Por isso, neste estudo propomos e validamos o Teasy uma - Domain Specification Language (DSL) que torna o MBT viável para aplicação web. Por meio da realização de uma Prova de Conceito para testar um aplicativo da web do mundo real, percebemos que o Teasy tem potencial para evoluir para oferecer suporte eficaz aos ambientes de desenvolvimento de software. Usando um aplicativo do mundo real e projetos com falhas semeadas manualmente, os cenários de teste do Teasy detectaram 78,57 % das inconsistências funcionais.

Referências

Bertolino, A. (2007). Software testing research: Achievements, challenges, dreams. In Future of Software Engineering (FOSE ’07), pages 85–103.

Bisht, S. (2013). Robot framework test automation. Packt Publishing Ltd.

Delamaro, M., Jino, M., and Maldonado, J. (2013). Introdução ao teste de software. Elsevier Brasil.

Fedosejev, A. (2015). React. js essentials. Packt Publishing Ltd.

Fowler, M. (2010). Domain-specific languages. Pearson Education.

Herbold, S., De Francesco, A., Grabowski, J., Harms, P., Hillah, L. M., Kordon, F., Maesano, A.-P., Maesano, L., Di Napoli, C., De Rosa, F., et al. (2015). The midas cloud platform for testing soa applications. In 2015 IEEE 8th International Conference on Software Testing, Verification and Validation (ICST), pages 1–8. IEEE.

King, T. M., Nunez, G., Santiago, D., Cando, A., and Mack, C. (2014). Legend: an agile dsl toolset for web acceptance testing. In Proceedings of the 2014 International Symposium on Software Testing and Analysis, pages 409–412. ACM.

Luna, E. R., Rossi, G., and Garrigós, I. (2011). Webspec: a visual language for specifying interaction and navigation requirements in web applications. Requirements Engineering, 16(4):297.

Mernik, M., Heering, J., and Sloane, A. M. (2005). When and how to develop domain-specific languages. ACM computing surveys (CSUR), 37(4):316–344.

Mirshokraie, S., Mesbah, A., and Pattabiraman, K. (2015). Guided mutation testing for javascript web applications. IEEE Transactions on Software Engineering, 41(05):429–444.

Nabuco, M. and Paiva, A. C. (2014). Model-based test case generation for web applications. In International Conference on Computational Science and Its Applications, pages 248–262. Springer.

Pressman, R. (2010). Software Engineering: A Practitioner’s Approach. McGraw-Hill higher education. McGraw-Hill Education.

Sommerville, I. (2010). Software Engineering. Addison-Wesley, Harlow, England, 9 edition.

Törsel, A.-M. (2013). A testing tool for web applications using a domain-specific modelling language and the nusmv model checker. In 2013 IEEE Sixth International Conference on Software Testing, Verification and Validation, pages 383–390. IEEE.

Utting, M. and Legeard, B. (2010). Practical model-based testing: a tools approach. Elsevier.

Vani, B., Deepalakshmi, R., and Suriya, S. (2013). Web based testing - an optimal solution to handle peak load. In 2013 International Conference on Pattern Recognition, Informatics and Mobile Engineering, pages 5–10.

Wynne, M., Hellesoy, A., and Tooke, S. (2017). The cucumber book: behaviour-driven development for testers and developers. Pragmatic Bookshelf.

Zivanov, Z., Rakíc, P., and Hajdukovíc, M. (2008). Using code generation approach in developing kiosk applications. Computer Science and Information Systems, 5(1):41–59.
Publicado
27/09/2021
Como Citar

Selecione um Formato
LIMA, Yury Alencar; RODRIGUES, Elder de Macedo; BASSO, Fabio Paulo; OLIVEIRA, Rafael A. P.. Teasy: A domain-specific language to reduce time and facilitate the creation of tests in web applications. In: WORKSHOP EM MODELAGEM E SIMULAÇÃO DE SISTEMAS INTENSIVOS EM SOFTWARE (MSSIS), 3. , 2021, Joinville. Anais [...]. Porto Alegre: Sociedade Brasileira de Computação, 2021 . p. 40-49. DOI: https://doi.org/10.5753/mssis.2021.17258.