liu.seSearch for publications in DiVA
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • oxford
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Automated Software Testing Using Pytest
Linköping University, Department of Electrical Engineering, Electronics and Computer Engineering.
Linköping University, Department of Electrical Engineering, Electronics and Computer Engineering.
2025 (English)Independent thesis Basic level (university diploma), 14 HE creditsStudent 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
Available from: 2025-06-19 Created: 2025-06-17 Last updated: 2025-06-19Bibliographically approved

Open Access in DiVA

fulltext(2343 kB)820 downloads
File information
File name FULLTEXT01.pdfFile size 2343 kBChecksum SHA-512
f944e3338f306e87906437f3184864dd8d41747765eb7fe9e6fdc68a7c518fa8c193f180057779824e71efded9c240d642709996df83db365e8cd5e50d38c6dd
Type fulltextMimetype application/pdf

By organisation
Electronics and Computer Engineering
Other Electrical Engineering, Electronic Engineering, Information Engineering

Search outside of DiVA

GoogleGoogle Scholar
Total: 823 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 430 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • oxford
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf