Original title:
Nástroj pro analýzu obsahu databáze pro účely testování softwaru
Translated title:
A Tool for Database Content Analysis for Testing Purposes
Authors:
Kropáč, František ; Šimková, Hana (referee) ; Smrčka, Aleš (advisor) Document type: Bachelor's theses
Year:
2017
Language:
cze Publisher:
Vysoké učení technické v Brně. Fakulta informačních technologií Abstract:
[cze][eng]
Akceptační testování aplikací před produkcí zahrnuje testování reálně vypadajících scénářů při používání aplikace. Tvorba testovacích dat pro aplikace využívající databázový systém je komplikovaná z důvodů specifikace omezení dat, která spadají do domény testované aplikace, a specifikace strukturálních omezení resp. vztahů mezi těmito daty. Tato práce se zabývá problematikou detekce datových vazeb v již existující relační databázi. Výsledkem je nástroj, který automaticky řídí a zprostředkovává detekci omezení v datech relační databáze. Výstupem detekce je váhově ohodnocené omezení dat, které reprezentují jak datový typ, tak vazbu mezi tabulkami a sloupci relační databáze. Tento výstup je pak možné použít pro generování náhodných testovacích dat, které budou reprezentovat vstupy pro reálně vypadající scénáře použití testované aplikace.
Acceptance testing of applications before the production includes testing of scenarios resembling situations of real usage of the application. Creating the test data is complicated matter since the data are specified by restrictions concerning the domain of the tested application and the specifications of the structural restrictions and the relations between these data. This thesis focuses on the issues of detecting the data constraints in an already created relational database. The outcome of the thesis is a tool which automatically controls and mediates the detection of the data constraints in a relational database. The detection result is a weight rating of the data restrictions, which represents both the data type and the relation between tables, columns in relational database. These restrictions can be used to generate a random testing data which would represent inputs for seemingly realistic scenarios of the usage of the application.
Keywords:
C++; database analysis; DBus; fuzzy testing; random data generation; relational database; analýza databáze; C++; DBus; fuzzy testování; generování náhodných dat; relační databáze
Institution: Brno University of Technology
(web)
Document availability information: Fulltext is available in the Brno University of Technology Digital Library. Original record: http://hdl.handle.net/11012/69748