Developing Test Automation for Haltian's RADAR Sensor
Latvala, Eliel (2024)
Latvala, Eliel
2024
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-2024060219762
https://urn.fi/URN:NBN:fi:amk-2024060219762
Tiivistelmä
The aim of this thesis was to develop test automation for Haltian’s IoT device called RADAR. Haltian is a Finnish company that specializes in the development of IoT solutions and provides product development services. RADAR is a weatherproof IoT device that is used for monitoring parking lot occupancy and capable of accurate distance measurement. The device has numerous configuration settings that can be changed via JSON commands and those settings and message functionalities must be verified after every firmware update of RADAR. The test automation developed in this thesis automates the process of verifying RADAR's default settings.
The work involved getting acquainted with the device by initially conducting manual testing, followed by the development of test automation using Python and Pytest framework. Haltian's existing test libraries were utilized in the tests. Throughout the process, a total of 14 test functions were created, but due to running these functions with multiple different parameters, a total of 82 tests were executed.
As a result, there is a working test automation now used in regression testing of RADAR. This has helped Haltian by reducing the need for manual testing conducted on RADAR, freeing up human resources for other tasks. The test automation could be further developed because the current version only verifies that the default configurations of the device is correct. In the future, the automation could be expanded to also ensure the functionality of changing settings.
The work involved getting acquainted with the device by initially conducting manual testing, followed by the development of test automation using Python and Pytest framework. Haltian's existing test libraries were utilized in the tests. Throughout the process, a total of 14 test functions were created, but due to running these functions with multiple different parameters, a total of 82 tests were executed.
As a result, there is a working test automation now used in regression testing of RADAR. This has helped Haltian by reducing the need for manual testing conducted on RADAR, freeing up human resources for other tasks. The test automation could be further developed because the current version only verifies that the default configurations of the device is correct. In the future, the automation could be expanded to also ensure the functionality of changing settings.