Combining sequential test cases into an equivalent set of adaptive test cases

When testing a state-based system one might use a set of (negative) test cases in which each test case is a sequence of events that should not occur. Testing then involves executing the system under test (SUT) in order to check whether any of these disallowed sequences can occur. While testing using...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Veröffentlicht in:Journal of logical and algebraic methods in programming Jg. 148; S. 101092
Hauptverfasser: Hierons, Robert M., Merayo, Mercedes G., Núñez, Manuel
Format: Journal Article
Sprache:Englisch
Veröffentlicht: Elsevier Inc 01.01.2026
ISSN:2352-2208
Online-Zugang:Volltext
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Abstract When testing a state-based system one might use a set of (negative) test cases in which each test case is a sequence of events that should not occur. Testing then involves executing the system under test (SUT) in order to check whether any of these disallowed sequences can occur. While testing using such sequences can be effective, they introduce a source of inefficiency: if a test case expects the SUT to produce output a after observing a sequence σ and the SUT instead produces a different output a′ after σ then testing with that test case did not show an error, because the SUT can autonomously produce outputs, and terminates because the test case only makes sense if the exact sequence is observed. This is a source of inefficiency if there is another test case that starts with σ followed by a′: we could have continued evaluating whether the application of this second test case leads to an error. This paper considers scenarios in which events represent inputs, outputs, or the passing of discrete time. We show how a set of sequential test cases can be converted into an equivalent set of adaptive test cases, with adaptivity addressing the above source of inefficiency. The proposed approach has the potential to improve efficiency when using any test generation technique that returns negative sequential test cases.
AbstractList When testing a state-based system one might use a set of (negative) test cases in which each test case is a sequence of events that should not occur. Testing then involves executing the system under test (SUT) in order to check whether any of these disallowed sequences can occur. While testing using such sequences can be effective, they introduce a source of inefficiency: if a test case expects the SUT to produce output a after observing a sequence σ and the SUT instead produces a different output a′ after σ then testing with that test case did not show an error, because the SUT can autonomously produce outputs, and terminates because the test case only makes sense if the exact sequence is observed. This is a source of inefficiency if there is another test case that starts with σ followed by a′: we could have continued evaluating whether the application of this second test case leads to an error. This paper considers scenarios in which events represent inputs, outputs, or the passing of discrete time. We show how a set of sequential test cases can be converted into an equivalent set of adaptive test cases, with adaptivity addressing the above source of inefficiency. The proposed approach has the potential to improve efficiency when using any test generation technique that returns negative sequential test cases.
ArticleNumber 101092
Author Merayo, Mercedes G.
Núñez, Manuel
Hierons, Robert M.
Author_xml – sequence: 1
  givenname: Robert M.
  surname: Hierons
  fullname: Hierons, Robert M.
  email: R.Hierons@sheffield.ac.uk
  organization: School of Computer Science, University of Sheffield, S1 4DP, Sheffield, United Kingdom
– sequence: 2
  givenname: Mercedes G.
  surname: Merayo
  fullname: Merayo, Mercedes G.
  email: mgmerayo@fdi.ucm.es
  organization: Design and Testing of Reliable Systems, Universidad Complutense de Madrid, 28040, Madrid, Spain
– sequence: 3
  givenname: Manuel
  orcidid: 0000-0001-9808-6401
  surname: Núñez
  fullname: Núñez, Manuel
  email: mn@sip.ucm.es
  organization: Design and Testing of Reliable Systems, Universidad Complutense de Madrid, 28040, Madrid, Spain
