Show simple item record

dc.contributor.advisorArnicāns, Guntisen_US
dc.contributor.authorBakašs, Andrejsen_US
dc.contributor.otherLatvijas Universitāte. Datorikas fakultāteen_US
dc.date.accessioned2015-03-24T07:34:56Z
dc.date.available2015-03-24T07:34:56Z
dc.date.issued2010en_US
dc.identifier.other32662en_US
dc.identifier.urihttps://dspace.lu.lv/dspace/handle/7/19072
dc.description.abstractDarbā ir aprakstīts testpiemēru ģenerators programmēšanas valodai ar vienkāršo datu tipu mainīgajiem. Vairumā testpiemēru ģenerēšanas posmos risinājumā tiek izmantoti ārējie rīki. Programmas teksta analīze veikta ar leksisko un sintaksisko analizatoru ģeneratora ražoto kodu, kam pamatā ir mērķa valodas gramatika. Ceļa nosacījumi risināti ar ierobežojumu izpildīšanas rīka metodēm. Rezultātu grafiskai attēlošanai izmantota grafu vizualizēšanas programmatūra. Izveidotā testpiemēru ģeneratora darbība ir demonstrēta uz vienkāršo programmu piemēriem. Eksperimenta rezultātā ir secināts, ka šāds rīks ir spējīgs automātiski ģenerēt testpiemērus vienkāršām programmām ar ievades un izvades, piešķires, zarošanās un cikla priekšrakstiem. Ir apkopotas novērotās problēmas un nepilnības, kā arī minētas tālākās attīstības iespējas.en_US
dc.description.abstractThis paper describes automatic test data generator for programs with variables of primitive data types. In most of the processing phases the solution is using 3rd party tools. Program source analyzed by parser generated by JavaCC based on a formal grammar of a target programming language. Path conditions passed to constraint satisfaction problem solver Choco. Syntax tree and control flow graph of a program visualized by Graphviz graph drawing software. Such a test data generator is implemented and then evaluated against some simple programs. The results show that system built in scope of this paper is able to generate test data for programs with input/output, assignment, if/else and while loop statements. Problems and issues observed are summarized providing possible resolutions, further development options and challenges are given.en_US
dc.language.isoN/Aen_US
dc.publisherLatvijas Universitāteen_US
dc.rightsinfo:eu-repo/semantics/openAccessen_US
dc.subjectDatorzinātneen_US
dc.titleAutomātiskā testpiemēru ģenerēšana programmām ar vienkāršu datu tipu mainīgajiemen_US
dc.title.alternativeAutomatic Test Case Generation for Programms with Variables of Primitive Data Typesen_US
dc.typeinfo:eu-repo/semantics/bachelorThesisen_US


Files in this item

Thumbnail

This item appears in the following Collection(s)

Show simple item record