阅读更多

11顶
1踩

编程语言

翻译新闻 TestNG 5.9 发布!

2009-04-05 10:50 by 正式编辑 hantsy 评论(5) 有6098人浏览

大家好,

我很自豪的宣布TestNG 5.9 发布了。(TestNG是一个设计用来简化广泛的测试需求的测试框架,从单元测试(隔离测试一个类)到集成测试(测试由有多个类多个包甚至多个外部框架组成的整个系统,例如运用服务器)。) 从变更列表中你可以看到,这次发布版本包含一些bug修复,同时也包含一些新特性。非常感谢你们,提交patch及修复的每个人。我将你人名字加入到了变更列表中,我希望铭记每个人。

 

Eclipse 插件更新了最新的jar,但没有带来什么新特性。你可以从http://testng.org/eclipse 进行更新。

 

请告诉你在新版本中发现的任何问题。

 

PS:原标题中写的是annouce 5.0,应该是5.9

 

 

 

 

Hello everyone,

I'm happy to announce the release of TestNG 5.9.  As you can see from the change list below, this new release contains a lot of fixes and a few new features as well.  Special thanks go to all of you who contributed patches and fixes.  I did my best to preserve your name in the change list, I hope I didn't forget anyone.

The Eclipse plug-in has also been updated with the new jar file but doesn't contain any noteworthy new feature.  You can update it from the usual place (http://testng.org/eclipse).

Please let me know if you fid any problems with this new version.

http://testng.org/doc/download.html

5.9

Added: New ant task boolean flag: delegateCommandSystemProperties (Justin)
Added: skipfailedinvocations under <suite> in testng-1.0.dtd (Gael Marziou / Stevo Slavic)
Added: -testrunfactory on the command line and in the ant task (Vitalyi Pamajonkov)
Added: TESTNG-298: parallel="classes", which allows entire classes to be run in the same thread
Added: @BeforeMethod can now declare Object[] as a parameter, which will be filled by the parameters of the test method
Added: IAnnotationTransformer2
Added: @Test(invocationTimeOut), which lets you set a time out for the total time taken by invocationCount
Added: IInvokedMethodListener
Added: -testjar supports jar file with no testng.xml file
Fixed: IInvokedMethodListener wasn't properly recognized from the command line (Leonardo Rafaeli)
Fixed: TESTNG-309 Illegal default value for attribute in DTD file
Fixed: TESTNG-192: JUnit XML output includes wrong tests (Aleksandar Borojevic)
Fixed: Set a generated suite to default to non-parallel (Mark Derricutt)
Fixed: -testJar command line parsing bug
Fixed: testng-failed.xml didn't include the listeners
Fixed: annotation transformers were not run when specified in testng.xml
Fixed: TESTNG-192: JUnit XML output includes wrong tests (Borojevic)
Fixed: @Parameters was not working correctly on @BeforeMethods with @DataProvider used on @Test methods
Fixed: testng-failed.xml was sometimes incorrectly generated (Borojevic)
Fixed: TestNG-228: Assert.assertEqualsNoOrder
Fixed: TestNG-229: Assert.assertEquals does not behave properly when arguments are sets
Fixed: TESTNG-36: assertEquals(Collection actual, Collection expected, String message) may have bug
Fixed: TESTNG-296: Malformed jar URLs breaking -testJar
Fixed: TESTNG-297: TestNG seemingly never stops running while building failed test suite (Gregg Yost)
Fixed: TESTNG-285: @Test(sequential=true) works incorrectly for classes with inheritance
Fixed: TESTNG-254: XMLSuite toXML() ignores listeners
Fixed: TESTNG-276: Thread safety problem in Reporter class
Fixed: TESTNG-277: Make Reporter.getCurrentTestResult() public
Fixed: Potential NPE in XmlTest#getVerbose (Ryan Morgan)
Fixed: EmailableReporter only displayed the first group for each test method
Fixed: time-outs were not working in <test> and <suite>
Fixed: @BeforeTest failing in a base class would not cause subsequent test methods to be skipped
Fixed: TESTNG-195: @AfterMethod has no way of knowing if the current test failed
Fixed: TESTNG-249: Overridden test methods were shadowing each other if specified with <include>
Fixed: DataProviders from @Factory-created tests were all invoked from the same instance
Fixed: enabled was not working on configuration methods
Fixed: IIinvokedMethodListener was not correctly added in TestNG
Fixed: NPE in XmlSuite#toXml
Fixed: TESTNG-231: NullPointerException thrown converting a suite to XML (Mark)

Doc:
Added: 5.20: IInvokedMethodListener
Added: -testjar

--
Cédric

来自: TESTNG
11
1
评论 共 5 条 请登录后发表评论
5 楼 shoru 2009-08-13 16:36
搞得我以为是国人做的!
4 楼 黑暗浪子 2009-04-08 10:08
NG是和JUNit一个级别的,当然不能测压。
自己作的,人家当然自豪,我们就姑妄听之吧
3 楼 weiqingfei 2009-04-05 13:36
有什么值得自豪的?
2 楼 hantsy 2009-04-05 12:23
use jmeter pls.
1 楼 whaosoft 2009-04-05 12:16
这东西能压力测吗

