Skip to main content
U.S. flag

An official website of the United States government

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

Ordered t-way Combinations for Testing State-based Systems

Published

Author(s)

D. Richard Kuhn, M S Raunak, Raghu N. Kacker

Abstract

Fault detection often depends on the specific order of inputs that establish states which eventually lead to a failure. However, beyond basic structural coverage metrics, it is often difficult to determine if code has been exercised sufficiently to ensure confidence in its functions. Measures are needed to ensure that relevant combinations of input values have been tested with adequate diversity of ordering, to ensure correct operation. Combinatorial testing and combinatorial coverage measures have been applied to many types of applications, but have some deficiencies for verification and testing of state based systems where the response depends on both input values and current system state. In such systems, internal states change as input values are processed. Examples include network protocols, which may be in listening, partial connection, full connection, disconnected, and many other states depending on the values of packet fields and order of packets received. Similarly, merchant account balances in credit card systems change continuously as transactions are processed. This publication introduces a notion of ordered t-way combinations, proves a result regarding the construction of adequate blocks of test inputs, and discusses the application of the results to verification and testing of state based systems.
Citation
OTHER - CSWP 26
Report Number
CSWP 26

Keywords

combinatorial coverage, combinatorial methods, combinatorial testing, software testing, structural coverage, test coverage

Citation

Kuhn, D. , Raunak, M. and Kacker, R. (2022), Ordered t-way Combinations for Testing State-based Systems, OTHER, National Institute of Standards and Technology, Gaithersburg, MD, [online], https://doi.org/10.6028/NIST.CSWP.26, https://tsapps.nist.gov/publication/get_pdf.cfm?pub_id=934829 (Accessed December 13, 2024)

Issues

If you have any questions about this publication or are having problems accessing it, please contact reflib@nist.gov.

Created June 13, 2022, Updated November 29, 2022