BookMark eNp9kD1PwzAQhj0UiVL6C1j8BxLOvtpJBwZU8SUVscBsOc4FOUqcEptK_HtSwsDEdNJ7z3s6PRdsEYZAjF0JyAUIfd3mbWf7Qy5BqlMCW7lgS4lKZlJCec7WMbYAE1oWJYole94NfeWDD-880scnheRtxxPFxJ2NFLkPaeA28Gnpj7abgAlMfGi4re0h-SP9oS_ZWWO7SOvfuWJv93evu8ds__LwtLvdZw4BUqYr5VBvULpNoYSQUiksK-dkIYFso2unBNmqqEBahUBlgejsFjVoLBvtcMVwvuvGIcaRGnMYfW_HLyPAnESY1vyIMCcRZhYxtW7mFk2vHT2NJjpPwVHtR3LJ1IP_t_8NbUhrMg
Cites_doi 10.1007/s10664-022-10149-y
10.1007/s10270-020-00850-1
10.1145/1459352.1459354
10.1109/TSE.2023.3291137
10.1145/3572837
10.1007/s10270-018-00710-z
10.1145/3379508
10.1109/5.533956
10.1007/s12243-015-0457-8
10.1016/j.robot.2023.104426
10.1145/3624742
10.1016/j.infsof.2022.107145
ContentType Journal Article
Copyright 2025 The Author(s)
Copyright_xml – notice: 2025 The Author(s)
DBID 6I.
AAFTH
AAYXX
CITATION
DOI 10.1016/j.jlamp.2025.101092
DatabaseName ScienceDirect Open Access Titles
Elsevier:ScienceDirect:Open Access
CrossRef
DatabaseTitle CrossRef
DatabaseTitleList
DeliveryMethod fulltext_linktorsrc
Discipline Computer Science
ExternalDocumentID 10_1016_j_jlamp_2025_101092
S2352220825000586
GrantInformation_xml – fundername: Comunidad de Madrid
  grantid: TEC-2024/COM-235
  funderid: https://doi.org/10.13039/100012818
– fundername: State Research Agency (AEI)
  grantid: PID2021-122215NB-C31
– fundername: EPSRC
  grantid: EP/R025134/1
  funderid: https://doi.org/10.13039/501100000266
GroupedDBID --M
0R~
4.4
457
4G.
6I.
7-5
8P~
AAEDT
AAEDW
AAFTH
AAIKJ
AAKOC
AALRI
AAOAW
AATTM
AAXKI
AAXUO
AAYFN
AAYWO
ABBOA
ABJNI
ABMAC
ABXDB
ACDAQ
ACGFS
ACLOT
ACRLP
ACVFH
ADBBV
ADCNI
ADEZE
ADVLN
AEBSH
AEIPS
AEKER
AENEX
AEUPX
AFJKZ
AFPUW
AFTJW
AGHFR
AGUBO
AIALX
AIEXJ
AIGII
AIIUN
AIKHN
AITUG
AKBMS
AKRWK
AKYEP
ALMA_UNASSIGNED_HOLDINGS
AMRAJ
ANKPU
AOUOD
AXJTR
BKOJK
BLXMC
EBS
EFJIC
EFKBS
EFLBG
EJD
FDB
FIRID
FYGXN
GBLVA
GBOLZ
HZ~
KOM
M41
O9-
OAUVE
ROL
SPC
SPCBC
SSV
SSZ
T5K
~G-
AAYXX
CITATION
ID FETCH-LOGICAL-c300t-6b5c36432c47511225538bcc2720eaf6dc51eab7b02a530e8733ca9360638f6c3
ISICitedReferencesCount 0
ISICitedReferencesURI http://www.webofscience.com/api/gateway?GWVersion=2&SrcApp=Summon&SrcAuth=ProQuest&DestLinkType=CitingArticles&DestApp=WOS_CPL&KeyUT=001566196000001&url=https%3A%2F%2Fcvtisr.summon.serialssolutions.com%2F%23%21%2Fsearch%3Fho%3Df%26include.ft.matches%3Dt%26l%3Dnull%26q%3D
ISSN 2352-2208
IngestDate Thu Nov 20 00:37:51 EST 2025
Sat Oct 04 17:01:27 EDT 2025
IsDoiOpenAccess true
IsOpenAccess true
IsPeerReviewed true
IsScholarly true
Language English
License This is an open access article under the CC BY license.
LinkModel OpenURL
MergedId FETCHMERGED-LOGICAL-c300t-6b5c36432c47511225538bcc2720eaf6dc51eab7b02a530e8733ca9360638f6c3
ORCID 0000-0001-9808-6401
OpenAccessLink https://dx.doi.org/10.1016/j.jlamp.2025.101092
ParticipantIDs crossref_primary_10_1016_j_jlamp_2025_101092
elsevier_sciencedirect_doi_10_1016_j_jlamp_2025_101092
PublicationCentury 2000
PublicationDate January 2026
2026-01-00
PublicationDateYYYYMMDD 2026-01-01
PublicationDate_xml – month: 01
  year: 2026
  text: January 2026