发表评论

您还没有登录,请您登录后再发表评论

相关推荐

  • .net Framework 4.8框架

    C# 框架 .net Framework

  • [WCF实践]1.WCF使用net.tcp寄宿到IIS中

    一、IIS部分 环境:Windows Server 2008 R2 1.安装WAS,如下图所示:   2.网站net.tcp协议绑定,如下图所示:   3.网站启用net.tcp,如下图所示:   二、WCF代码部分 1.DesignCaseService.svc ...

  • 远程教育《计算机科学与技术》本科《操作系统》作业参考答案

    远程教育《计算机科学与技术》本科《操作系统》作业参考答案

  • Microsoft Sync Framework 系列(三):微软同步框架出现背景及要解决的问题

    持续连接的C\S,B\S系统存在固有的缺陷,偶尔连接系统(OCA)在试图解决这些问题的同时又引入了新的问题。开发offline系统存在很多挑战,这些挑战都是 Microsoft Sync Framework 要面对的,并且应该为应用开发者提供合理的解决方案。 MSF is a comprehensive synchronization platform that enables develope...

  • WCF.NetTCP绑定IIS配置说明

    wcf宿主到iis时, 如果启用了tcp绑定, 则需要一些额外的配置,详见文档

  • wcf将一个服务同时绑定到http和tcp的写法

    服务器端:&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&amp;lt;configuration&amp;gt;  &amp;lt;connectionStrings&amp;gt;    &amp;lt;add name=&quot;DCourtDbConStr&quot; connectionString=&quot;IRyiHYdvR0dghJ+3ltmD04Hpzc1LZjqPu1H49+L4i

  • .Net框架的常见问题

    1.工程的编译顺序? 答:      一、Contract          二、Server      三、Client                      3.1 AppResources                       3.2 Presentation                      3.3 Pages (MyControls-> AppPages

  • C#开发过程中.NET Framework版本选择问题

    我们在VS创建新项目时,都会有.NET Framework版本选择的选项,一般情况下我们都是默认选项,但不同版本VS默认选项不同,而且不同操作系统(xp,win7,win8,win10)默认安装的最好和最低.NET Framework也不同, 以下是百度给出的不同系统默认安装的.NET Framework版本: 系统版本 预装.NET Framework Windows XP 家庭...

  • Net 下安装、调试的常见问题与错误

    .Net 下安装、调试的常见问题与错误!!! 升到一星,特搜集了安装vs.net与调试asp.net时遇到的常见问题,希望能给刚接触.net的朋友再遇到此类问题时得已轻松的解决,如果您也遇到此类问题并已经解决而我这里又没帖出来的朋友希望您能将您的问题与解决方法一同帖出来,使此帖成为.Net 下安装、调试的常见问题与错误的一个很好的解决方案,在此谢谢大家的支持!!! Q:新建项目时出错:...

  • wcf创建基于tcp协议的iis寄宿服务的第一个例子

    继续看wcf,今天看了wcf的自寄宿和iis寄宿的tcp协议的实现方式,自寄宿倒是没什么问题,使用tcp协议的寄宿,还是遇到了一些问题,这里跟大家分享一下解决的方法,我是看的a大的文章,地址在这里,如何进行基于非HTTP的IIS服务寄宿。 因为是作为一个demo来尝试的,不明白含义的或者用不到的就可以先不用,契约中的ServiceContract特性中的命名空间没有用到,就没有设置,客户端的配置...

  • 服务器可能资源不足,或者不信任该程序集,因为它的 PERMISSION_SET 设置为 EXTERNAL_ACCESS 或 UNSAFE。

    from:http://blog.sina.com.cn/s/blog_69d6a78101017hre.html 在成功还原了数据库J_DB之后,进行查询时提示错误: 在尝试加载程序集 ID 65659 时 Microsoft .NET Framework 出错。 服务器可能资源不足,或者不信任该程序集,因为它的 PERMISSION_SET 设置为 EXTERNAL_ACCESS 或 U

  • .NET 框架常见问题

    概念问题 什么是.NET? 简单地说,Microsoft?.NET是Microsoft以服务的方式递交软件的一种策略。有关完整信息,请参阅有关该主题的白皮书(英文)。 以下是白皮书的摘要,简要介绍了.NET的关键内容: Microsoft.NET平台 包括用于创建和操作新一代服务的.NET基础结构和工具、用于实施多信息客户端的.NET用户经验,以及用于启用新...

  • 在IIS 中 配置啟用SSO

    <br />學一下 IIS 7.0 如何配置<br /> <br />IIS6 參考:<br />http://www.cnblogs.com/luohuarenduli/archive/2008/01/18/1044918.html

Global site tag (gtag.js) - Google Analytics