Automated Software Testing Using Pytest
2025 (English)Independent thesis Basic level (university diploma), 14 HE credits
Student thesis
Abstract [en]
In the automotive industry, the development of advanced safety systems is crucial to improve customer safety and maintain market competitiveness. With the rapid advancements in the automotive industry, more safety systems are introduced. With more technology being integrated into cars, there is an increased focus on both software and hardware. Therefore, these components need to be thoroughly tested.\\
This thesis aims to develop an automated software testing framework to improve the reliability and efficiency of a software testing tool that is responsible for testing newly developed hardware. The research explores two different software testing methods. The first method utilizes the unit testing method using the built-in testing tool in winIDEA, which showed promising results for testing simple functions but failed to handle more complex cases. The second method involves the development of a software testing framework using the system test method together with the Pytest package in Python. A lot of time was allocated to developing a robust testing framework, so additional tests would be easy to implement at a later stage. In addition to this framework, two test modules were successfully developed to evaluate the temperature and Ethernet communication on the Micro Controller Unit (MCU). An additional module was planned, but due to time constraints, it was not finished in time.
Place, publisher, year, edition, pages
2025. , p. 30
Keywords [en]
Testing, Pytest, System test, Unit test, Testing framework, embedded systems
National Category
Other Electrical Engineering, Electronic Engineering, Information Engineering
Identifiers
URN: urn:nbn:se:liu:diva-215034ISRN: LiTH-ISY-EX-ET--25/0538--SEOAI: oai:DiVA.org:liu-215034DiVA, id: diva2:1971591
External cooperation
Magna
Subject / course
Integrated Circuits and Systems
Presentation
2025-06-11, Nollstället, Linköping, 15:15 (English)
Supervisors
Examiners
2025-06-192025-06-172025-06-19Bibliographically approved