Original title:
Frameworky pro jednotkové testování v jazyce Scala
Translated title:
Frameworks for unit testing in Scala language
Authors:
Kolmistr, Tomáš ; Pavlíčková, Jarmila (advisor) ; Šlajchrt, Zbyněk (referee) Document type: Master’s theses
Year:
2015
Language:
cze Publisher:
Vysoká škola ekonomická v Praze Abstract:
[cze][eng] Tato práce se zabývá frameworky pro jednotkové testování v programovacím jazyce Scala. Celkem je v práci představeno pět frameworků, z čehož dva jsou určeny pro jednotkové testování s mock objekty a tři bez mock objektů. První, teoretická část práce má za cíl čtenáře seznámit s pojmy ohledně testování a s jazykem Scala. V další části si práce klade za cíl specifikovat kritéria pro vyběr samotných frameworků včetně kritérií pro jejich následné porovnání. V praktické části jsou na demonstrativní aplikaci napsány jednotkové testy dle testovacích scénářů a provedeno slovní porovnání všech frameworků.This thesis deals with frameworks for unit testing in Scala programming language. In total, there are presented five frameworks in the thesis, two of which are designed for unit testing with mock objekt and three without mock objects. The first, theoretical part aims to introduce concepts regarding testing and Scala programming language. In another part of the thesis there are specified criteria for selecting frameworks, including the criteria for subsequent comparison. In the practical part there are written unit tests according to test scenarios and evaluated the comparison of frameworks.
Keywords:
Scala; ScalaMock; ScalaTest; testing; unit testing; jednotkové testování; Scala; ScalaMock; ScalaTest; testování
Institution: University of Economics, Prague
(web)
Document availability information: Available in the digital repository of the University of Economics, Prague. Original record: http://www.vse.cz/vskp/eid/49322