On Using Ontologies for Testing Compilers

Yihao Li, Franz Wotawa

Research output: Chapter in Book/Report/Conference proceedingConference paperpeer-review

Abstract

Testing compilers requires coming up with textual input that can be parsed. Depending on the input the compiler may indicate an error, e.g., a lexical or a syntactical error, or may proceed converting the input to the output format. In this paper, we focus on the parsing functionality of a compiler and discuss an approach that is based on combinatorial testing for generating textual inputs. In particular, we make use of ontology-based testing, where we come up with an ontology describing potential inputs. Originally, ontology-based testing has been developed for testing safety-critical systems where the underlying idea was to use ontologies to describe the concepts of an environment of the system under test, and to use combinatorial testing for extracting critical scenarios based on these concepts. Making use of ontology-based testing for compilers extends the applicability of this testing method to the domain of compiler testing. Besides discussing the foundations behind the approach, we make use of a case study to illustrate the applicability of the proposed method.

Original languageEnglish
Title of host publicationProceedings - 2020 IEEE 13th International Conference on Software Testing, Verification and Validation Workshops, ICSTW 2020
PublisherIEEE
Pages181-184
Number of pages4
ISBN (Electronic)9781728110752
DOIs
Publication statusPublished - Oct 2020
Event2020 IEEE International Conference on Software Testing, Verification and Validation: ICSTW 2020 - Hybrider Event, Portugal
Duration: 24 Oct 202028 Oct 2020
https://icst2020.info/

Conference

Conference2020 IEEE International Conference on Software Testing, Verification and Validation
Abbreviated titleICSTW 2020
Country/TerritoryPortugal
CityHybrider Event
Period24/10/2028/10/20
Internet address

Keywords

  • Combinatorial testing
  • compiler testing
  • ontology-based testing
  • test case generation

ASJC Scopus subject areas

  • Software
  • Safety, Risk, Reliability and Quality
  • Modelling and Simulation

Fingerprint

Dive into the research topics of 'On Using Ontologies for Testing Compilers'. Together they form a unique fingerprint.

Cite this