Uncertainty-Driven Black-Box Test Data Generation

We can never be certain that a software system is correct simply by testing it, but with every additional successful test we become less uncertain about its correctness. In absence of source code or elaborate specifications and models, tests are usually generated or chosen randomly. However, rather...

Full description

Saved in:
Bibliographic Details
Published inICST 2017 : proceedings : 10th IEEE International Conference on Software Testing, Verification and Validation : 13-17 March, Tokyo, Japan pp. 253 - 263
Main Authors Walkinshaw, Neil, Fraser, Gordon
Format Conference Proceeding
LanguageEnglish
Published IEEE 01.03.2017
Subjects
Online AccessGet full text
DOI10.1109/ICST.2017.30

Cover

Loading…
Abstract We can never be certain that a software system is correct simply by testing it, but with every additional successful test we become less uncertain about its correctness. In absence of source code or elaborate specifications and models, tests are usually generated or chosen randomly. However, rather than randomly choosing tests, it would be preferable to choose those tests that decrease our uncertainty about correctness the most. In order to guide test generation, we apply what is referred to in Machine Learning as "Query Strategy Framework": We infer a behavioural model of the system under test and select those tests which the inferred model is "least certain" about. Running these tests on the system under test thus directly targets those parts about which tests so far have failed to inform the model. We provide an implementation that uses a genetic programming engine for model inference in order to enable an uncertainty sampling technique known as "query by committee", and evaluate it on eight subject systems from the Apache Commons Math framework and JodaTime. The results indicate that test generation using uncertainty sampling outperforms conventional and Adaptive Random Testing.
AbstractList We can never be certain that a software system is correct simply by testing it, but with every additional successful test we become less uncertain about its correctness. In absence of source code or elaborate specifications and models, tests are usually generated or chosen randomly. However, rather than randomly choosing tests, it would be preferable to choose those tests that decrease our uncertainty about correctness the most. In order to guide test generation, we apply what is referred to in Machine Learning as "Query Strategy Framework": We infer a behavioural model of the system under test and select those tests which the inferred model is "least certain" about. Running these tests on the system under test thus directly targets those parts about which tests so far have failed to inform the model. We provide an implementation that uses a genetic programming engine for model inference in order to enable an uncertainty sampling technique known as "query by committee", and evaluate it on eight subject systems from the Apache Commons Math framework and JodaTime. The results indicate that test generation using uncertainty sampling outperforms conventional and Adaptive Random Testing.
Author Walkinshaw, Neil
Fraser, Gordon
Author_xml – sequence: 1
  givenname: Neil
  surname: Walkinshaw
  fullname: Walkinshaw, Neil
  organization: Univ. of Leicester, Leicester, UK
– sequence: 2
  givenname: Gordon
  surname: Fraser
  fullname: Fraser, Gordon
  organization: Univ. of Sheffield, Sheffield, UK
BookMark eNotzrFOwzAQgGEjgQSUbGwseYGEuziO7ZG2UCpVYiCdq7NzlgzFQYmF6NuDBNO_ffqvxXkaEwtxi1Ajgr3frl77ugHUtYQzUVhtUIGFDiTKS1HM8xsAoO1M29orgfvkecoUUz5V6yl-cSqXR_Lv1XL8Lnuec7mmTOWGE0-U45huxEWg48zFfxdi__TYr56r3ctmu3rYVRG1ypUMxgRqIHROGeelQat4sNT5ltTgwMnOg7NBGXISNUOr3ODZt6GB310vF-Luz43MfPic4gdNp4O2jbYG5A8-DUOl
CODEN IEEPAD
ContentType Conference Proceeding
DBID 6IE
6IL
CBEJK
RIE
RIL
DOI 10.1109/ICST.2017.30
DatabaseName IEEE Electronic Library (IEL) Conference Proceedings
IEEE Xplore POP ALL
IEEE Xplore All Conference Proceedings
IEL
IEEE Proceedings Order Plans (POP All) 1998-Present
DatabaseTitleList
Database_xml – sequence: 1
  dbid: RIE
  name: IEEE Electronic Library (IEL)
  url: https://proxy.k.utb.cz/login?url=https://ieeexplore.ieee.org/
  sourceTypes: Publisher
