Testování integrací client-server
Testing of client-server integrations
Typ dokumentu
diplomová prácemaster thesis
Autor
Markacz Tomáš
Vedoucí práce
Žára Ondřej
Oponent práce
Štekl Martin
Studijní obor
Softwarové inženýrstvíStudijní program
Otevřená informatikaInstituce přidělující hodnost
katedra počítačůPráva
A university thesis is a work protected by the Copyright Act. Extracts, copies and transcripts of the thesis are allowed for personal use only and at one?s own expense. The use of thesis should be in compliance with the Copyright Act http://www.mkcr.cz/assets/autorske-pravo/01-3982006.pdf and the citation ethics http://knihovny.cvut.cz/vychova/vskp.htmlVysokoškolská závěrečná práce je dílo chráněné autorským zákonem. Je možné pořizovat z něj na své náklady a pro svoji osobní potřebu výpisy, opisy a rozmnoženiny. Jeho využití musí být v souladu s autorským zákonem http://www.mkcr.cz/assets/autorske-pravo/01-3982006.pdf a citační etikou http://knihovny.cvut.cz/vychova/vskp.html
Metadata
Zobrazit celý záznamAbstrakt
Hlavním cílem této práce je popsat, jakými způsoby lze provádět testování integrací client-server. Práce se zaměřuje především na prostředí mobilních a webových aplikací. Součástí je také návrh nového způsobu testování integrací client-server a realizace nástroje, který tento způsob testování umožňuje. Práce se zaměřuje na tři existující způsoby testování -- Mock testing, Consumer-Driver Contracts testing a End-to-end testing. Je také navržen nový způsob synchronizovaného testování. Na základě shromážděných zdrojů jsou tyto způsoby charakterizovány, rozděleny do dvou skupin a detailněji popsány. Dále jsou způsoby porovnány pomocí šesti kritérií a výsledky zaneseny do tabulky. K existujícím způsobům testování jsou navrženy vhodné testovací nástroje. Tyto nástroje jsou v práci posány, je demostrováno jejich použití a shrnuty výhody a nevýhody. Výsledkem praktické části této diplomové práce je funkční implementace nástroje, který umožňuje testování integrací client-server podle návrženého způsobu testování. Vytvořený nástroj lze použít pro přímé testování integrace webové aplikace napsané v JavaScriptu a webového serveru využívajícího Node.js. Tato práce přináší ucelený zdroj informací zabívající se problematikou testování integrací client-server. Navržený způsob testování je chybějící alternativou, k již existujícím způsobům. Zavedení tohoto způsobu testování do praxe je podpořeno nástrojem, který vznikl v rámci praktické části této práce. The main goal of this thesis is to describe different approaches to client-server integration testing. The thesis' main focus are mobile and web applications. It also includes design of new approach to client-server integration testing and implementation of a tool which uses this testing approach. The thesis deals with three existing testing approaches -- Mock testing, Consumer-Driver Contracts testing and End-to-end testing. A new way of synchronized testing is also proposed. Based on the collected resources, these approaches are characterized, divided into two groups and described in more detail. All these approaches are compared using six criteria and the results are presented in a table. Appropriate testing tools are proposed for each of existing test approaches. These tools are described, examples of their use are shown, and their advantages and disadvantages are summarized. The result of the practical part of this thesis is functional implementation of a tool that allows testing the client-server integration according to the proposed testing approach. The created tool can be used to test direct integration of web application written in JavaScript and web server powered by Node.js. This thesis brings a comprehensive source of information covering the topic of client-server integration testing. The proposed test approach is the missing alternative to the existing ones. The practical application of this test approach is supported by the tool created in the practical part of this thesis.
Kolekce
- Diplomové práce - 13136 [892]