Programmeerimisülesannetele puupõhiste testandmete genereerimise süsteem TestMotor

Date

2019

Journal Title

Journal ISSN

Volume Title

Publisher

Abstract

Automaatsed testid on hea viis programmeerimisülesannete kontrollimiseks. Need vähendavad õppejõu tööd ning võimaldavad õpilasel saada kohest tagasisidet. Automaattestide kirjutamine võib aga olla raske ja üksluine töö, kuna tuleb välja mõelda hulk argumente, millega vaatlusaluseid meetodeid kontrollida. Selle protsessi lihtsustamiseks loodi programm TestMotor, mis võimaldab automaatselt genereerida argumente testitavatele Java meetoditele ja konstruktoritele. Loodud programm genereerib argumente puu kujul, mis võimaldab neid puu kõrguse järgi erinevateks raskusastmeteks grupeerida. Lisaks loodud programmi kirjeldusele, sisaldab töö ka selle analüüsi ning olemasolevate tehnoloogiate kirjeldusi.
Automated tests are a good way for checking programming assignments. They decrease lecturer’s work and allow students to get immediate feedback. But writing automated tests can be difficult and repetitive, because a number of arguments need to be created, with which the methods under test will be tested. To ease this process, the program TestMotor was created, which allows automatic argument generation for Java methods and constructors. The program generates arguments as trees, which allows grouping them by the tree height into different levels of difficulty. In addition to the description of the created program, the thesis also contains its analysis and descriptions of some existing technologies in automatic test generation.

Description

Keywords

Citation