PublicationDecade 2020
PublicationTitle Journal of logical and algebraic methods in programming
PublicationYear 2026
Publisher Elsevier Inc
Publisher_xml – name: Elsevier Inc
References Cavalcanti, Baxter, Hierons, Lefticaru (br0100) 2019; vol. 11823
Cavalcanti, Hierons, Nogueira (br0080) 2020; 21
Baxter, Cavalcanti, Gazda, Hierons (br0010) 2023; 24
Mandrioli, Shin, Maggio, Bianculli, Briand (br0190) 2024; 33
Fellner, Befrouei, Weissenbacher (br0170) 2021; 20
Gaudel (br0050) 2024
Türker, Hierons, Barlas, El-Fakih (br0150) 2023; 49
Basile, Beek, Lazreg, Cordy, Legay (br0180) 2022; 27
Cavalli, Higashino, Núñez (br0040) 2015; 70
Cavalcanti, Gaudel (br0070) 2007; vol. 4789
Tretmans (br0160) 2008; vol. 4949
Papadakis, Kintis, Zhang, Jia, Traon, Harman (br0090) 2019; vol. 112
Lee, Yannakakis (br0140) 1996; 84
Poskitt, Chen, Sun, Jiang (br0110) 2023
Somers, Douthwaite, Wagg, Walkinshaw, Hierons (br0130) 2023; 156
Hierons, Bogdanov, Bowen, Cleaveland, Derrick, Dick, Gheorghe, Harman, Kapoor, Krause, Luettgen, Simons, Vilkomir, Woodward, Zedan (br0060) 2009; 41
Lefticaru, Hierons, Núñez (br0020) 2020; 170
Miyazawa, Ribeiro, Li, Cavalcanti, Timmis, Woodcock (br0120) 2019; 18
Núñez, Hierons, Lefticaru (br0030) 2023; 165
Cavalli (10.1016/j.jlamp.2025.101092_br0040) 2015; 70
Gaudel (10.1016/j.jlamp.2025.101092_br0050) 2024
Lee (10.1016/j.jlamp.2025.101092_br0140) 1996; 84
Baxter (10.1016/j.jlamp.2025.101092_br0010) 2023; 24
Fellner (10.1016/j.jlamp.2025.101092_br0170) 2021; 20
Cavalcanti (10.1016/j.jlamp.2025.101092_br0070) 2007; vol. 4789
Papadakis (10.1016/j.jlamp.2025.101092_br0090) 2019; vol. 112
Miyazawa (10.1016/j.jlamp.2025.101092_br0120) 2019; 18
Somers (10.1016/j.jlamp.2025.101092_br0130) 2023; 156
Tretmans (10.1016/j.jlamp.2025.101092_br0160) 2008; vol. 4949
Basile (10.1016/j.jlamp.2025.101092_br0180) 2022; 27
Núñez (10.1016/j.jlamp.2025.101092_br0030) 2023; 165
Cavalcanti (10.1016/j.jlamp.2025.101092_br0100) 2019; vol. 11823
Cavalcanti (10.1016/j.jlamp.2025.101092_br0080) 2020; 21
Lefticaru (10.1016/j.jlamp.2025.101092_br0020) 2020; 170
Poskitt (10.1016/j.jlamp.2025.101092_br0110) 2023
Türker (10.1016/j.jlamp.2025.101092_br0150) 2023; 49
Hierons (10.1016/j.jlamp.2025.101092_br0060) 2009; 41
Mandrioli (10.1016/j.jlamp.2025.101092_br0190) 2024; 33
References_xml – start-page: 2578
  year: 2023
  end-page: 2590
  ident: br0110
  article-title: Finding causally different tests for an industrial control system
  publication-title: 45th IEEE/ACM Int. Conf. on Software Engineering, ICSE'23
– volume: 84
  start-page: 1090
  year: 1996
  end-page: 1123
  ident: br0140
  article-title: Principles and methods of testing finite state machines: a survey
  publication-title: Proc. IEEE
