Context: Widgets are reusable User Interfaces (UIs) components frequently delivered in Web applications.In the web application, widgets implement different interaction scenarios, such as buttons, menus, and text input.Problem: Tests are performed manually, so the cost associated with preparing and executing test cases is high.Objective: Automate the process of generating functional test cases for web applications, using intermediate artifacts of the web development process that structure widgets in the web application. The goal of this process is to ensure the quality of the software, reduce overall software lifecycle time and the costs associated with tests.Method:We elaborated a test generation strategy and implemented this strategy in a tool, Morpheus Web Testing. Morpheus Web Testing extracts widget information from Java Server Faces artifacts to generate test cases for JSF web applications. We conducted a case study for comparing Morpheus Web Testing with a state of the art tool (CrawlJax).Results: The results indicate evidence that the approach Morpheus Web Testing managed to reach greater code coverage compared to a CrawlJax.Conclusion: The achieved coverage values represent evidence that the results obtained from the proposed approach contribute to the process of automated test software engineering in the industry.
Resumo: Contexto: Model Driven Development (MDD) eleva a importância de modelos dentro do ciclo de vida do software, incorporando-os como parte integrante do produto final por meio de técnicas de modelagem e geração de código, com isso, parte da complexidade do software fica escondida dentro de geradores. Problema: Mesmo com a utilização do processo MDD, o custo associado à elaboração de casos de teste ainda é alto. Objetivo: Automatizar a geração de casos de teste incorporando o Model Driven Testing (MDT) em um processo MDD já existente a fim de gerar automaticamente casos de teste de aceitação para um sistema legado. Justificativa: Garantir a qualidade do software gerado através de um processo de geração de código e reduzir o tempo geral do ciclo de vida do software. Método: Foi realizado uma prova de conceito como forma de validar o objetivo deste trabalho e avaliar a efetividade da abordagem de teste utilizando métricas de Code Coverage dos casos de testes gerados automaticamente. Resultados: Para este estudo foram selecionados cinco Graphical User Interface (GUIs), na qual a GUI Seguradoras obteve 98% de cobertura de código pelos casos de teste, Moeda obteve 94,39%, Fornecedor com 95,04%, Tipo do item com 95,95% e por fim a GUI Classificação Contábil obteve 95,91% de cobertura dos casos de teste. Palavras-chave: Code Coverage, Prova de Conceito , Model Driven Development, Model Driven TestingAbstract: Context: Model Driven Development (MDD) elevates the importance of models within the software lifecycle, incorporating them as an integral part of the final product through modeling and code generation techniques, with part of the complexity of the software is hidden inside generators. Problem: Even with the use of the MDD process, the cost associated with case test is still high. Objective: Automate the generation of test cases by incorporating Model Driven Testing (MDT) into an existing MDD process in order to automatically generate acceptance test cases for a legacy system. Justification: Ensure the quality of software generated through a code generation process and reduce overall lifecycle time the software. Method: A proof of concept was carried out to validate the objective of this work and evaluate the effectiveness of the test approach using the Code Coverage metric of the automatically generated test cases. Results: For this study five Graphical User Interface (GUIs) were selected, in which the GUI Insurance Company obtained 98% of code coverage by the test cases, Coin obtained 94.39%, Provider with 95.04%, Item type With 95.95% and finally the GUI Accounting Classification obtained 95.91% coverage of the test cases.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.
hi@scite.ai
10624 S. Eastern Ave., Ste. A-614
Henderson, NV 89052, USA
Copyright © 2024 scite LLC. All rights reserved.
Made with 💙 for researchers
Part of the Research Solutions Family.