For assuring the reliability of embedded software, it is necessary to rigorously perform unit testing and system testing of embedded software before deploying it on its plants. For executing embedded software, software should be in a closed loop with ...
For assuring the reliability of embedded software, it is necessary to rigorously perform unit testing and system testing of embedded software before deploying it on its plants. For executing embedded software, software should be in a closed loop with its operating environment by tightly connecting hardware devices. However, testing techniques for embedded software have many constraints and difficulty such as configuration of software-in-the-loop or hardware-in-the-loop environment instead of real plants. In this paper, we propose a log-based unit testing framework for embedded software, which performs on real target board by extracting information of function execution with minimal probes. According to execution paths, duplicated logs are eliminated to keep a minimal log size. As a result, testers can efficiently decide whether the executed paths of each function are correctly performed or not. Also, we suppose a method of test coverage measurement based on BitTorrent for distributed devices. It has cooperation features among homogeneous devices with avoiding the overlapping on each part of whole test process.