– volume: 41
  start-page: 9:1
  year: 2009
  end-page: 9:76
  ident: br0060
  article-title: Using formal specifications to support testing
  publication-title: ACM Comput. Surv.
– volume: 27
  start-page: 160
  year: 2022
  ident: br0180
  article-title: Static detection of equivalent mutants in real-time model-based mutation testing
  publication-title: Empir. Softw. Eng.
– volume: 49
  start-page: 4371
  year: 2023
  end-page: 4389
  ident: br0150
  article-title: Incomplete adaptive distinguishing sequences for non-deterministic FSMs
  publication-title: IEEE Trans. Softw. Eng.
– volume: 165
  year: 2023
  ident: br0030
  article-title: Implementation relations and testing for cyclic systems: adding probabilities
  publication-title: Robot. Auton. Syst.
– volume: vol. 4789
  start-page: 151
  year: 2007
  end-page: 170
  ident: br0070
  article-title: Testing for refinement in CSP
  publication-title: 9th Int. Conf. on Formal Methods and Software Engineering, ICFEM'07
– volume: vol. 112
  start-page: 275
  year: 2019
  end-page: 378
  ident: br0090
  article-title: Mutation Testing Advances: An Analysis and Survey
  publication-title: Advances in Computers
– volume: vol. 11823
  start-page: 21
  year: 2019
  end-page: 38
  ident: br0100
  article-title: Testing robots using CSP
  publication-title: 13th Int. Conf. on Tests and Proofs, TAP'19
– volume: vol. 4949
  start-page: 1
  year: 2008
  end-page: 38
  ident: br0160
  article-title: Model based testing with labelled transition systems
  publication-title: Formal Methods and Testing
– volume: 18
  start-page: 3097
  year: 2019
  end-page: 3149
  ident: br0120
  article-title: RoboChart: modelling and verification of the functional behaviour of robotic applications
  publication-title: Softw. Syst. Model.
– volume: 20
  start-page: 405
  year: 2021
  end-page: 427
  ident: br0170
  article-title: Mutation testing with hyperproperties
  publication-title: Softw. Syst. Model.
– volume: 21
  start-page: 24:1
  year: 2020
  end-page: 24:53
  ident: br0080
  article-title: Inputs and outputs in CSP: a model and a testing theory
  publication-title: ACM Trans. Comput. Log.
– volume: 33
  start-page: 35
  year: 2024
  ident: br0190
  article-title: Stress testing control loops in cyber-physical systems
  publication-title: ACM Trans. Softw. Eng. Methodol.
– volume: 170
  start-page: 1
  year: 2020
  end-page: 20
  ident: br0020
  article-title: Implementation relations and testing for cyclic systems with refusals and discrete time
  publication-title: J. Syst. Softw.
– volume: 156
  year: 2023
  ident: br0130
  article-title: Digital-twin-based testing for cyber-physical systems: a systematic literature review
  publication-title: Inf. Softw. Technol.
– start-page: 17
  year: 2024
  end-page: 45
  ident: br0050
  article-title: “Testing can be formal too”: 30 years later
  publication-title: The French School of Programming
– volume: 70
  start-page: 85
  year: 2015
  end-page: 93
  ident: br0040
  article-title: A survey on formal active and passive testing with applications to the cloud
  publication-title: Ann. Télécommun.
– volume: 24
  start-page: 17:1
  year: 2023
  end-page: 17:40
  ident: br0010
  article-title: Testing using CSP models: time, inputs, and outputs
  publication-title: ACM Trans. Comput. Log.
– volume: 170
  start-page: 1
  issue: 110738
  year: 2020
  ident: 10.1016/j.jlamp.2025.101092_br0020
  article-title: Implementation relations and testing for cyclic systems with refusals and discrete time
  publication-title: J. Syst. Softw.
– volume: vol. 4789
  start-page: 151
  year: 2007
  ident: 10.1016/j.jlamp.2025.101092_br0070
  article-title: Testing for refinement in CSP
– volume: vol. 11823
  start-page: 21
  year: 2019
  ident: 10.1016/j.jlamp.2025.101092_br0100
  article-title: Testing robots using CSP
– volume: vol. 4949
  start-page: 1
  year: 2008
  ident: 10.1016/j.jlamp.2025.101092_br0160
  article-title: Model based testing with labelled transition systems
