Current:
===========================================================================
5.12
Removed: Javadoc annotation support
Added: @Listeners
Added: IAttributes#getAttributeNames and IAttributes#removeAttribute
Added: testng-results.xml now includes test duration in the <suite> tag (Cosmin Marginean)
Added: Injection now works for data providers
Added: TestNG#setObjectFactory(IObjectFactory)
Added: Priorities: @Test(priority = -1)
Added: New attribute invocation-numbers in <include>
Added: testng-failed.xml only contains the data provider invocations that failed
Added: IInvokedMethodListener2 to have access to ITestContext in listeners (Karthik Krishnan)
Fixed: @Before methods run from factories were not properly interleaved
Fixed: The TextReporter reports skipped tests as PASSED (Ankur Agrawal)
Eclipse:
Added: New file wizard: can now create a class with annotations, including @DataProvider
Added: You can now select multiple XML suites to be run in the launch dialog
Fixed: @Test(groups = <constant>) was taking name of the constant instead of its value.
Fixed: http://jira.codehaus.org/browse/GRECLIPSE-476 NPE with Groovy Tests (Andrew Eisenberg)
Fixed: The custom XML file is now created in the temp directory instead of inside the project
Fixed: In the launch dialog, now display an error if trying to pick groups when no project is selected
Fixed: Was not setting the parallel attribute correctly on the temporary XML file
===========================================================================
5.11
Added: Dependent methods can now run in their own thread
Added: dataProviderThreadCount can be set from the command line and from ant (Adrian Grealish)
Added: ITestAnnotation#setDataProvider
Added: Assert#assertEquals() methods for Sets and Maps
Fixed: The text reporter was no longer reporting stack traces for verbose >= 2
Fixed: dataProviderClass was not respecting inheritance (like most attributes still)
Fixed: @BeforeSuite/@AfterSuite would run multiple times when used in a @Factory
Fixed: packages=".*" wasn't working properly (sandopolus)
Fixed: TestResult#getName now returns the description instead of the method
Fixed: @DataProvider and dependent methods were not skipping correctly (Francois Reynaud)
Fixed: TESTNG-347 suite with parallel="tests" and test with parallel="classes" doesn't work correctly (Rob Allen)
Fixed: TESTNG-67: @Configuration/@Factory methods in base class being ignored
Fixed: Inner test classes were not excluded properly (Carsten Gubernator)
Fixed: threadPoolSize without invocationCount was causing reporters not to be invoked
Fixed: A @Factory throwing an exception did not cause any error
Fixed: <classfilesetref> was not working properly in the ant task (Ed Randall)
Fixed: @BeforeClass methods were not running in parallel (Aidan Short)
Fixed: Test class with @ObjectFactory doesn't get instantiated via the factory
Fixed: Allow IObjectFactory to load from non-standard classloader (for PowerMock support)
Eclipse 5.11.0.19:
Added: New "parallel" preference setting (Windows / Preferences / TestNG)
Fixed: IIinvokedMethodListeners were not invoked
===========================================================================
5.10
Added: The output in the testng-results.xml is now sorted by the starting timestamp (Daniel Rudman)
Added: Better display of the test name and method description in the default and Emailable report
Added: If both -testjar and an XML file are provided on the command line, the latter will be used
Added: @Before and @After methods can be injected with the current XmlTest
Added: Methods that time out now display the stack trace showing where the time out occurred
Added: ITestResult#getAttribute and ITestResult#setAttribute
Added: @After methods can now be injected with an ITestResult
Added: @BeforeMethod and @AfterMethod methods can now be injected an ITestResult
Added: ISuite#getAttribute and ISuite#setAttribute to share data within a suite
Added: @Test(expectedExceptionsMessageRegExp = ".*foo.*")
Added: @DataProvider(parallel=true)
Fixed: @Test(dataProvider) was not working at the class level
Fixed: Display a better error message if the wrong exception is thrown with an expectedExceptions
Fixed: Classes created by factories were not run in the order they were created
Fixed: Dependent methods are now run closer to methods within their class
Fixed: xmlFileSet in ant was not working correctly (Sean Shou)
Fixed: Various oversights in the DTD (Will McQueen)
Fixed: XMLUtils was not escaping XML attribute values
Fixed: TESTNG-317: Sequence order mis-calculation: testing using suite in sequence for classes and same method names creates non-sequential order
Fixed: Test names (classes that implement org.testng.ITest) now appear more prominently in the HTML reports
Fixed: expectedExceptions=RuntimeException.class was not failing when no exception was throw
Fixed: TESTNG-291: Exceptions thrown by Iterable DataProviders are not caught, no failed test reported (Roberto Tyley)
Fixed: TESTNG-301: Need to include parameters in testNG report for test created by @Factory
Fixed: testng-failed.xml now includes skipped tests
Fixed: TestNG couldn't find Groovy files (Haw-Bin)
Eclipse
Fixed: TESTNG-313: Provide extension point to contribute test and report listeners (Erik Putrycz)
Fixed: Quick fixes no longer introduce deprecated annotations (Greg Turnquist)
===========================================================================
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
没有合适的资源?快使用搜索试试~ 我知道了~
testng-5.12.zip
共1021个文件
java:777个
html:128个
gif:66个
5星 · 超过95%的资源 需积分: 9 11 下载量 138 浏览量
2014-01-10
09:33:38
上传
评论
收藏 6.12MB ZIP 举报
温馨提示
TestNG,即Testing, Next Generation,下一代测试技术,是一套根据JUnit 和NUnit思想而构建的利用注释来强化测试功能的一个测试框架,即可以用来做单元测试,也可以用来做集成测试。
资源推荐
资源详情
资源评论
收起资源包目录
testng-5.12.zip (1021个子文件)
.classpath 820B
maven-classic.css 15KB
testng.css 3KB
maven-theme.css 2KB
maven-base.css 2KB
stylesheet.css 1KB
prettify.css 646B
testng.css 312B
print.css 222B
testng-1.0.dtd 7KB
help_logo.gif 2KB
icon_members_lrg.gif 2KB
icon_folder_lrg.gif 2KB
icon_error_lrg.gif 1KB
icon_usergroups_lrg.gif 1KB
icon_success_lrg.gif 1KB
icon_warning_lrg.gif 1KB
icon_help_lrg.gif 1KB
icon_info_lrg.gif 1KB
icon_doc_lrg.gif 1KB
icon_alert.gif 1KB
icon_arrowfolder1_sml.gif 1KB
icon_arrowfolder2_sml.gif 1KB
icon_arrowusergroups2_sml.gif 1KB
icon_arrowmembers1_sml.gif 1KB
icon_arrowmembers2_sml.gif 1KB
icon_arrowusergroups1_sml.gif 1KB
icon_usergroups_sml.gif 1KB
icon_members_sml.gif 1023B
icon_help_sml.gif 1019B
icon_error_sml.gif 1010B
icon_success_sml.gif 990B
pdf.gif 950B
poweredby_036.gif 808B
icon_waste_lrg.gif 780B
product_logo.gif 680B
icon_arrowfolderopen2_sml.gif 664B
icon_folder_sml.gif 634B
icon_arrowwaste2_sml.gif 609B
icon_arrowwaste1_sml.gif 606B
icon_info_sml.gif 606B
icon_warning_sml.gif 576B
icon_waste_sml.gif 562B
icon_arrowfolderclosed1_sml.gif 441B
icon_doc_sml.gif 355B
folder-open.gif 229B
remove.gif 227B
folder-closed.gif 220B
add.gif 207B
update.gif 192B
fix.gif 181B
icon_alertsml.gif 154B
file.gif 152B
icon_sortright.gif 122B
icon_sortleft.gif 121B
icon_sortup.gif 117B
icon_sortdown.gif 117B
icon_confirmsml.gif 94B
icon_infosml.gif 77B
inherit.gif 57B
collapsed.gif 53B
expanded.gif 52B
nw_maj_rond.gif 51B
nw_min.gif 51B
nw_maj_hi.gif 51B
sw_maj_rond.gif 51B
se_maj_rond.gif 50B
nw_maj.gif 49B
nw_med.gif 48B
nw_med_hi.gif 47B
nw_min_hi.gif 46B
sw_med_rond.gif 46B
nw_med_rond.gif 46B
nw_min_036.gif 45B
sw_min.gif 45B
strich.gif 43B
Readme-说明.htm 3KB
index-all.html 269KB
book-toc.html 81KB
documentation-main.html 79KB
TestNG.html 72KB
TestNGAntTask.html 64KB
TestRunner.html 59KB
Assert.html 52KB
XmlSuite.html 46KB
ITestNGMethod.html 42KB
SuiteRunner.html 41KB
AssertJUnit.html 37KB
XmlTest.html 36KB
TestListenerAdapter.html 33KB
TestNGCommandLineArgs.html 31KB
ITestAnnotation.html 30KB
TimeBombSkipException.html 27KB
serialized-form.html 27KB
TestClass.html 26KB
Test.html 25KB
FileAssert.html 25KB
constant-values.html 24KB
TestNG.ExitCodeListener.html 24KB
overview-tree.html 23KB
共 1021 条
- 1
- 2
- 3
- 4
- 5
- 6
- 11
资源评论
- 小布什唐2018-10-24可以用,只可惜不是最新的版本
- ChristineShen2017-03-14可以用,只可惜不是最新的版本
mizhen9999
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功