DeliveryMethod fulltext_linktorsrc
Discipline Computer Science
EISBN 9781509060313
1509060316
EndPage 263
ExternalDocumentID 7927980
Genre orig-research
GroupedDBID 6IE
6IF
6IK
6IL
6IN
AAJGR
AAWTH
ABLEC
ALMA_UNASSIGNED_HOLDINGS
BEFXN
BFFAM
BGNUA
BKEBE
BPEOZ
CBEJK
IEGSK
OCL
RIB
RIC
RIE
RIL
ID FETCH-LOGICAL-i175t-3f88fa20f6b58bc38195ed9a6c4a5db0b36c0b9f58ab317e045bdcec4f20090c3
IEDL.DBID RIE
IngestDate Wed Aug 27 02:15:39 EDT 2025
IsPeerReviewed false
IsScholarly false
Language English
LinkModel DirectLink
MergedId FETCHMERGED-LOGICAL-i175t-3f88fa20f6b58bc38195ed9a6c4a5db0b36c0b9f58ab317e045bdcec4f20090c3
PageCount 11
ParticipantIDs ieee_primary_7927980
PublicationCentury 2000
PublicationDate 2017-March
PublicationDateYYYYMMDD 2017-03-01
PublicationDate_xml – month: 03
  year: 2017
  text: 2017-March
PublicationDecade 2010
PublicationTitle ICST 2017 : proceedings : 10th IEEE International Conference on Software Testing, Verification and Validation : 13-17 March, Tokyo, Japan
PublicationTitleAbbrev ICST
PublicationYear 2017
Publisher IEEE
Publisher_xml – name: IEEE
SSID ssj0001968449
Score 1.8204224
Snippet We can never be certain that a software system is correct simply by testing it, but with every additional successful test we become less uncertain about its...
SourceID ieee
SourceType Publisher
StartPage 253
SubjectTerms black-box testing
Data models
Genetic programming
machine learning
Machine learning algorithms
Software systems
Subspace constraints
test generation
Testing
Uncertainty
uncertainty sampling
Title Uncertainty-Driven Black-Box Test Data Generation
URI https://ieeexplore.ieee.org/document/7927980
hasFullText 1
inHoldings 1
isFullTextHit
isPrint
link http://utb.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwjV1LSwMxEB5qT56qtuKbHDya7T6SbHK1tVShIthCbyVPEKGVsgvqrzfJ9gHiwdMue9lNZpNvMvN9MwC3GZdaF9xgI5zARKUEq4IznAuSulKXKrdBnDx5ZuMZeZrTeQvudloYa20kn9kk3MZcvlnpOoTK-qXIS8H9Af3A_2aNVmsfTxGMEyJ23HbRfxy8TgN3q0wixXnfOyVCx6gDk-1LG8bIe1JXKtHfv-ox_verjqC3F-mhlx38HEPLLk-gs-3SgDaLtgvZzF9i3r_6wsN12N1QDNvh-9UnmnpUQENZSdQUoA526sFs9DAdjPGmUQJ-8-hf4cJx7mSeOqYoVzocwqg1QjJNJDUqVQXTqRKOcqm8v2C9G6eMtpq4kBtJdXEK7eVqac8AWWOo5o66ItQSzJi0LjPexyFGZrrk4hy6YQYWH00tjMVm8Bd_P76Ew2CAhrN1Be1qXdtrD-KVuonW-wGIRZ2F
linkProvider IEEE
linkToHtml http://utb.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwjV1LSwMxEB5KPeipaiu-3YNHs91Hkk2utpZW2yK4hd5KniBCW8oW1F9vstsHiAdPCbnkMSTfZOabGYD7mAmlUqaR5pYjLCOMZMooSjiObKYymRgfnDwa0_4EP0_JtAYPu1gYY0xJPjOh75a-fL1Qa28qa2c8yThzH_QDh_uYVNFae4sKpwxjvmO38_ag85Z79lYWliTnffWUEjx6DRhtp604Ix_hupCh-v6VkfG_6zqG1j5ML3jdAdAJ1Mz8FBrbOg3B5to2IZ64pvT8F1-ou_LvW1Aa7tDj4jPIHS4EXVGIoEpB7SXVgknvKe_00aZUAnp3-F-g1DJmRRJZKgmTyn_DiNFcUIUF0TKSKVWR5JYwIZ3GYJwiJ7UyClvvHYlUegb1-WJuziEwWhPFLLGpzyYYU2FsrJ2Wg7WIVcb4BTT9CcyWVTaM2Wbzl38P38FhPx8NZ8PB-OUKjrwwKgbXNdSL1drcOEgv5G0pyR_5nqDS
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%3Abook&rft.genre=proceeding&rft.title=ICST+2017+%3A+proceedings+%3A+10th+IEEE+International+Conference+on+Software+Testing%2C+Verification+and+Validation+%3A+13-17+March%2C+Tokyo%2C+Japan&rft.atitle=Uncertainty-Driven+Black-Box+Test+Data+Generation&rft.au=Walkinshaw%2C+Neil&rft.au=Fraser%2C+Gordon&rft.date=2017-03-01&rft.pub=IEEE&rft.spage=253&rft.epage=263&rft_id=info:doi/10.1109%2FICST.2017.30&rft.externalDocID=7927980