Adapting unit tests by generating combinatorial test data

Hermann Felbinger, Franz Wotawa, Mihai Nica

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

Abstract

Conventional unit tests are still mainly handcrafted. Generalizing conventional unit tests to parameterized unit tests supports automatic test data generation. Methods that were introduced to instantiate parameterized unit tests with concrete values as test data are based on search based approaches, dynamic symbolic execution, or property based testing. In this work, we introduce an approach that retrofits existing conventional unit tests into parameterized unit tests by generalization, and generate test data by combinatorial valuation to adapt existing conventional unit test suites. We conduct an empirical study to investigate whether our test suite adaption approach is beneficial in terms of additional fault detection capabilities and code coverage. Our results show that mutation score and condition coverage increase with feasible effort compared to existing conventional unit tests.

Originalspracheenglisch
TitelProceedings - 2018 IEEE 11th International Conference on Software Testing, Verification and Validation Workshops, ICSTW 2018
Herausgeber (Verlag)Institute of Electrical and Electronics Engineers
Seiten352-355
Seitenumfang4
ISBN (elektronisch)9781538663523
DOIs
PublikationsstatusVeröffentlicht - 16 Juli 2018
Veranstaltung11th IEEE International Conference on Software Testing, Verification and Validation Workshops: ICSTW 2018 - Vasteras, Schweden
Dauer: 9 Apr. 201813 Apr. 2018

Konferenz

Konferenz11th IEEE International Conference on Software Testing, Verification and Validation Workshops
Land/GebietSchweden
OrtVasteras
Zeitraum9/04/1813/04/18

ASJC Scopus subject areas

  • Software
  • Sicherheit, Risiko, Zuverlässigkeit und Qualität

Fingerprint

Untersuchen Sie die Forschungsthemen von „Adapting unit tests by generating combinatorial test data“. Zusammen bilden sie einen einzigartigen Fingerprint.

Dieses zitieren