• español
    • English
  • Login
  • español 
    • español
    • English

UniversidaddeCádiz

Área de Biblioteca, Archivo y Publicaciones
Comunidades y colecciones
Ver ítem 
  •   RODIN Principal
  • Producción Científica
  • Contribuciones a Seminario o Congreso
  • Ver ítem
  •   RODIN Principal
  • Producción Científica
  • Contribuciones a Seminario o Congreso
  • Ver ítem
JavaScript is disabled for your browser. Some features of this site may not work without it.

A Case Study on Combining Model-based Testing and Constraint Programming for Path Coverage

Thumbnail
Identificadores

URI: http://hdl.handle.net/10498/38437

URL: https://www.thinkmind.org/index.php?view=instance&instance=ICSEA+2022

ISSN: 2308-4235

Ficheros
icsea_2022_1_70_10048-1.pdf (286.5Kb)
Estadísticas
Ver estadísticas
Compartir
Exportar a
Exportar a MendeleyRefworksEndNoteBibTexRIS
Metadatos
Mostrar el registro completo del ítem
Autor/es
Castro Cabrera, María CarmenAutoridad UCA; García-Domínguez, Antonio; Medina Bulo, María InmaculadaAutoridad UCA
Fecha
2022-10
Departamento/s
Ingeniería Informática
Fuente
En: ICSEA 2022 The Seventeenth International Conference on Software Engineering Advances, 41-45.
Resumen
This paper within the advances in software testing is related to the generation of test suites and black box testing. Test coverage is a popular technique to evaluate test quality: a test suite that can exercise a large part of the paths in a program will provide higher confidence that the program will work as expected. One way to obtain test suites with high path coverage is through model-based testing, and specifically using a diagram, which represents the various states in the program and their possible transitions. Using model-based testing, it is possible to obtain a set of paths that achieves a set of coverage criteria. Constraint programming approaches can then be used to turn each path into a test case with its program inputs and oracle, by solving the input and output constraints collected along the path. In this paper, we present a case study on this combination of techniques, by developing a state diagram that represents a popular piece of software, and using it to derive a set of test cases that achieve path coverage through constraint programming. Specifically, two tools have been used: GraphWalker (to obtain a set of paths through the program) and MiniZinc (to obtain test inputs by solving the constraints along the paths). We have obtained good results on the cat GNU Coreutils utility, especially in terms of ease of understanding the logic of the software through the GraphWalker diagram and its visual execution, as well as the agility in obtaining the restrictions to be solved to achieve path coverage.
Materias
Model-based Testing; Path Coverage; Constraint Programming; GraphWalker; MiniZinc
Colecciones
  • Contribuciones a Seminario o Congreso [674]
  • Contribuciones a Seminario o Congreso Ing. Infor. [96]
Attribution-NonCommercial-NoDerivatives 4.0 Internacional
Esta obra está bajo una Licencia Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 Internacional

Listar

Todo RODINComunidades y ColeccionesPor fecha de publicaciónAutoresTítulosMateriasEsta colecciónPor fecha de publicaciónAutoresTítulosMaterias

Mi cuenta

AccederRegistro

Estadísticas

Ver Estadísticas de uso

Información adicional

Acerca de...Deposita en RODINPolíticasNormativasDerechos de autorEnlaces de interésEstadísticasNovedadesPreguntas frecuentes

RODIN está accesible a través de

OpenAIREOAIsterRecolectaHispanaEuropeanaBaseDARTOATDGoogle Académico

Enlaces de interés

Sherpa/RomeoDulcineaROAROpenDOARCreative CommonsORCID

RODIN está gestionado por el Área de Biblioteca, Archivo y Publicaciones de la Universidad de Cádiz

ContactoSugerenciasAtención al Usuario