Incollection,

Directed Generation of Test Data for Static Semantics Checker

, and .
(2009)
DOI: http://dx.doi.org/10.1007/978-3-540-88479-8_54

Abstract

We present an automatic method, named SemaTESK, for generation of test sets for a translator front end. We focus on the validation and verification of static semantics checker. Most the know methods for semantics test generation produce test suites by filtering a pre-generated set of random texts in the target language. In contrast, SemaTESK allows to generate tests for context conditions directly. It significantly reduces generation time and allows reaching completeness criteria defined in the paper. The presented method to specify static semantics allows to formalize informal requirements described in normative documents (e.g. standard). The method includes SRL notation for compact formal specification of context conditions and STG tool for efficient generation of test suite from SRL specification. The SemaTESK method has been used in a number of projects, including testing static semantics checkers of C and Java.

Tags

Users

  • @leonardo

Comments and Reviews