임베디드 소프트웨어의 단위 테스팅을 위한 로그 기반 테스팅 프레임워크 개발
Development of Log-Based Testing Framework for Unit Testing of Embedded Software
0
조회
0
다운로드
0
인용
0
참고문헌
키워드
초록
최근 사물인터넷 서비스가 점차 보편화되면서 사물인터넷에 사용되는 임베디드 시스템의 신뢰성 및 안전성 이슈가 부각되고 있다. 사물인터넷 시스템 등과 같은 임베디드 시스템 개발의 경우, 개발과정에서 소프트웨어 가상 수행환경을 구축하는 것이 쉽지 않아 단위테스트를 거의 수행하지 않고 있어 기능 신뢰성을 보장하기 어려운 실정이다. 이 연구에서는 실제 플랜트 환경에서 로그 기반 단위테스트 수행방법을 제안한다. 실제 시나리오 수행과정에서 함수별 수행경로를 고려하여 중복된 수행로그를 제거하여 저장되는 로그를 최소화하고 나중에 대표 수행경로만을분석하여 단위테스트를 진행하는 방식이다. 제안된 방식은 시스템 테스트를 진행하는 과정에서 로그 기반 단위테스트를 효율적으로 수행할 수있는 장점이 있다.
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.
참고문헌 (14)
- Adams, Jack A, "closed-loop theory of motor learning", Journal of motor behavior, 3(2), pp.111~150 (1971)
- Riley, Patrick F., "Next generation modeling III - agents: Spades - a distributed agent simulation environment with software-in-the-loop execution", Proceedings of the 35th conference on Winter simulation:driving innovation (2003)
- Wang, G. Gary, "Definition and review of virtual prototyping", Journal of Computing and Information Science in engineering, 232(236) (2002)
- 류호동, "가상 프로토타입 기반 임베디드 소프트웨어의 테스트 기법", 대한임베디드공학회논문지, 9(6), pp.307~314 (2014), 대한임베디드공학회[DOI]
- Short Michael, "Hardware in the loop simulation of embedded automotive control system", Intelligent Transportation Systems (2005)
- Elyasov Alexander, "Log-based testing", Proceedings of the 2012 International Conference on Software Engineering (2012)
- Andrews, James H., "Testing using log file analysis: tools, methods, and issues", Proceedings of 13th IEEE International Conference on Automated Software Engineering (1998)
- Dan Tu, "A Method of Log File Analysis for Test Oracle", Proceedings of Eighth International Conference on Embedded Computing Scalable Computing and Communications (2009)
- Laddad Ramnivas, "AspectJ in action : enterprise AOP with spring applications" (2009), Manning Publications Co.
- "Control Flow Graph Factory"[URL]
- Arthur H. Watson, "Structured Testing: A Testing Methodology Using the Cyclomatic Complexity Metric", pp.500~235 (1996), NIST Special Publication
- "The GraphML File Format"[URL]
- "BBC News Reader"[URL]
- "Tomdroid"[URL]
