Syntax Directed Generation of Tests for Processors of Regular Languages

Authors

  • Борис Константинович Мартыненко SPbSU, St. Petersburg, Russia

Keywords:

Chinese Postman Problem, Directed graph, Finite processor, Line graph, Regular expression, N. Wirth’s syntactic diagrams, Test of minimal length

Abstract

A method of generation of tests of minimum length for the purpose of testing of syntax directed finite processors recognizing regular languages is described. A criterion of the test cases selection is introduced that represents the requested level of coverage for the acres of the graph that corresponds to the regular expression for which the processor has been constructed. Since the graph acres are labeled with semantic labels, the criterion defines the degree of interaction between these semantics, so such a test must be built that the criterion conditions are met. The method is based on the algorithm of the solution of the Chinese Postman Problem on a directed graph, that is built for the input regular expression that defines the language recognized by the finite processor.

Author Biography

  • Борис Константинович Мартыненко, SPbSU, St. Petersburg, Russia

    Boris K. Martynenko: Doctor of Science, professor of Computer Science, Saint Petersburg state university.

Downloads

Published

2017-06-04

Issue

Section

Computer science

How to Cite

[1]
Б. К. Мартыненко, “Syntax Directed Generation of Tests for Processors of Regular Languages”, Computer Tools in Education, no. 5, pp. 17–45, Jun. 2017, Accessed: Sep. 08, 2026. Available: http://cte.eltech.ru/ojs/index.php/kio/article/view/1411

Most read articles by the same author(s)