Name: | Description: | Size: | Format: | |
---|---|---|---|---|
6.02 MB | Adobe PDF |
Authors
Advisor(s)
Abstract(s)
Vivemos numa era de revolução digital que leva à constante redefinição das regras de negócio
de forma a acompanhar as necessidades dos utilizadores e clientes. Os microsserviços
permitem facilitar a readaptação do software às regras de negócio, no entanto alguns desafios
se levantam no que diz respeito à engenharia de software, nomeadamente no que respeita a
área de qualidade de software.
Ao analisar várias fontes, percebemos que não existe uma forma padronizada para abordar o
processo de qualidade em microsserviços que apresentem assincronismo. Uma potencial causa
para esta falta de padrão é a ausência de ferramentas no mercado especializadas na verificação
de serviços assíncronos numa perspetiva orientada ao comportamento.
Este trabalho compromete-se a propor uma solução para a limitação abordada no parágrafo
anterior, através do desenvolvimento de uma framework para implementação de testes
automatizados orientados ao comportamento esperado do microsserviço.
Foram levantados requisitos baseados nas características esperadas de uma framework de
desenvolvimento bem como nos aspetos técnicos inerentes à tecnologia de assincronismo
escolhida neste trabalho. A avaliação final da framework desenvolvida, e consequentemente
do trabalho que esta dissertação propõe, foi feita com base nos vários testes especificados para
cada um dos requisitos referidos.
We live in an era of digital revolution that leads to the constant redefinition of business rules to keep up with the needs of users and customers. Microservices facilitate the readaptation of software to business rules, however some challenges arise regarding software engineering, particularly regarding the area of software quality. When analyzing various sources, we realized that there is no standardized way to approach the quality process in microservices that present asynchronism. A potential cause for this lack of standard is the lack of tools on the market specialized in verifying asynchronous services from a behavior-driven perspective. In this work it was proposed a solution to the limitation addressed in the previous paragraph, through the development of a framework for implementing automated tests oriented to the expected behavior of the microservice. Requirements were raised based on the expected characteristics of a development framework as well as on the technical aspects inherent to the asynchronism technology chosen in this work. The final evaluation of the developed framework was made based on the various tests specified for each of the requirements.
We live in an era of digital revolution that leads to the constant redefinition of business rules to keep up with the needs of users and customers. Microservices facilitate the readaptation of software to business rules, however some challenges arise regarding software engineering, particularly regarding the area of software quality. When analyzing various sources, we realized that there is no standardized way to approach the quality process in microservices that present asynchronism. A potential cause for this lack of standard is the lack of tools on the market specialized in verifying asynchronous services from a behavior-driven perspective. In this work it was proposed a solution to the limitation addressed in the previous paragraph, through the development of a framework for implementing automated tests oriented to the expected behavior of the microservice. Requirements were raised based on the expected characteristics of a development framework as well as on the technical aspects inherent to the asynchronism technology chosen in this work. The final evaluation of the developed framework was made based on the various tests specified for each of the requirements.
Description
Keywords
Microservices Asynchronism Framework Behavior-Driven testing Requirements