The project will also look at problems and barriers that prevent developers from using unit testing during development of embedded software.ĥ Abstract This thesis addresses the challenges with unit testing of embedded software. Show that Unity and CMock is suitable as a framework for unit testing embedded software. The project will see if unit testing can reduce the number of errors before release of software, and that the work-hours used on testing can be reduced. Thus, it is essential to create mock objects or stub functions for all EFM32 modules, which allows the test instrumentation code to control exactly which response is given to the code-under-test (CUT), and also to capture the messages sent by the CUT in order to compare it with the expected behavior. The core problem is that the embedded code interacts with a number of peripherals on the microcontroller, which are not available when running the tests. 1 Embedded Unit Testing Framework Erik Bergersen Master of Science in Computer Science Submission date: June 2013 Supervisor: Tor Stålhane, IDI Co-supervisor: Øyvind Grotmol, Energy Micro Norwegian University of Science and Technology Department of Computer and Information Scienceģ Problem Description The aim of this project is to make it easy to do thorough unit testing of C/C++ code written for the EFM32 microcontrollers, by creating a testing framework.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |