Skip to main navigation Skip to search Skip to main content

An Input Space Modeling Method for Software Testing Considering Timing

  • Bo Zhang*
  • , Jiahao Li
  • , Zeyu Fan
  • , Yichen Wang
  • *Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Specification based testing is a common method in software testing. Specification based testing is divided into behavior-based testing, such as finite state machine method; and input-based testing, such as random testing, combination testing, decision table testing, equivalence class testing, boundary value testing method and so on. At present, there are many modeling methods for behavior-based testing and test cases can be generated automatically through these models. However, for these input-based testing methods, test cases are generated manually by searching for parameters and parameter values, which is too inefficient. To solve this problem, we want to improve the efficiency of input-based testing methods by automatically generating test cases. Therefore, this paper presents a software input space model that can represent parameter values and constraint relationships as the basis of automatic generation of test cases. Some safety-critical software tests need to consider the input timing of parameters, so we also express the input timing of parameters in the input space model. Then we propose the process of modeling the input space, which is finally expressed in the form of a directed graph. The values of parameters and the input timing of parameters are expressed on the edges of the directed graph, and the constraints between parameters are described by the way of node splitting, and all valid test sequences are represented by the path traversing the graph. Finally, the proposed input space modeling method is applied to a real test project to demonstrate the feasibility of the method.

Original languageEnglish
Title of host publicationProceedings - 2023 IEEE 23rd International Conference on Software Quality, Reliability, and Security Companion, QRS-C 2023
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages614-621
Number of pages8
ISBN (Electronic)9798350359398
DOIs
StatePublished - 2023
Event23rd IEEE International Conference on Software Quality, Reliability, and Security Companion, QRS-C 2023 - Chiang Mai, Thailand
Duration: 22 Oct 202326 Oct 2023

Publication series

NameProceedings - 2023 IEEE 23rd International Conference on Software Quality, Reliability, and Security Companion, QRS-C 2023

Conference

Conference23rd IEEE International Conference on Software Quality, Reliability, and Security Companion, QRS-C 2023
Country/TerritoryThailand
CityChiang Mai
Period22/10/2326/10/23

Keywords

  • Directed graph
  • Input space modeling
  • Parameter constraint
  • Parameter input timing
  • Software testing

Fingerprint

Dive into the research topics of 'An Input Space Modeling Method for Software Testing Considering Timing'. Together they form a unique fingerprint.

Cite this