Building a Test Automation Suite for an Automated Ventilation Control System
Crockford-Härkönen, Elizabeth (2022)
Crockford-Härkönen, Elizabeth
2022
All rights reserved. This publication is copyrighted. You may download, display and print it for Your own personal use. Commercial use is prohibited.
Julkaisun pysyvä osoite on
https://urn.fi/URN:NBN:fi:amk-2022052612206
https://urn.fi/URN:NBN:fi:amk-2022052612206
Tiivistelmä
The aim of this project is to create a test automation suite for an automated ventilation system used in the course project for the Embedded Systems Programming course. The test suite is to be written in Robot Framework and is supported by libraries written in Python. The test suite is then run from a container hosted in Docker. The components being tested are the commands received over MQTT, which are part of the wireless control interface, and the commands received over UART using a USB connection.
The test cases verify the commands sent over MQTT and USB, and ensure the functionality of both the manual and automatic control modes, which are part of the program written by student groups for the Embedded Systems Programming course project. The automatic mode adjusts the fan speed to maintain a steady air pressure, and the manual mode sets a certain fan speed. The test cases ensure that the air pressure remains constant in the automatic control mode, and that the fan speed does not change in the manual control mode.
The primary aims of this thesis project were achieved, with some developments left for future expansion. Certain challenges pertaining to the library function and documentation, as well as achieving communication to the various devices, required overcoming. This was also achieved by the end of this thesis project.
The test cases verify the commands sent over MQTT and USB, and ensure the functionality of both the manual and automatic control modes, which are part of the program written by student groups for the Embedded Systems Programming course project. The automatic mode adjusts the fan speed to maintain a steady air pressure, and the manual mode sets a certain fan speed. The test cases ensure that the air pressure remains constant in the automatic control mode, and that the fan speed does not change in the manual control mode.
The primary aims of this thesis project were achieved, with some developments left for future expansion. Certain challenges pertaining to the library function and documentation, as well as achieving communication to the various devices, required overcoming. This was also achieved by the end of this thesis project.