With the rapid development in the area of industry, real time system has become an important part of the industrial field, the system which is used in a number of the key area such as aerospace, military, automotive, and nuclear industry not only implement the basic functionality but also ensure that the functionality has completed within the given time, otherwise it will cause very serious disaster. Therefore, it is necessary to test the functionality as well as to test that whether the functionality is completed within the given time for testing a real-time system.TTCN-3is a standard test specification language which is standardized by European Telecommunications Standards Institute. Typical areas of application are system testing, interoperability testing, protocol testing, service testing and module testing, etc. ETSI has released a new standards document of TTCN-3test language extension of TTCN-3Performance and Real Time Testing in July2010. The new document adds five key words to support the real-time testing and define the TRI to realize the key words.Based on the T3RTS implemented at A0stage of Go4IT project, this thesis presents the design and implementation of the functions supporting real time testing on the basis of the new extension document of TTCN-3standard. This thesis realize the test system clock of creating, starting, reading and setting the clock accuracy, and implement the port and message which is used in a real time test system. Due to the fact that there are interactions between ETS and T3RTS and the interactions between T3RTS and PA during the execution of real time test operation, the interface inside TE that T3RTS and ETS interact through are designed and implemented in this thesis, and the T3RTS and PA interact with each other through TRI specified by TRI standard, and illuminate the interactive sequence of the new key word in the real time test system with the implemented TE interface. Finally, this thesis introduces a test suite of the car light response system to illuminate the rationality of the interface inside TE for real time testing. |