– volume: 27
  start-page: 160
  year: 2022
  ident: 10.1016/j.jlamp.2025.101092_br0180
  article-title: Static detection of equivalent mutants in real-time model-based mutation testing
  publication-title: Empir. Softw. Eng.
  doi: 10.1007/s10664-022-10149-y
– volume: 20
  start-page: 405
  year: 2021
  ident: 10.1016/j.jlamp.2025.101092_br0170
  article-title: Mutation testing with hyperproperties
  publication-title: Softw. Syst. Model.
  doi: 10.1007/s10270-020-00850-1
– volume: 41
  start-page: 9:1
  issue: 2
  year: 2009
  ident: 10.1016/j.jlamp.2025.101092_br0060
  article-title: Using formal specifications to support testing
  publication-title: ACM Comput. Surv.
  doi: 10.1145/1459352.1459354
– volume: 49
  start-page: 4371
  issue: 9
  year: 2023
  ident: 10.1016/j.jlamp.2025.101092_br0150
  article-title: Incomplete adaptive distinguishing sequences for non-deterministic FSMs
  publication-title: IEEE Trans. Softw. Eng.
  doi: 10.1109/TSE.2023.3291137
– volume: 24
  start-page: 17:1
  issue: 2
  year: 2023
  ident: 10.1016/j.jlamp.2025.101092_br0010
  article-title: Testing using CSP models: time, inputs, and outputs
  publication-title: ACM Trans. Comput. Log.
  doi: 10.1145/3572837
– volume: 18
  start-page: 3097
  issue: 5
  year: 2019
  ident: 10.1016/j.jlamp.2025.101092_br0120
  article-title: RoboChart: modelling and verification of the functional behaviour of robotic applications
  publication-title: Softw. Syst. Model.
  doi: 10.1007/s10270-018-00710-z
– start-page: 2578
  year: 2023
  ident: 10.1016/j.jlamp.2025.101092_br0110
  article-title: Finding causally different tests for an industrial control system
– start-page: 17
  year: 2024
  ident: 10.1016/j.jlamp.2025.101092_br0050
  article-title: “Testing can be formal too”: 30 years later
– volume: 21
  start-page: 24:1
  issue: 3
  year: 2020
  ident: 10.1016/j.jlamp.2025.101092_br0080
  article-title: Inputs and outputs in CSP: a model and a testing theory
  publication-title: ACM Trans. Comput. Log.
  doi: 10.1145/3379508
– volume: 84
  start-page: 1090
  issue: 8
  year: 1996
  ident: 10.1016/j.jlamp.2025.101092_br0140
  article-title: Principles and methods of testing finite state machines: a survey
  publication-title: Proc. IEEE
  doi: 10.1109/5.533956
– volume: 70
  start-page: 85
  issue: 3–4
  year: 2015
  ident: 10.1016/j.jlamp.2025.101092_br0040
  article-title: A survey on formal active and passive testing with applications to the cloud
  publication-title: Ann. Télécommun.
  doi: 10.1007/s12243-015-0457-8
– volume: 165
  year: 2023
  ident: 10.1016/j.jlamp.2025.101092_br0030
  article-title: Implementation relations and testing for cyclic systems: adding probabilities
  publication-title: Robot. Auton. Syst.
  doi: 10.1016/j.robot.2023.104426
– volume: 33
  start-page: 35
  issue: 2
  year: 2024
  ident: 10.1016/j.jlamp.2025.101092_br0190
  article-title: Stress testing control loops in cyber-physical systems
  publication-title: ACM Trans. Softw. Eng. Methodol.
  doi: 10.1145/3624742
– volume: vol. 112
  start-page: 275
  year: 2019
  ident: 10.1016/j.jlamp.2025.101092_br0090
  article-title: Mutation Testing Advances: An Analysis and Survey
– volume: 156
  year: 2023
  ident: 10.1016/j.jlamp.2025.101092_br0130
  article-title: Digital-twin-based testing for cyber-physical systems: a systematic literature review
  publication-title: Inf. Softw. Technol.
  doi: 10.1016/j.infsof.2022.107145
