TestNG 6发布 EclipsejunitjsonXMLC
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
推荐阅读
-
GDDR6显存什么时候发布?GDDR6显存发布时间
-
联发科发布笔记本芯片MT8195/MT8192:6nm工艺、全球首发A78
-
谷歌发布Android Q GSI镜像:小米9/一加6T可刷
-
魅族Flyme 7.3稳定版发布:6大新功能 4款机型尝鲜
-
DxO前置第一 华硕ZenFone 6三十周年纪念版发布
-
中国移动发布首款Wi-Fi 6路由器:可同时连接512个设备
-
苹果发布iOS 13 Beta 6公测版:普通用户可升级
-
5万毫安时!南孚户外移动电源发布:6小时就能充满
-
飞利浦发布4K专业显示器328P6VU:自带千兆网卡
-
NVIDIA Super笔记本显卡曝光:明年1月发布、全面普及GDDR6显存