Integração da abordagem Domain-Driven Design e de técnica Behaviour-Driven Development no desenvolvimento de aplicações web
Abstract
The agile methods of software development have emerged as an alternative to
traditional approaches, to spend less time on documentation and more time with solving
problems interactively and iteratively. In this context, the development approach Domain
Driven Design (DDD) is a way of developing software in which the application design
process is guided by a domain model. In conjunction with the DDD development
approach, the existence of tests during the implementation of an application is required to
ensure quality. Objective: This work aims to study the agile development approach
Domain-Driven Design (DDD) and the software test techniques Test-Driven Development
(TDD) and Behaviour-Driven Development (BDD). A case study was built to exemplify the
integration of each test technique with DDD. The case study was developed with the
support of the Apache Isis framework, from a well-defined domain model. Methodology:
Based on the literature, the concepts of the DDD development approach and of the TDD
and BDD test techniques, that provided the comparison between the techniques, and
later, the implementation to illustrate this research, were extracted. The Apache Isis
framework was used in this work because it allows develop DDD applications quickly.
During the development of the sample system of this work, the possibility of creating an
automatic generator tests and scenarios for BDD was noted. Results: A case study was
created using the concepts of DDD and tests, with TDD and BDD. Furthermore, a
prototype of tests and scenarios generator for software projects that use DDD, through
the Apache Isis framework and tests using BDD, was developed. Conclusions: The
combination of test techniques mentioned with DDD aim to boosting the development of
applications, since DDD is not associate with any test technique. Writing scenarios with
ubiquitous language is a great advantage to integrate DDD and BDD, because it allows a
clear understanding for all involved in the project. Moreover, the creation of automatic
generator speeds up the testing phase, and can detect errors that might go unnoticed or
only be found as the project evolved.
Collections
Related items
Showing items related by title, author, creator and subject.
-
Métodos Bayesianos para seleção de modelos de mistura de distribuições normais e t de Student assimétricas
Macerau, Walkiria Maria de Oliveira (Universidade Federal de São Carlos, UFSCar, Programa Interinstitucional de Pós-Graduação em Estatística - PIPGEs, Câmpus São Carlos, 28/06/2023)In this work, we consider mixture models whose components of the mixture are modeled by the skew normal and skew t distributions. For the estimation of these skew mixtures models, we used a Bayesian approach, via Markov ... -
Uma arquitetura de referência para projetar ferramentas de modernização baseadas em ADM
Santos, Bruno Marinho (Universidade Federal de São Carlos, UFSCar, Programa de Pós-Graduação em Ciência da Computação - PPGCC, Câmpus São Carlos, 17/02/2023)Software systems are constantly changing and this process generally makes it increasingly difficult for organizations to maintain. To help in this context, Object Management Group (OMG) proposed Architecture-Driven ... -
Uma abordagem dirigida por modelos para distribuição tardia de aplicações
Esperança, Vinicius Nordi (Universidade Federal de São Carlos, UFSCar, Programa de Pós-Graduação em Ciência da Computação - PPGCC, Câmpus São Carlos, 07/03/2016)The need to improve software systems to adapt to the new technologies is a constant topic of research. As computing evolves, new challenges emerge and new solutions must be created. The increasing use of various types of ...