Autotester Builder: uma ferramenta para a criação de testes unitários de forma semi automática a partir de dados de uso em sistemas PHP
Carregando...
Data
2023-11-24
Autores
Orientador
Meyer, Vinícius
Banca
Wolf, Alexandre Stürmer
Schorr, Maria Claudete
Título do periódico
ISSN
Título do Volume
Editor
Resumo
A evolução de software é natural no ciclo de vida de um sistema, e visa adequar uma aplicação a novos processos e novas realidades, porém mudanças nesses sistemas podem causar efeitos inesperados, erros ou falhas. Os testes automatizados surgem com a intenção de evitar esses problemas, possibilitando que rotinas de scripts validem o impacto de modificações e garantam o correto funcionamento de diferentes partes do sistema. Porém a construção destes scripts de teste não é trivial, consome uma grande quantidade de tempo e requer conhecimento das funcionalidades e estruturas de código do sistemas por parte dos desenvolvedores, o que não acontece quando lidamos com sistemas legados. Com o intuito de aprimorar a confiabilidade dos sistemas de software e reduzir o tempo necessário para o processo de desenvolvimento de testes, o presente trabalho apresenta o desenvolvimento de uma ferramenta para construção de rotinas de testes de forma automática, por meio do rastreamento da execução de aplicações web PHP, a ferramenta permite que desenvolvedores consigam criar testes automatizados mesmo sem conhecimento significativo do código dessas aplicações. Realizou-se uma pesquisa com desenvolvedores especializados na área, que apresentou resultados positivos quanto à avaliação do software desenvolvido. O projeto culminou em uma ferramenta de software que aprimora o processo de criação de testes unitários, a partir de um protótipo simples, funcional e eficaz.
Software evolution is natural in the life cycle of a system, and aims to adapt an application to new processes and new realities, however changes to these systems can cause unexpected effects, errors or failures. Automated tests arise with the intention of avoiding these problems, enabling script routines to validate the impact of modifications and guarantee the correct functioning of different parts of the system. However, the construction of these test scripts is not trivial, it consumes a large amount of time and requires knowledge of the system's functionalities and code structures on the part of developers, which does not happen when dealing with legacy systems. In order to improve the reliability of software systems and reduce the time required for the test development process, this work presents the development of a tool for building test routines automatically, through tracking the execution of applications. web PHP, the tool allows developers to create automated tests even without significant knowledge of the code of these applications. A survey was carried out with developers specialized in the area, which showed positive results regarding the evaluation of the software developed. The project culminated in a software tool that improves the process of creating unit tests, based on a simple, functional and effective prototype.
Software evolution is natural in the life cycle of a system, and aims to adapt an application to new processes and new realities, however changes to these systems can cause unexpected effects, errors or failures. Automated tests arise with the intention of avoiding these problems, enabling script routines to validate the impact of modifications and guarantee the correct functioning of different parts of the system. However, the construction of these test scripts is not trivial, it consumes a large amount of time and requires knowledge of the system's functionalities and code structures on the part of developers, which does not happen when dealing with legacy systems. In order to improve the reliability of software systems and reduce the time required for the test development process, this work presents the development of a tool for building test routines automatically, through tracking the execution of applications. web PHP, the tool allows developers to create automated tests even without significant knowledge of the code of these applications. A survey was carried out with developers specialized in the area, which showed positive results regarding the evaluation of the software developed. The project culminated in a software tool that improves the process of creating unit tests, based on a simple, functional and effective prototype.
Descrição
Palavras-chave
Engenharia de Software; Testes Automatizados; Rastreamento de execução; Sistemas Legados; Software Engineering; Automated Testing; Execution Tracking; Legacy Systems
Citação
CEGOLINI, Guilherme. AUTOTESTER BUILDER: UMA FERRAMENTA PARA CRIAÇÃO DE TESTES UNITÁRIOS DE FORMA SEMI AUTOMÁTICA A PARTIR DE DADOS DE USO EM SISTEMAS PHP. 2023. Monografia (Graduação em Engenharia de Software) – Universidade do Vale do Taquari - Univates, Lajeado, 13 dez. 2023. Disponível em: http://hdl.handle.net/10737/4253.