Unit Testing for the AUTOSAR Software Component

AUTOSAR 소프트웨어 컴포넌트의 유닛 테스트 방법

  • 금대현 (대구경북과학기술원 미래산업융합기술연구부) ;
  • 이성훈 (대구경북과학기술원 미래산업융합기술연구부) ;
  • 박광민 (대구경북과학기술원 미래산업융합기술연구부) ;
  • 손병점 (대구경북과학기술원 미래산업융합기술연구부)
  • Received : 2010.08.18
  • Accepted : 2010.09.16
  • Published : 2010.11.15

Abstract

AUTOSAR, a standard software platform for automotive, has been developed to manage software complexity and improve software reuseability. However Automated and standardized testing is needed to improve reliability and reduce time and effort on testing. Fundamental functionality of AUTOSAR RTE and basic software modules is guaranteed by using an AUTOSAR tool, but application software components have to be tested thoroughly. In this paper, we suggest a test system for the AUTOSAR software component using TTCN-3, a standardized testing language. Test execution system and test cases for the software component are generated automatically from AUTOSAR XML containing software design information. With the proposed testing techniques we can reduce time and effort to build the testing system.

최근 세계 자동차 업계는 AUTOSAR 소프트웨어 플랫폼 표준을 제정하여 소프트웨어의 신뢰성과 재사용성을 향상키고 있다. 그러나 테스트 시스템 및 테스트 프로세스의 신뢰성 확보와 테스트에 소요되는 기간 단축을 위하여 테스트의 표준화 및 자동화가 절실하다. 특히 RTE 및 베이직 소프트웨어 모듈은 표준화를 만족하는 설계 도구를 사용함으로써 최소한의 신뢰성이 보장되지만, 여전히 응용 소프트웨어 컴포넌트에 대해서는 철저한 테스트가 필요하다. 본 논문에서는 표준화된 AUTOSAR 설계 정보를 이용하여 소프트웨어 컴포넌트의 유닛 테스트를 위한 테스트 시스템의 생성 및 테스트 케이스 생성 자동화 방법을 제안하였으며, 테스트 시스템은 TTCN-3 테스트 표준을 적용하였다. 본 논문에서 제안한 방법을 적용함으로써 차량 소프트웨어의 개발 기간 단축 및 신뢰성을 향상시킬 수 있었다.

Keywords

References

  1. D. Kuru, J. Son , J. Son and M. Kim, "Automotive Embedded System Software Development and Validation with AUTOSAR and Model-based Approach," Journal of Control, Automation, and System Engineering, vol.13, no.12, pp.1179-1185, 2007. (in korean) https://doi.org/10.5302/J.ICROS.2007.13.12.1179
  2. R. Baillargeon and R. Flores, "Model Driven Testing," SAE World Congress, 2008.
  3. J. Grabowski, D. Hogrefe, G. Rethy, I. Schieferdecker, A. Wiles and C. Willcock, "An Introduction to the testing and test control notation (TTCN-3)," Computer Networks 42, pp.375-403, 2003. https://doi.org/10.1016/S1389-1286(03)00249-4
  4. A. Gilberg, "AUTOSAR Conformance Testing using TTCN-3," TTCN-3 User Conference 2009, 2009.
  5. J. GroBmann, I. Schieferdecker, "Mapping AUTOSAR Interfaces to TTCN-3," TTCN-3 User Conference 2009, 2009.
  6. M. Conard, and A. Krupp, "An Extension of the Classification-Tree Method for Embedded Systems for the Description of Events," Electronic Notes in Theoretical Computer Science, vol.164, no.4, pp. 3-11, 2006. https://doi.org/10.1016/j.entcs.2006.09.002
  7. K. C. Tai and Y. Lie, "A Test Generation Strategy for Pairwise Testing," IEEE Transactions on Software Engineering, vol.28, no.1, pp.109-111, 2002. https://doi.org/10.1109/32.979992
  8. A Mjeda, P. McElligott, K. Ryan and S. Thiel, "Model-Based Testing Design for Embedded Automotive Software," SAE World Congress, 2009.