RUS  ENG
Full version
JOURNALS // Proceedings of the Institute for System Programming of the RAS // Archive

Proceedings of ISP RAS, 2022 Volume 34, Issue 2, Pages 17–24 (Mi tisp674)

An algorithm of test generation from functional specification using Open IE model and clustering

K. S. Kobyshev, S. A. Molodyakov

Peter the Great St. Petersburg Polytechnic University

Abstract: Automated test coverage is a widespread practice in long-live software development projects for now. According to the test development approach, each automated test should reuse functions implemented in test framework. The provided research is aimed at improving the test framework development approach using natural language processing methods. The algorithm includes the following steps: preparation of test scenarios; transformation of scenario paragraphs to syntax tree using pretrained OpenIE model; test steps comparison with test framework interfaces using GloVe model; transformation of the given semantic tree to the Kotlin language code. The paper contains the description of protype of system automatically generating Kotlin language tests from natural language specification.

Keywords: automatic test, computational linguistics, relation extraction, open information extraction, dependency tree parsing, natural language processing, clustering, E2E test, GloVe, Kotlin

Language: English

DOI: 10.15514/ISPRAS-2022-34(2)-2



© Steklov Math. Inst. of RAS, 2026