Bakalářská práce
Získaná ocenění: Cena děkana FI za vynikající závěrečnou práci

Static Analyser for BeakerLib Tests

Zuzana Baranová
Anotace

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ť …více

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 …více

Zadání práce
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.
Práce zkontrolována:
22. 1. 2017 11:11, RNDr. Vladimír Štill, Ph.D., učo 373979
Jazyk práce
angličtina angličtina
Termín obhajoby
16. 2. 2017
Práce byla úspěšně obhájena

Vedoucí

RNDr. Vladimír Štill, Ph.D., učo 373979
KTP FI MU

Oponent

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

Konzultant

Mgr. David Kutálek
Red Hat Czech

  • 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.