TTCN-3初探

TTCN-3初探

        印象中TTCN多用于电信系统的测试。其实TTCN全称是 Testing and Test Control Notation ,是一种用于协议与软件测试的标准化测试语言,目前最新版本是3.0。

        如果我现在去读研究生,想必会在这个领域研究一把。因为很明显,它在软件测试标准化、测试自动化等方面具备很大的挖掘潜力。

        Formal conformance testing with the Testing and Test Control Notation (TTCN-3) is gaining popularity both inside and outside the traditional telecoms domain. This renewed interest is partly because TTCN-3 is the only international standardized test specification and implementation language defined by ETSI and ITU-T. TTCN-3 guarantees highest flexibility in designing and maintaining test software on a standards level.

        Telelogic的TTCN Suite和Telelogic Tester就是基于TTCN的测试工具:

        Telelogic TTCN Suite?, the de facto standard environment for compliance testing of communicating systems, is used worldwide to test telecom and datacom equipment ranging from built-in communication chips to huge switches and intelligent network services. The test script language of Telelogic TTCN Suite, TTCN-2, is a widespread, dedicated test programming language for compliance testing and is standardized by ETSI and ISO.

        Telelogic Tester? is a TTCN 3-based software testing solution for systems testing and integration testing of the software development lifecycle.

Because Tester provides off-the-shelf automated testing, manual error-prone processes, and in-house solutions can be eliminated - so you can dramatically increase productivity. This means that tests can be executed quickly and repeatedly so you can test early - when problems are easier and cheaper to fix - You can test often, enabling you to easily maximize application quality. Tester supports the software test lifecycle from test design through to development, analysis, execution, and debugging from a single desktop with a shared, familiar studio interface.

       Telelogic Tester benefits you by:Accelerating your test development process with packaged, editable test cases and built-in test debugging ;Ensuring compliance by running tests against published standards ;Enhancing test collaboration between test team members, developers, and outsourcing suppliers

TTCN-3标准化官方网站:

http://www.ttcn-3.org/home.htm

使用TTCN的7大理由?

1、TTCN-3 is easy to learn

2、It has been designed for testing

3、It is internationally standardized

4、Off-the-shelf tools and test systems are readily available

5、It is an extremely flexible testing technology

6、It can be used in many types of testing

7、It is has passed the test of time

TTCN-3测试语言的一个例子:

testcase TC_resolveEtsiWww() runs on DnsClient 
{
 timer t_ack;
 serverPort.send(m_dnsQuestion("www.etsi.org"));
 t_ack.start(1.0);
 alt {
  [] serverPort.receive(mw_dnsAnswer("172.26.1.17")) {
     setverdict (pass);
     }
  [] serverPort.receive { // any other message
      setverdict(fail);
     }
  [] t_ack.timeout {
      setverdict(inconc);
     }
 }
 t_ack.stop; 
}

[本文转至]:http://blog.csdn.net/testing_is_believing/article/details/2874911

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值