SSID ssj0001687831
Score 2.32721
Snippet When testing a state-based system one might use a set of (negative) test cases in which each test case is a sequence of events that should not occur. Testing...
SourceID crossref
elsevier
SourceType Index Database
Publisher
StartPage 101092
Title Combining sequential test cases into an equivalent set of adaptive test cases
URI https://dx.doi.org/10.1016/j.jlamp.2025.101092
Volume 148
WOSCitedRecordID wos001566196000001&url=https%3A%2F%2Fcvtisr.summon.serialssolutions.com%2F%23%21%2Fsearch%3Fho%3Df%26include.ft.matches%3Dt%26l%3Dnull%26q%3D
hasFullText 1
inHoldings 1
isFullTextHit
isPrint
journalDatabaseRights – providerCode: PRVESC
  databaseName: Elsevier SD Freedom Collection Journals 2021
  issn: 2352-2208
  databaseCode: AIEXJ
  dateStart: 20211207
  customDbUrl:
  isFulltext: true
  dateEnd: 99991231
  titleUrlDefault: https://www.sciencedirect.com
  omitProxy: false
  ssIdentifier: ssj0001687831
  providerName: Elsevier
link http://cvtisr.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwtV1Lb9QwELag5cCF8hRtAfnAbUnl2OvYOW6r8hK7QqKgvUWO16l2BdnVblqVf8-M7SR9AAIkLlbkOE7kGY-_jD_PEPJSwxo4k6C81mFQbWXSxIghS4wTMtVOVdbnIfvyQU0mejrNP8Yd_I1PJ6DqWl9c5Kv_KmqoA2Hj0dm_EHfXKVTANQgdShA7lH8keJjhpc_6MAg06cafDAHjP7CwYiH9CuAmzGq4OYf3Ihdg4yIfwKw8k6hv_Qvs2hpMH-n16yluPs9tzEYdiOmB9vWtXRi9c9utlwG1Bzr3YHzQidutzXfvtB0j0WYGn_mmuznBzfzDkS_T4PAem_oscv2jx4Jf91h0R2muMD05IMGEc6avmOYQhfOGmQ8eh8XBAmYNBh3lEutYyKp3LX72J-wZO-aY-0Hq7DbZ5krmYAK3R--Op-97l1ymlfYZLLuPaeNUeUbgjbf9HMtcwicn98m9KBw6CgrxgNxy9UOy0ybtoNGGPyLjTj9orx8UJU69xCnqBzU17fUDGjZ0WdFWPy61fkw-vz4-OXqbxJwaiRWMNUlWSisAhXI7VIi14Y9S6NJa3I53pspmVqbOlKpk3EjBnFZCWJOLDKFtlVnxhGzVy9o9JbRUVpS8lBmsCcO8NEbnGD_SsbQSmlm5S161o1OsQuiUouUULgo_mAUOZhEGc5dk7QgWEf0FVFeA1H_34N6_PrhP7vbq-YxsNesz95zcsefNfLN-EbXjB9N6fuQ
linkProvider Elsevier
openUrl ctx_ver=Z39.88-2004&ctx_enc=info%3Aofi%2Fenc%3AUTF-8&rfr_id=info%3Asid%2Fsummon.serialssolutions.com&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=article&rft.atitle=Combining+sequential+test+cases+into+an+equivalent+set+of+adaptive+test+cases&rft.jtitle=Journal+of+logical+and+algebraic+methods+in+programming&rft.au=Hierons%2C+Robert+M.&rft.au=Merayo%2C+Mercedes+G.&rft.au=N%C3%BA%C3%B1ez%2C+Manuel&rft.date=2026-01-01&rft.pub=Elsevier+Inc&rft.issn=2352-2208&rft.volume=148&rft_id=info:doi/10.1016%2Fj.jlamp.2025.101092&rft.externalDocID=S2352220825000586
thumbnail_l http://covers-cdn.summon.serialssolutions.com/index.aspx?isbn=/lc.gif&issn=2352-2208&client=summon
thumbnail_m http://covers-cdn.summon.serialssolutions.com/index.aspx?isbn=/mc.gif&issn=2352-2208&client=summon
thumbnail_s http://covers-cdn.summon.serialssolutions.com/index.aspx?isbn=/sc.gif&issn=2352-2208&client=summon