Browse > Article
http://dx.doi.org/10.3745/KTSDE.2015.4.9.419

Development of Log-Based Testing Framework for Unit Testing of Embedded Software  

Ryu, Hodong (LG전자)
Jeong, Sooyong (경북대학교 컴퓨터학부)
Lee, Woo Jin (경북대학교 컴퓨터학부)
Kim, Hwangsoo (경북대학교 컴퓨터학부)
Publication Information
KIPS Transactions on Software and Data Engineering / v.4, no.9, 2015 , pp. 419-424 More about this Journal
Abstract
As Internet of Things (IoT) is recently serviced in several fields, the reliability and safety issues for IoT embedded systems are emerged. During the development of embedded systems, it is not easy to build the virtual execution environment and to test the developing version. Therefore, it is difficult to ensure its reliability due to lack of unit testing. 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. And, according to execution paths, duplicated logs are eliminated to keep a minimal log size. As a result, during system testing, testers can efficiently decide whether the executed paths of each function are correctly performed or not.
Keywords
Log-based Testing; Unit Testing; Embedded Software; Execution Path Analysis;
Citations & Related Records
연도 인용수 순위
  • Reference
1 Adams, Jack A, "A closed-loop theory of motor learning," Journal of motor behavior, Vol.3, No.2, pp.111-150, 1971.   DOI
2 Riley, Patrick F., and George F. Riley, "Next generation modeling III - agents: Spades - a distributed agent simulation environment with software-in-the-loop execution," in Proceedings of the 35th conference on Winter simulation: driving innovation, 2003.
3 Wang, G. Gary, "Definition and review of virtual prototyping," Journal of Computing and Information Science in engineering, pp.232-236, 2002.
4 Hodong Ryu, et al., "A Testing Technique based on Virtual Prototype for Embedded Software," Journal of Institute of Embedded Engineering of Korea, Vol.9, No.6, pp.1-9, 2014.
5 Short Michael and Michael J. Pont, "Hardware in the loop simulation of embedded automotive control system," Intelligent Transportation Systems, 2005.
6 Elyasov Alexander, "Log-based testing," in Proceedings of the 2012 International Conference on Software Engineering, 2012.
7 Andrews, James H., "Testing using log file analysis: tools, methods, and issues," in Proceedings of 13th IEEE International Conference on Automated Software Engineering, 1998.
8 Dan Tu, Rong Chen, Zhenjun Du, and Yaqing Liu, "A Method of Log File Analysis for Test Oracle," in Proceedings of Eighth International Conference on Embedded Computing Scalable Computing and Communications, 2009.
9 Laddad Ramnivas, "AspectJ in action: enterprise AOP with spring applications," Manning Publications Co., 2009.
10 Dr. Garbage, Control Flow Graph Factory [Internet], http://ww.drgarbage.com/control-flow-graph-factory.html.
11 Arthur H. Watson and Thomas J. McCabe, "Structured Testing: A Testing Methodology Using the Cyclomatic Complexity Metric," NIST Special Publication 500-235, 1996.
12 GraphML, The GraphML File Format [Internet], http://raphml.graphdrawing.org.
13 BBC News Reader [Internet], https://github.com/oscarkey/BBC-News-Reader.
14 Tomdroid [Internet], https://launchpad.net/tomdroid/stable.