Original title:
Framework pro automatizované testování MCUXpresso Config Tools
Translated title:
Testing Framework for Automatic Tests of MCUXpresso Config Tools
Authors:
Dubovský, Tomáš ; Strnadel, Josef (referee) ; Crha, Adam (advisor) Document type: Bachelor's theses
Year:
2019
Language:
cze Publisher:
Vysoké učení technické v Brně. Fakulta informačních technologií Abstract:
[cze][eng]
Cílem této práce bylo analyzovat stávající řešení frameworku pro testování MCUXpresso Config Tools, dále navrhnout a implementovat různé možnosti optimalizace, které povedou ke zvýšení efektivity testování. Na základě profilování stávajícího řešení byly navrhnuty a implementovány tři způsoby optimalizace. Prvním je sjednocení spouštění externích aplikací pod nový modul runner. Druhým je implementace souběžnosti v jazyce Python za pomocí multiprocessingu, multithreadingu a asyncio, následné porovnání jednotlivých metod a výběru nejvhodnější z nich. Třetím je implementace podpory zřetězeného zadávání příkazů řádkového rozhraní v MCUXpresso Config Tools.
The aim of this thesis was to analyze the existing solution of the MCUXpresso Config Tools testing framework, to design and implement various optimization options that will lead to increased testing efficiency. Three ways of optimization have been designed and implemented based on profiling of the existing solution. The first is to unify the launch of external applications under the new module runner. The second is implementing concurrency in Python using multiprocessing, multithreading, and asyncio, then comparing each method and selecting the most appropriate one. The third is the implementation of support for chained entry of commands in commands line interface in MCUXpresso Config Tools.
Keywords:
asyncio; MCUXpresso Config Tools; multiprocessing; multithreading; OOP; optimization; python; testing; asyncio; MCUXpresso Config Tools; multiprocessing; multithreading; OOP; optimalizace; python; testování
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/180282