TestNG 6发布

http://www.infoq.com/news/2011/03/testng-60

 

Cédric Beust 发布了 TestNG 6.0 , 包含对 Eclipse TestNG plug-in 的改进。

 

本次发次包含两个重要的特性,可以像 使用XML一样使用YAML 来指定 test suite。 JSON was considered but YAML won out on not having to specify "" for string values and to be aimed for human, rather than computer, consumption. Both formats are more suitable for copy/paste lines, which don't involve specifying opening/closing tags, or commenting without having to use XML's <!-- and --> delimiters.

 

另外添加了对 Guice 的支持,用于提供实例注入。

The other key addition is that of Guice , which performs instance injection. Guice is a cut-down dependency injection framework, which supports the JSR-330 @Inject for configuring instances to be supplied at run-time. More information is available in the documentation .

To make it easy wanting to upgrade from JUnit 3.x and 4.x, the Eclipse plug-in provides a way of converting from JUnit tests to TestNG tests. In addition, the Eclipse plug-in also facilitates converting from the XML format to the newer YAML format. The Eclipse plug-in can be updated using the update site and doing “check for updates”.

RelatedVendor Content

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值