Property-Based Testing with External Test-Case Generators

Bernhard K. Aichernig, Silvio Marcovic, Richard Alexander Schumi

Publikation: Beitrag in Buch/Bericht/KonferenzbandBeitrag in einem KonferenzbandForschungBegutachtung

Abstract

Previous work has demonstrated that property-based testing (PBT) is a flexible
random testing technique that facilitates the generation of complex form data.
For example, it has been shown that PBT can be applied to web-service
applications that require various inputs for web-forms. We want to exploit this
data generation feature of PBT and combine it with an external test-case
generator that can generate test cases via model-based mutation testing.
PBT already supports the generation of test cases from stateful models, but it
is limited, because it normally only considers the current state during
exploration of the model. We want to give the tester more control on how to
produce meaningful operation sequences for test cases. By integrating an
external test-case generator into a PBT tool, we can create test cases that
follow certain coverage criteria. This allows us to reduce the test execution
time, because we do not need a large number of random tests to cover certain
model aspects. We demonstrate our approach with a simple example of an external
generator for regular expressions and perform an industrial case study, where
we integrate an existing model-based mutation testing generator.
Originalspracheenglisch
Titel10th IEEE International Conference on Software Testing, Verification and Validation Workshops, ICST Workshops 2017, Tokyo, Japan, March 13-17, 2017
Herausgeber (Verlag)IEEE Computer Society
Seiten337-346
DOIs
PublikationsstatusVeröffentlicht - 2017
Veranstaltung10th IEEE International Conference on Software Testing, Verification and Validation - Tokyo, Japan
Dauer: 13 Mär 201717 Mär 2017
http://aster.or.jp/conference/icst2017/

Konferenz

Konferenz10th IEEE International Conference on Software Testing, Verification and Validation
KurztitelICST 2017
LandJapan
OrtTokyo
Zeitraum13/03/1717/03/17
Internetadresse

    Fingerprint

Fields of Expertise

  • Information, Communication & Computing

Dieses zitieren

Aichernig, B. K., Marcovic, S., & Schumi, R. A. (2017). Property-Based Testing with External Test-Case Generators. in 10th IEEE International Conference on Software Testing, Verification and Validation Workshops, ICST Workshops 2017, Tokyo, Japan, March 13-17, 2017 (S. 337-346). IEEE Computer Society. https://doi.org/10.1109/ICSTW.2017.62