新闻资讯
基于TTCN-3嵌入式系统测试

                                      ----Testing of Embedded Applications

嵌入式系统(embedded system )是大型系统中用于特殊控制功能的计算机系统,嵌入式系统通常有实时计算的限制要求。测试基于软件的嵌入式系统变得越来越复杂。在嵌入式系统测试中,非功能性要求,尤其是时间相关的输入输出行为需要考虑。恰当的标准化的解决方案需要有灵活性,可重用性及抽象性的特点。在汽车工业领域,汽车电子嵌入式系统的测试采用TTCN-3来实现,比如AUTOSAR。本文探讨基于TTCN-3和TTworkbench的嵌入式系统测试方法。

 General Questions

What is tested?

  •   Software APIs?
  •   Communication behaviour?

What type of flexibility is required in the test scenarios? How are the test described?

  •    Single flow of execution?
  • Reaction on alternative behaviour?

How are the results stored, exported, fedback?

Online? Off-Line?

Storage?

How can the test system interact with the embedded application?

  • Download of an instrumented binary?
  • Possibility to communicate with the external world via

Build-in interfaces?

Additional (test) interfaces?

How can the impact of the test system to the embedded application be minimized?

  •   Every modification, enhancement modifies the characteristics of the embedded system. What is the best approach?

 

TTworkbench in Embedded Applications 

 

TTworkbench Applicability 

Host-based execution

1.        Small footprint on ECU

l        Light-weight communication

l        Standardized TRI implementation

TRIDatagram

*        Various channels usable

l        Least impact on SUT

l        Ready for new TTCN-3 features

*        TTCN-3 RT

l        Using the full power of TTworkbench for specification,execution and result analysis

Target-based execution

l        Heavy footprint of a fullfledged TTCN-3environment

l        Prototypical

implementation for selected RT features available

*        FreeRTOS

*        RTAI Linux

*        Features as kernel modules 

Summary

*        Most testing questions can be addressed with a hostbased test execution.

*        Minimal influence of the test system on the ECU motivates the selection.

*        TriDatagramm is a very flexible yet standardized way toimplement host-based test execution.

*        All language features of TTCN-3 can be used.

*        Testing Technologies recommends an evaluation of a host-based test execution in the first place

     

北京泰斯汀通信技术有限公司
TEL:010-56497908 FAX:010-56497908
Copyright 2014.Testing 天润顺腾提供技术支持