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

UniversidaddeCádiz

Área de Biblioteca, Archivo y Publicaciones
Communities and Collections
View Item 
  •   RODIN Home
  • Producción Científica
  • Contribuciones a Seminario o Congreso
  • View Item
  •   RODIN Home
  • Producción Científica
  • Contribuciones a Seminario o Congreso
  • View Item
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

Files
icsea_2022_1_70_10048-1.pdf (286.5Kb)
Statistics
View statistics
Share
Export
Export reference to MendeleyRefworksEndNoteBibTexRIS
Metadata
Show full item record
Author/s
Castro Cabrera, María CarmenAuthority UCA; García-Domínguez, Antonio; Medina Bulo, María InmaculadaAuthority UCA
Date
2022-10
Department
Ingeniería Informática
Source
En: ICSEA 2022 The Seventeenth International Conference on Software Engineering Advances, 41-45.
Abstract
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.
Subjects
Model-based Testing; Path Coverage; Constraint Programming; GraphWalker; MiniZinc
Collections
  • Contribuciones a Seminario o Congreso [674]
  • Contribuciones a Seminario o Congreso Ing. Infor. [96]
Attribution-NonCommercial-NoDerivatives 4.0 Internacional
This work is under a Creative Commons License Attribution-NonCommercial-NoDerivatives 4.0 Internacional

Browse

All of RODINCommunities and CollectionsBy Issue DateAuthorsTitlesSubjectsThis CollectionBy Issue DateAuthorsTitlesSubjects

My Account

LoginRegister

Statistics

View Usage Statistics

Información adicional

AboutDeposit in RODINPoliciesGuidelinesRightsLinksStatisticsNewsFrequently Asked Questions

RODIN is available through

OpenAIREOAIsterRecolectaHispanaEuropeanaBaseDARTOATDGoogle Academic

Related links

Sherpa/RomeoDulcineaROAROpenDOARCreative CommonsORCID

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

Contact informationSuggestionsUser Support