标准摘要
[中文适用范围]: ISO/IEC 9646 的这一部分为 OSI 一致性测试套件定义了一种非正式的测试符号,称为树形和表格组合符号 (TTCN),它独立于测试方法、层和协议,反映了定义的抽象测试方法ISO/IEC 9646-1 和 ISO/IEC 9646-2。 2 它还规定了在一项或多项 OSI 标准的系统独立一致性测试套件规范中使用 TTCN 的要求并提供指导。 它规定了两种表示法:一种是人类可读的形式,适用于 OSI 协议一致性测试套件标准的制作;另一种是机器可处理的形式,适用于计算机系统内部和计算机系统之间的处理。 3 ISO/IEC 9646的本部分适用于可以用协议数据单元和抽象服务原语的控制和观察来抽象表达的一致性测试用例的规范。 然而,对于某些协议,可能需要无法用这些术语表达的测试用例。 此类测试用例的规范超出了 ISO/IEC 9646 本部分的范围,尽管这些测试用例可能需要包含在一致性测试套件标准中。 例如,与应用程序服务相关的一些静态一致性要求可能需要特定于该特定应用程序的测试技术。 并行运行多个行为描述的测试用例规范由并发特性处理(特别是涉及测试组件和测试组件配置的定义)。 4 ISO/IEC 9646 的这一部分规定了测试套件标准可以指定有关测试套件的一致性实现的要求,包括 TTCN 测试套件的操作语义。 5 ISO/IEC 9646 的本部分适用于 OSI 第 2 层至第 7 层中 OSI 协议的一致性测试套件规范,特别包括基于抽象语法表示法一 (ASN.1) 的协议。 以下内容超出了 ISO/IEC 9646 本部分的范围: a) 物理层协议一致性测试套件的规范; b) TTCN 与形式化描述技术之间的关系; c) 从抽象测试套件实现可执行测试套件(ETS)的方法。 6 ISO/IEC 9646 的这一部分定义了在抽象测试用例规范中使用并发性的机制。 TTCN 中的并发适用于以下测试用例的规范: a) 在多方测试环境中; b) 在单方或多方测试环境中处理复用和解复用; c) 在单方或多方测试环境中处理拆分和重组; d) 在单方测试环境中,当 IUT 处理的协议或协议集的复杂性使得并发可以简化测试用例的规范时。 定义 7 个 TTCN 模块以允许在测试套件之间共享通用 TTCN 规范。 [外文原描述]: 1.1 This part of l[SO/lEC 9646 defines an informal test notation, called the Tree and Tabular Combined Notation (TTCN), for OS1 conformance test suites, which is independent of test methods, layers and protocols, and which reflects the abstract testing methodology defined in ISO/IEC 9646-l and ISWIEC 9646-2. 1.2 It also specifies requirements and provides guidance for using TTCN in the specification of system-independent conformance test suites for one or more OS1 standards. It specifies two forms of the notation: one, a human-readable form, applicable to the production of conformance test suite standards for OS1 protocols; and the other, a machine-processable form, applicable to processing within and between computer systems. 1.3 This part of ISO/IEC 9646 applies to the specification of conformance test cases which can be expressed abstractly in terms of control and observation of protocol data units and abstract service primitives. Nevertheless, for some protocols, test cases may be needed which cannot be expressed in these terms. The specification of such test cases is outside the scope of this part of ISO/IEC 9646, although those test cases may need to be included in a conformance test suite standard. For example. some static conformance requirements related to an application service may require testing techniques which are specific to that particular application. The specification of test cases in which more than one behavior description is to be run in parallel is dealt with by the concurrency features (particularly involving the definition of Test Components and Test Component Configurations). 1.4 This part of ISO/IEC 9646 specifies requirements on what a test suite standard may specify about a conforming realization of the test suite, including the operational semantics of TTCN test suites. 1.5 This part of ISO/IEC 9646 applies to the specification of conformance test suites for OS1 protocols in OS1 layers 2 to 7, specifically including Abstract Syntax Notation One (ASN. 1) based protocols. The following are outside the scope of this part of ISOIIEC 9646: a) the specification of conformance test suites for Physical layer protocols; b) the relationship between TTCN and formal description techniques; c) the means of realization of executable test suites (ETS) from abstract test suites. 1.6 This part of ISO/IEC 9646 defines mechanisms for using concurrency in the specification of abstract test cases. Concurrency in TTCN is applicable to the specification of test cases: a) in a multi-party testing context; b) which handle multiplexing and demultiplexing in either a single-party or multi-party testing context; c) which handle splitting and recombining in either a single-party or multi-party testing context; d) in a single-party testing context when the complexity of the protocol or set of protocols handled by the IUT is such that concurrency can simplify the specification of the test case 1.7 TTCN modules are defined to allow sharing of common TTCN specifications between test suites.
英文名称Information technology - Open Systems Interconnection - Conformance testing methodology and framework - Part 3: The Tree and Tabular Combined Notation (TTCN)