Bachelor's thesis
Awards: Dean's Award for an Outstanding Final Thesis

Static Analyser for BeakerLib Tests

Zuzana Baranová
Abstract

Cieľom tejto práce, uskutočnenej v spolupráci s firmou Red Hat, je navrhnúť a implementovať nástroj pre vyhľadávanie chýb (tzv. linter), zameraný na chyby špecifické pre knižnicu BeakerLib, teda cielený na testy, ktoré knižnicu BeakerLib využívajú. Nástroj nadväzuje na kód vyvinutý v rámci projektu bkrdoc. V úvode práce bolo nevyhnutné vymedziť a kategorizovať chyby, ktorých sa programátor môže dopustiť …more

Abstract

The aim of this thesis, realized in cooperation with Red Hat, is to design and implement a linter-like tool for BeakerLib-specific mistakes in tests which make use of the BeakerLib library. The tool builds upon code developed within the bkrdoc project. Initially, it was necessary to determine and categorize the possible coding mistakes. As the commands are well-defined, a lot of erroneous use can be …more

Thesis description
The goal of this thesis is to implement a lint-like tool for shell-based tests written using BeakerLib shell-level testing library. The tool is to be implemented in Python as an extension of the bkrdoc documentation generator for BeakerLib tests (which can be modified in the process if necessary). The student is expected to become familiar with methods for finding bug patterns in source code and with BeakerLib and brkdoc, analyze mistakes common in BeakerLib-based tests, and implement detection of these common mistakes in the newly created tool. The tool should be designed in such a way that it will be possible to extend it with new bug-detection rules. The detected coding mistakes should be categorized and these categories and mistakes should be documented. Finally, the tool should be evaluated, both on artificial examples built for testing of the tool and on real-world BeakerLib-based test cases.
The thesis has been checked:
22/1/2017 11:11, RNDr. Vladimír Štill, Ph.D., UČO 373979
Language used
English English
Defence date
16/2/2017
The thesis was defended successfully

Supervisor

RNDr. Vladimír Štill, Ph.D., UČO 373979
KTP FI MU

Reader

RNDr. Marek Chalupa, Ph.D.
KPSK FI MU

Consultant

Mgr. David Kutálek
Red Hat Czech

Masaryk University Faculty of Informatics
Programme
Applied Informatics
Field of Study
  • Přidání souboru

    Soubor nebo složku lze nahrát pomocí tlačítka Přidat.
  • Další operace se soubory

    Podrobnosti lze zjistit označením příslušného řádku.
  • Pohled pro experty

    Pro častou práci je možné zvolit režim Více možností.
  • Vyhledávání souborů

    Vyhledávaný výraz můžete zadat přímo do adresního řádku.
  • Rychlý přístup k souborům

    Pomocí funkce Nedávné je možné se rychle vrátit k právě prohlíženým souborům. Oblíbené soubory je také možné označit Hvězdičkou.