blob: 0fc857891af330a5be42c98213a8c721510fe3ad [file] [log] [blame]
cbeust10b41092009-04-07 16:04:39 +00001Current:
2
cbeust27fb3842009-04-20 16:02:44 +00003Fixed: TestNG couldn't find Groovy files (Haw-Bin)
4
cbeust10b41092009-04-07 16:04:39 +00005Eclipse
6
7Fixed: Quick fixes no longer introduce deprecated annotations (Greg Turnquist)
8
cbeuste4e7d242008-04-06 04:16:13 +00009===========================================================================
cbeusta0726712009-02-22 17:44:20 +0000105.9
cbeust01f74792008-04-06 17:33:25 +000011
cbeust5c38f852009-03-23 03:46:06 +000012Added: New ant task boolean flag: delegateCommandSystemProperties (Justin)
cbeust32a38ce2009-03-24 17:30:31 +000013Added: skipfailedinvocations under <suite> in testng-1.0.dtd (Gael Marziou / Stevo Slavic)
cbeuste38a74e2009-02-11 17:50:51 +000014Added: -testrunfactory on the command line and in the ant task (Vitalyi Pamajonkov)
cbeust1c5c9aa2009-01-30 21:09:43 +000015Added: TESTNG-298: parallel="classes", which allows entire classes to be run in the same thread
cbeustc3b0ec52009-01-30 17:01:20 +000016Added: @BeforeMethod can now declare Object[] as a parameter, which will be filled by the parameters of the test method
17Added: IAnnotationTransformer2
18Added: @Test(invocationTimeOut), which lets you set a time out for the total time taken by invocationCount
19Added: IInvokedMethodListener
20Added: -testjar supports jar file with no testng.xml file
cbeust08e5ac52009-03-31 21:56:17 +000021Fixed: IInvokedMethodListener wasn't properly recognized from the command line (Leonardo Rafaeli)
cbeust7ce0e722009-03-30 15:02:34 +000022Fixed: TESTNG-309 Illegal default value for attribute in DTD file
23Fixed: TESTNG-192: JUnit XML output includes wrong tests (Aleksandar Borojevic)
cbeust36040b12009-03-28 05:01:47 +000024Fixed: Set a generated suite to default to non-parallel (Mark Derricutt)
cbeust52df24d2009-03-18 19:40:31 +000025Fixed: -testJar command line parsing bug
cbeust8beffc12009-03-18 19:27:21 +000026Fixed: testng-failed.xml didn't include the listeners
cbeust1b7fe502009-03-14 16:05:33 +000027Fixed: annotation transformers were not run when specified in testng.xml
cbeustb68cf6d2009-02-25 16:07:13 +000028Fixed: TESTNG-192: JUnit XML output includes wrong tests (Borojevic)
cbeusta0726712009-02-22 17:44:20 +000029Fixed: @Parameters was not working correctly on @BeforeMethods with @DataProvider used on @Test methods
cbeust68749e12009-02-20 01:14:46 +000030Fixed: testng-failed.xml was sometimes incorrectly generated (Borojevic)
cbeustdf28a342009-02-16 19:18:21 +000031Fixed: TestNG-228: Assert.assertEqualsNoOrder
32Fixed: TestNG-229: Assert.assertEquals does not behave properly when arguments are sets
33Fixed: TESTNG-36: assertEquals(Collection actual, Collection expected, String message) may have bug
cbeustee0edc42009-01-30 22:06:57 +000034Fixed: TESTNG-296: Malformed jar URLs breaking -testJar
cbeustc3b0ec52009-01-30 17:01:20 +000035Fixed: TESTNG-297: TestNG seemingly never stops running while building failed test suite (Gregg Yost)
cbeust35371912008-12-10 16:48:29 +000036Fixed: TESTNG-285: @Test(sequential=true) works incorrectly for classes with inheritance
cbeust9f2e0c32008-11-17 16:18:00 +000037Fixed: TESTNG-254: XMLSuite toXML() ignores listeners
cbeust6ca01b52008-10-15 21:11:46 +000038Fixed: TESTNG-276: Thread safety problem in Reporter class
39Fixed: TESTNG-277: Make Reporter.getCurrentTestResult() public
cbeustd04b2ae2008-10-01 22:29:18 +000040Fixed: Potential NPE in XmlTest#getVerbose (Ryan Morgan)
cbeust651ca6a2008-09-26 22:13:43 +000041Fixed: EmailableReporter only displayed the first group for each test method
cbeust6bf0a7d2008-09-09 18:32:58 +000042Fixed: time-outs were not working in <test> and <suite>
cbeust891c6962008-06-19 15:50:55 +000043Fixed: @BeforeTest failing in a base class would not cause subsequent test methods to be skipped
cbeust318a4e42008-06-13 17:53:11 +000044Fixed: TESTNG-195: @AfterMethod has no way of knowing if the current test failed
cbeust486fc182008-05-31 23:16:07 +000045Fixed: TESTNG-249: Overridden test methods were shadowing each other if specified with <include>
cbeust8778efa2008-05-27 20:22:14 +000046Fixed: DataProviders from @Factory-created tests were all invoked from the same instance
cbeuste3264a42008-05-27 02:14:38 +000047Fixed: enabled was not working on configuration methods
cbeust2cdae872008-05-26 19:51:31 +000048Fixed: IIinvokedMethodListener was not correctly added in TestNG
cbeust38ef90d2008-04-19 18:23:17 +000049Fixed: NPE in XmlSuite#toXml
cbeust01f74792008-04-06 17:33:25 +000050Fixed: TESTNG-231: NullPointerException thrown converting a suite to XML (Mark)
cbeuste4e7d242008-04-06 04:16:13 +000051
cbeustf3016e42008-04-06 18:56:04 +000052Doc:
cbeust2cdae872008-05-26 19:51:31 +000053Added: 5.20: IInvokedMethodListener
cbeust398dbfd2008-04-20 16:06:55 +000054Added: -testjar
cbeustf3016e42008-04-06 18:56:04 +000055
cbeuste4e7d242008-04-06 04:16:13 +000056===========================================================================
cbeustd9cf8a02008-02-17 23:38:26 +0000575.8
the.mindstorm3a238872007-11-15 01:44:32 +000058
cbeust5191a182008-03-23 04:50:22 +000059Fixed: TestNG-220: Ignore class definition/loader issues when scanning classpath for implicit classes
cbeustd7d31c12008-03-23 04:02:44 +000060Fixed: TestNG-224: Fix for relative suite filenames in XML file
cbeust3e8cd5c2008-03-23 00:42:16 +000061Added: TestNG-213: @Optional on a method parameter to allow optional @Parameters
cbeust920214e2008-03-23 00:18:18 +000062Fixed: TestNG-214: SkipException and TimeBombSkipException should accept nested exceptions
63Fixed: TestNG-211: new Parser(inputStream) doesn't work
cbeustd9cf8a02008-02-17 23:38:26 +000064Added: Methods that form a cycle are now shown when the cycle is detected
cbeust509aca52008-02-04 01:33:30 +000065Added: Support for <listeners> in testng.xml
cbeustfa27df32008-02-03 22:04:37 +000066Added: IMethodInterceptor
cbeust8b9443a2008-01-02 21:46:34 +000067Added: @TestInstance on a data provider method parameter
cbeustd7e50002007-11-21 18:50:52 +000068Fixed: @AfterMethod(lastTimeOnly) didn't work properly with data providers
the.mindstorm79074792007-11-15 01:57:53 +000069Added: antlib.xml to allow autodiscovery of Ant task definition
the.mindstorm3a238872007-11-15 01:44:32 +000070Fixed: name attribute on <test> is required
cbeustd7e50002007-11-21 18:50:52 +000071
cbeust8edb61b2008-03-23 02:11:47 +000072Doc:
73Added: Method Interceptor
74Added: @Optional
cbeust52b3c922008-04-06 03:40:26 +000075Added: Doc for IMethodInterceptor (5.16) and TestNG listeners (5.18)
cbeust8edb61b2008-03-23 02:11:47 +000076Added: 5.19: Dependency injection
77
the.mindstorm31fbf112006-10-25 23:17:06 +000078===========================================================================
cbeust072b1c02007-06-08 15:06:26 +0000795.7
80
cbeust45a161f2007-11-01 21:37:49 +000081Added: @BeforeMethod(firstTimeOnly) and @AfterMethod(lastTimeOnly)
cbeustec9d2742007-10-30 17:09:57 +000082Added: @BeforeMethods can now take a Method and ITestContext parameters (like @DataProvider)
the.mindstorm29a0d372007-10-02 12:43:25 +000083Fixed: logging about abstract classes moved to level 5
cbeust2c75cc42007-11-08 16:31:32 +000084Added: if @Parameter is missing from testng.xml then it is read from the System properties
cbeust61e3a372007-09-23 06:54:11 +000085Fixed: Don't run a @DataProvider method as a test when a class-level @Test is present
86Added: Attribute @Test#skipFailedInvocations
the.mindstorm04111212007-06-19 00:23:53 +000087Fixed: TESTNG-169 Error message: <method> is depending on nonexistent method null ("null" is uninformative)
cbeust503726b2007-06-18 20:17:49 +000088Fixed: -listener takes comma-separated classes
cbeust072b1c02007-06-08 15:06:26 +000089Added: RetryAnalyzer (experimental) (Jeremie)
90
cbeust072b1c02007-06-08 15:06:26 +000091===========================================================================
cbeuste7ee9202007-01-30 17:46:49 +0000925.6
93
the.mindstormee28d802007-04-12 00:48:56 +000094Added: SkipException/TimeBombedSkipException for manual skipping
cbeust503726b2007-06-18 20:17:49 +000095Added: <tests> can now be disabled at xml level using <test enabled="false">
cbeustc8d9bd62007-03-23 15:06:13 +000096Added: Suite files that only contain other suites do not get reported
cbeustc81cb822007-03-15 11:08:03 +000097Fixed: @BeforeClass methods would incorrectly report cyclic graphs
bileblogfda56212007-03-09 03:12:31 +000098Added: get/setAttribute to ITestContext
the.mindstormaa639c52007-03-07 20:02:47 +000099Added: plugging in factory objects to handle the actual instantiation of tests
cbeust91f466b2007-01-31 05:46:54 +0000100Added: dataProvider to @Factory
cbeuste7ee9202007-01-30 17:46:49 +0000101Added: ISuite now gives access to the current XmlSuite
the.mindstormc5b9a8c2007-02-13 10:33:16 +0000102Fixed: TESTNG-139 dependsOnMethods gets confused when dependency is "protected"
the.mindstormb7e26702007-02-13 10:49:07 +0000103Fixed: TESTNG-141 junit attribute set to false in testng-failed.xml when it should be true
the.mindstorm4c2554d2007-02-18 02:08:44 +0000104Fixed: TESTNG-142 Exceptions in DataProvider are not reported as failed test
105Added: Improved behavior for @Before/@AfterClass when using @Factory
106(http://forums.opensymphony.com/thread.jspa?threadID=6594&messageID=122294#122294)
107Added: Support for concurrent execution for invocationCount=1 threadPoolSize>1 and @DataProvider
108(http://forums.opensymphony.com/thread.jspa?threadID=64738&tstart=0)
bileblogcc01c6f2007-04-13 15:19:44 +0000109Added: New TestNG specific XML report, generated by default in 'xml' subdirectory of test-output
the.mindstorm0f282632007-04-19 00:00:01 +0000110Added: support in strprotocol for passing the ITest.getTestName() information
the.mindstorm79718dd2007-04-25 19:58:31 +0000111Fixed: TESTNG-152 If DataProvider is not found, the exception message should tell exactly what happened
the.mindstorma30275d2007-04-18 22:39:57 +0000112
the.mindstorm6d0b0552007-02-21 23:10:35 +0000113Eclipse plug-in
114
115Fixed: Bug that made group launch configurations unusable
the.mindstorma30275d2007-04-18 22:39:57 +0000116Fixed: The plugin doesn't create the correct launch configuration for @Factory
117Fixed: Method based launchers cannot be editted
118Fixed: Plugin hangs while executing test with dataprovider that sends \n, \r messages
the.mindstorm0f282632007-04-19 00:00:01 +0000119Added: display ITest.getTestName()
bileblogc7104e12007-04-13 12:54:10 +0000120
121IDEA plug-in
122
123Fixed: IDEA 7.0 compatibility
124Fixed: occasional 'illegal arguments exception'
125Fixed: TESTNG-151 Final passing test result is not properly hidden
bileblog2bb26842007-04-13 15:18:44 +0000126Added: Auto-completion for dependsOnMethods
127Added: Highlighting of invalid groups/methods in dependsOn*
cbeuste7ee9202007-01-30 17:46:49 +0000128===========================================================================
the.mindstorm2151a492006-12-13 04:36:44 +00001295.5
130
cbeusta26b36e2007-01-23 23:47:21 +0000131Fixed: @BeforeGroup methods were run twice when in a base class
cbeustbab15682007-01-18 00:21:17 +0000132Fixed: @BeforeGroup methods were run twice with a @Test at class level
cbeust94b43f72007-01-11 23:57:29 +0000133Fixed: parallel="tests" didn't work as advertised
the.mindstorm39c426d2007-01-08 20:24:01 +0000134Added: Support for thread-count at test level
cbeustfd841532007-01-03 21:42:51 +0000135Added: Method selectors receive a Context and can stop the chain with setStopped()
cbeust88718b42007-01-03 16:31:31 +0000136Fixed: XmlMethodSelector was always run first regardless of its priority
the.mindstorm25f69e42006-12-29 02:15:23 +0000137Added: @BeforeGroups/@AfterGroups can live in classes without @Test methods
cbeust10efd592006-12-28 18:05:26 +0000138Added: DataProvider can now take an ITestContext parameter
cbeuste58af1d2006-12-28 03:17:31 +0000139Fixed: Wasn't parsing <selector-class-name> correctly
cbeustf7e88f82006-12-21 23:16:25 +0000140Fixed: Annotation Transformers now work on class-level annotations
141Fixed: Some class-level @Test attributes were not always honored
the.mindstorm9a148252006-12-21 22:54:28 +0000142Added: Clean separation between @Test invocation events and @Configuration invocation events
143 (see also TESTNG-111)
cbeust57233022006-12-23 16:24:22 +0000144Added: Test instances created by @Factory now run in multiple threads in parallel mode
the.mindstorm4a9f5e12006-12-19 20:16:18 +0000145Fixed: @Before/@AfterGroups invocation order
the.mindstorm6b388f82006-12-19 16:18:26 +0000146Fixed: TESTNG-27: Parameters are not used on <test> level anymore
the.mindstorm81996212006-12-14 03:01:30 +0000147Fixed: TESTNG-107 don't create an output directory if "outputDirectory" is null
cbeust68566752006-12-14 00:04:29 +0000148Fixed: TESTNG-127 UseDefaultListeners in Ant Task does not work
the.mindstormff19c2b2006-12-13 04:37:25 +0000149Fixed: TESTNG-119 Running TestNG runner with invalid '-sourcedir' on JDK14 JavaDoc annotated test classes won't fail.
the.mindstorm8603fcf2006-12-13 04:37:04 +0000150Fixed: TESTNG-113 Dependent methods within the same static inner class are not found
the.mindstorm2151a492006-12-13 04:36:44 +0000151Fixed: TESTNG-125 TestNG failed for test classes under *.java*.* pakages
152
the.mindstorm531c73e2006-12-22 04:06:09 +0000153Eclipse plug-in
154Fixed: issue with launch configuration
155Fixed: TESTNG-124: setting location of testng reports output
156
the.mindstorm2151a492006-12-13 04:36:44 +0000157===========================================================================
the.mindstorm20e416d2006-11-23 10:47:39 +00001585.4
the.mindstormc70a9de2006-10-31 00:18:31 +0000159
the.mindstorm8ced8ae2006-12-10 03:38:58 +0000160Fixed: Ant task issue with paths containing spaces
the.mindstormfeb9f102006-12-08 17:10:25 +0000161Added: for @BeforeGroups and @AfterGroups specifying the groups() attribute will auto-include the method
162 into those groups by default (previously you had to also provide the value() attribute).
the.mindstorm6b25aa42006-11-23 10:11:35 +0000163Added: the load @Tests (invocationCount + threadPoolSize) are triggered simultaneous
164Fixed: reports are correctly displaying the thread info
the.mindstormf50b6182006-11-02 12:39:37 +0000165Added: @DataProvider name defaults to method name
the.mindstormc70a9de2006-10-31 00:18:31 +0000166Added: support for remote protocol to pass parameter information
167Fixed: TextReporter logs information about the parameters of the test methods
the.mindstorm63d1b812006-11-01 18:29:35 +0000168Fixed: concurrency issue in JUnitXMLReporter
169Fixed: output of JUnitXMLReporter must be CDATA
the.mindstormfd3d6292006-11-12 00:55:45 +0000170Fixed: XML unsupported annotations/parallel attribute values are reported
cbeust125d2472006-09-16 19:49:12 +0000171
the.mindstormb74384c2006-11-25 03:16:51 +0000172Eclipse plug-in
the.mindstormbd2de7a2006-11-30 01:24:05 +0000173Fixed: groups with multi-attribute javadoc annotations
the.mindstormb74384c2006-11-25 03:16:51 +0000174Fixed: consistent behavior for dependsOnMethods
175Fixed: consistent behavior for tests with dependsOnGroups (a warning is emitted)
176Fixed: consistent merge of configuration arguments when an existing launch configuration exists
the.mindstorm7b73a742006-09-14 17:39:29 +0000177===========================================================================
cbeust125d2472006-09-16 19:49:12 +00001785.3
179
the.mindstorm7a14bd82006-10-25 00:56:00 +0000180Fixed: use a single instance of bsh.Interpreter
the.mindstorm55948752006-10-24 12:16:16 +0000181Added: @Before/@AfterMethod can declare a java.lang.reflect.Method parameter to be informed about the @Test method
the.mindstorm957a0e62006-10-20 00:42:42 +0000182Fixed: super classes must not be listed in testng-failures.xml
183Fixed: parallel attribute must not appear if empty or null in testng-failures.xml
the.mindstorm5e5666c2006-10-16 22:07:24 +0000184Fixed: parsing for javadoc annotations is done on request only
185Added: improved multiple suite summary page report
186Added: -target option deprecated in favor of -annotations javadoc|jdk
cbeust9e5d6a02006-10-16 00:39:54 +0000187Fixed: filesets in the ant task didn't work if the paths have spaces in them
the.mindstorm992befd2006-10-10 22:08:48 +0000188Fixed: Before/After Suite were behaving wrong in parallel execution
189Added: A generic/extensible RemoteTestNG was added to the core
the.mindstorm494a8d82006-09-28 23:06:30 +0000190Fixed: Before/AfterGroup-s were behaving wrong when using invocationCount, dataProvider and threadPoolSize
191Fixed: improved support for running different annotation type tests in the same suite
192Fixed: testng-failed.xml was generated even if there were no failures/skipps
193Fixed: -usedefaultlisteners was wrongly passed to JVM instead of TestNG options
cbeust3ee1fe02006-09-26 14:00:26 +0000194Added: Attribute dataProviderClass for @Test and @testng.test
cbeustada98512006-09-22 20:17:00 +0000195Fixed: Forgot to account for cases where both invocationCount and DataProviders are present
cbeust67a9c892006-09-22 05:38:30 +0000196Fixed: AfterGroups were invoked out of order with invocationCount and DataProviders
cbeustada98512006-09-22 20:17:00 +0000197Fixed: Reporter.getOutput() returned an empty array if a timeOut was specified
cbeust2c303722006-09-17 21:04:34 +0000198Added: testng.xml now supports <suite-files>
cbeust125d2472006-09-16 19:49:12 +0000199Added: ant task can receive several listeners
the.mindstorm6a229092006-09-18 06:52:11 +0000200Fixed: TESTNG-109 Skipped tests with expected exceptions are reported as failures
Bill.Michell55cef1b2006-10-13 16:29:44 +0000201Added: ant task can now select the parallel mode for running tests
202Fixed: ant task correctly deals with empty groups and excludedgroups parameters
203Added: ant task can override default suite and test names
204Added: comand line support for setting parallel mode, suite and test names
the.mindstorm7b73a742006-09-14 17:39:29 +0000205
206Eclipse plug-in
207Added: Support for configuring per project usedefaultlisteners
the.mindstorm6a229092006-09-18 06:52:11 +0000208Added: Contextual drop-down menu on failures tab of the TestNG view to enable running/debugging method failure only
209Added: Suppport for configuring per project TestNG jar usage (project provided one or plugin provided one)
cbeust8855dc42006-08-14 20:20:52 +0000210
the.mindstorma10e6b82006-08-06 21:51:57 +0000211===========================================================================
cbeust8bee4072006-08-23 23:32:32 +00002125.2
213
cbeustae569972006-09-11 19:47:01 +0000214Added: "-usedefaultlisteners true/false" to command line and ant
215Added: EmailableReporter (from Paul Mendelson)
cbeust4b9824b2006-09-01 17:34:08 +0000216Added: parallel can now be "methods" or "tests". Boolean version deprecated
cbeustc2408c32006-08-29 17:23:22 +0000217Added: TestNGAntTask now uses the @ syntax to invoke TestNG
cbeust26b0c782006-08-29 16:54:38 +0000218Added: Command line understands @ syntax
cbeuste24b3802006-08-24 17:47:41 +0000219Added: JUnitConverter uses the new syntax
220Added: -groups to JUnitConverter
cbeust8bee4072006-08-23 23:32:32 +0000221Fixed: Throw proper exception when a DataProvider declares parameters
the.mindstormf91c2a62006-09-03 01:32:44 +0000222Added: completely revamped JUnit support (should run all kind of JUnit tests)
223Fixed: TESTNG-40 (Bug in testng-failed.xml generation)
the.mindstorm2ea93332006-09-04 23:59:44 +0000224Fixed: TESTNG-106 (Failed "@BeforeSuite" method just skipps the last test in xml-file)
225Fixed: Success on 0 tests (http://forums.opensymphony.com/thread.jspa?threadID=41213)
the.mindstormf91c2a62006-09-03 01:32:44 +0000226
227Eclipse plug-in
228Added: TESTNG-105 Automaticaly define TESTNG_HOME classpath variable
cbeust8bee4072006-08-23 23:32:32 +0000229
230===========================================================================
the.mindstorma10e6b82006-08-06 21:51:57 +00002315.1
cbeust336f0ef2006-08-01 22:50:26 +0000232
cbeust8855dc42006-08-14 20:20:52 +0000233Added: @Test(sequential = true)
cbeustca895ef2006-08-09 21:34:51 +0000234Fixed: TESTNG-102 (Incorrect ordering of @BeforeMethod calls when a dependency is specified)
the.mindstorm997a5932006-08-11 19:34:04 +0000235Fixed: TESTNG-101 (HTML output contains nested <P> tags and a missing <tr> tag)
the.mindstorma10e6b82006-08-06 21:51:57 +0000236Added: support for specifying test-only classpath (http://forums.opensymphony.com/thread.jspa?messageID=78048&tstart=0)
237Fixed: TESTNG-93 (method selectors filtering @BeforeMethod)
238Fixed: TESTNG-81 (Assert.assertFalse() displays wrong expected, actual value)
239Fixed: TESTNG-59 (multiple method selectors usage results in no tests run)
240Fixed: TESTNG-56 (invocation of @Before/AfterClass methods in parallel/sequential scenarios)
241Fixed: TESTNG-40 (failures suite does not contain @Before/After Suite/Test methods)
242Fixed: TESTNG-37 (allow passing null parameter value from testng.xml)
243Fixed: TESTNG-7 (display classname when hovering method)
244
245
246Eclipse plug-in
247
248Added: run contextual test classes with parameters from suite definition files
249Added: TESTNG-100 (Show HTML reports after running tests)
the.mindstorm13e8f502006-08-11 20:27:14 +0000250Added: TESTNG-97 (Double click top stack to raise comparison)
the.mindstorma10e6b82006-08-06 21:51:57 +0000251Added: TESTNG-84 (plug-in UI for suite option should support absolute path)
252Added: TESTNG-20 (copy stack trace)
253
254Fixed: TESTNG-72 (display groups with non-array values)
255Fixed: TESTNG-64 (Eclipse plug-in applies added groups to all launch configurations)
256Fixed: TESTNG-28 (Cannot select groups from dependent eclipse projects)
257Fixed: TESTNG-25 (do not display fully qualified method name when running contextual test class)
258
259Improved behavior:
260 TESTNG-98 (temporary files have guaranteed fixed names)
261 TESTNG-95 (Assertion failed comparison trims trailing ">")
cbeust96761aa2006-08-15 17:31:35 +0000262 TESTNG-70 (TestNG prevents eclipse from opening an older CVS version of a java class)
the.mindstorma10e6b82006-08-06 21:51:57 +0000263 display of test hierarchy information (TESTNG-29)
264
cbeust336f0ef2006-08-01 22:50:26 +0000265===========================================================================
266
2675.0.1
268
269Eclipse plug-in
270
271Added: Output directory for the tests
272Added: Can now specify listener classes
273
274===========================================================================
2755.0.1
276
277Fixed: reports generated by SuiteHTMLReporter do not work with JDK1.4
278
279===========================================================================
280
2815.0
282
283Added: Ant task: support for JVM, workingDir, timeout
284Added: Stack traces can be interactively shown in the HTML reports
285Added: Link to testng.xml in the reports
286Added: New structure for reports, suites go in their individual directory
287Added: @Test(suiteName) and @Test(testName)
288Added: The stack traces in reports do not include TestNG frames (system property testng.exception)
289 (see: http://groups.google.com/group/testng-dev/browse_thread/thread/9f4d46ade10b0fda)
290Fixed: Exit with error when no methods are run
291 (see: http://groups.google.com/group/testng-dev/browse_thread/thread/3c26e8a5658f22ac)
292Added: List of methods in alphabetical order
293Fixed: Class-scoped annotations were not recognized when inherited
294Added: Deprecated @Configuration and introduced @BeforeSuite/Test/Class/TestMethod
295Added: Deprecated @ExpectedExceptions and moved it into @Test
296Added: expectedExceptions to @Test, deprecated @ExpectedExceptions
297Added: New annotations: @BeforeSuite, @BeforeTest, etc...
298Fixed: Was returning an exit code of 0 if a cyclic graph was detected
299Added: Interface org.testng.ITest so that tests can declare a name
300Fixed: The Text reporter was reporting the square of the actual number of methods
301Fixed: Bug reported by Eran about dependencies with an afterClass method
302Added: IHookCallBack now receives the ITestResult in its run() method
303Added: Name of suite for command line can be set with -Dtestng.suite.name=xxx
304Fixed: TestNGAntTask was hardcoding m_haltOnFSP to true
305Fixed: Passing a null parameter caused an NPE in the reports
306Added: "listener" to the ant task (and documentation)
307Added: if patch-testng-sourcedir.properties is found in the classpath
308 with a property "sourcedir" containing a ; separated list of
309 directories, this list will override -sourcedir.
310
311===========================================================================
312
313
3144.7
315
316Added: Maven 2 plug-in
317Fixed: Message formattings in TestNG assertion utility class
318Fixed: @Factory methods were counted as @Test as well
319 http://jira.opensymphony.com/browse/TESTNG-51
320Fixed: All DataProvider parameters were shown in the HTML report
321Fixed: Bug in testng-failed.xml generation
322Fixed: <packages> bug when using a jar file to load the test classes
323Added: alwaysRun for before @Configuration methods
324 http://jira.opensymphony.com/browse/TESTNG-35
325Fixed: groupless @Configurations were not invoked if a method depends on a group
326 http://jira.opensymphony.com/browse/TESTNG-45
327Added: beforeGroups/afterGroups to @Configuration
328
329Eclipse plugin:
330
331Added: last contextual launch is available in Eclipse launcher lists
332Fixed: 3.2M5 integration (removed dependency on non-existing class)
333Fixed: testng-failures.xml generation
334
335===========================================================================
336
3374.6
338
339Added: Documentation contains the new reports
340Added: TestNG.setUseDefaultListeners(boolean)
341Added: Descriptions now appear in TextReporter (verbose>=2) and the HTML reports
342Added: description attribute to @Test and @Configuration
343Added: combined Reporter output in the reports
344Added: methods not run in the reports
345Added: org.testng.IReporter
346Added: threadPoolSize to @Test
347Added: Reports now show relative timings (start at 0)
348Added: Reports now show different colors depending on the methods' classes
349Added: Reports now show all parameters used to invoke the test method
350Added: org.testng.Reporter
351Added: DataProviders can accept a Method as first parameter
352Fixed: Extraneous implicit inclusion of a method
353
354Eclipse plugin:
355
356Added: Run/Debug as TestNG test from the editor contextual menu
357Fixed: TESTNG-24: 'Run as testng test' does not appear of the Test annotation does not have a group
358Fixed: TESTNG-18: Eclipse plugin ignores Factory annotation
359Fixed: TESTNG-21: Show differences when double clicking assertion exceptions
360Added: UI allows setting orientation (even more space)
361 http://forums.opensymphony.com/thread.jspa?threadID=17225&messageID=33805#33805
362
363===========================================================================
364
3654.5
366
367Core:
368
369Fixed: Methods were not implicitly included, only groups
370Fixed: Bug with failed parent @Configuration don't skip child @Configuration/@Test invocations
371Fixed: Bug with overridding @Configuration methods (both parent and child were run)
372Fixed: Bug when overriding beforeClass methods in base class (cyclic graph)
373Added: Support for JAAS (see org.testng.IHookable)
374Fixed: Problem with nested classes inside <package name="foo.*"
375Fixed: If a group is not found, mark the method as a skip instead of aborting
376Fixed: testng-failed.xml was not respecting dependencies
377Fixed: class/include method in testng.xml didn't work on default package
378Fixed: DTD only allowed one <define>
379Fixed: ArrayIndexOutOfBoundsException for jMock
380Added: dependsOnMethods can contain methods from another class
381Fixed: JUnitConverter required -restore, not any more (option is now a no-op)
382Fixed: JUnit mode wasn't invoking setName() on test classes
383Added: Regular expressions for classes in <package>
384Added: Distributed TestNG
385Fixed: Command line parameters and testng.xml are now cumulative
386Fixed: Reports now work for multiple suites
387Fixed: Was ignoring abstract classes even if they have non-abstract instances
388Fixed: If setUp() failed, methods were not skipped
389Fixed: Was not clearly indicating when beforeSuite fails
390Added: @Configuration.inheritGroups
391Fixed: inconsistency between testng.xml and objects regarding method selectors
392
393Eclipse plug-in:
394
395New look for the progress view.
396
397===========================================================================
398
3994.4
400
401Core:
402
403Fixed: testng-failures.xml was not excluding methods from base classes
404Fixed: Bug in suites of suites for JUnit mode
405
406===========================================================================
407
4084.3
409
410Core:
411
412Fixed: testng-failures.xml was not excluding methods from base classes
413Fixed: Bug in suites of suites for JUnit mode
414Added: Excluded groups on command line and ant task
415Fixed: When including a group, implicitly include groups depended upon
416Fixed: When depending on several groups, wasn't skipped if one of them failed
417Fixed: Failures weren't reported accurately in the JUnitReports report
418Fixed: Wasn't throwing an exception if depending on a non-existing group
419
420===========================================================================
421
4224.2
423
424Core:
425
426Fixed: wasn't excluding methods in base classes
427Added: alwaysRun for tests (soft dependencies)
428Fixed: Class-level enabled=false were not honored
429Fixed: Bug with multiple dataproviders on same class
430Fixed: Bug with dataprovider defined in the parent class
431Fixed: Bug with dataprovider defined in a subclass
432Fixed: Bug with dataprovider defined in an abstract class
433Fixed: testng-failures generation was excluding the methods even if a failed test depended on it
434
435===========================================================================
436
4374.1
438
439Core:
440
441Added: @DataProviders can return Iterable<Object[]>
442Fixed: Superclass test methods were not called in the presence of a class @Test
443Added: Reporter class to log messages in the HTML reports
444
445===========================================================================
446
4474.0
448
449Core:
450
451Fixed: suite methods now invoked only once in a hierarchy
452Added: @DataProvider and @testng.data-provider
453Fixed: Interleave order now respected for before/afterClass methods
454Added: Can now invoke java -jar testng-2.6.jar <...>
455Added: Support for BeanShell
456Added: Method Selectors (IMethodSelector)
457Fixed: In the absence of dependencies, @Configuration methods respect inheritance
458Fixed: Bug in multithreaded dependencies on methods
459Fixed: dependsOnGroups wasn't working on regular expressions
460Fixed: Bug in <package> when directories contain spaces in their names
461Fixed: Introduced a JDK5 dependency in the JDK1.4 build (getEnclosingClass())
462Fixed: Output directory in ant task was not honored if it didn't exist
463Fixed: Problem with timeout according to
464 http://forums.opensymphony.com/thread.jspa?threadID=6707
465
466Eclipse plug-in:
467
468Fixed: Wasn't handling linked directories correctly
469Fixed: Bug in QuickFix implementation
470Added: Quick Fix for JUnit conversion (Annotations and JavaDoc)
471Fixed: Methods Run as TestNG test
472Added: Package level Run as TestNG test
473Fixed: Resources from the linked directories are using a wrong path when
474 passed to command line TestNG
475
476IDEA plug-in:
477
478Added: Support for JDK 1.4 (both projects and IDEA itself)
479Fixed: Classes that contained only configuration were ignored
480
481===========================================================================
482
4832.5
484
485Added: ITestListener.onTestStart(ITestResult)
486Added: Support for <packages>
487Added: Resource files for easier ant taskdefs
488Fixed: @Configuration methods were not invoked with individual test methods
489Fixed: Bug with ExpectedExceptions
490Fixed: Didn't support nested factory classes
491Fixed: NPE if -target is omitted with JDK 1.4
492Fixed: @Configuration failures in a class would cause other classes to fail
493Added: alwaysRun
494Fixed: beforeTestClass/afterTestClass were broken for a pathological case
495Added: @Configuration(alwaysRun)
496Added: JUnitConverter task
497Fixed: < and > characters in reports were not escaped
498
499Eclipse plug-in:
500
501Fixed: Class dialog wasn't showing @Factory classes
502
503IDEA plug-in:
504
505First release!
506
507Documentation:
508
509Added: Brand new look!!!
510Added: Section on testng.xml
511Fixed: Numbering of sections
512
513===========================================================================
514
5152.4
516Changed: New package: testng.org
517Fixed: Bug with @ExpectedException occuring the parallel mode
518Fixed: Bug with parameters and beforeTest
519Added: IInstanceInfo support
520Fixed: methods were not excluded when included by groups
521Fixed: testng-failures.xml is now including also the beforeSuite/afterSuite methods
522Fixed: generating the testng-failures.xml is now working as expected
523Fixed: Factories call all the tests even if some of them fail along the way
524Fixed: Better JUnit support (wasn't creating individual instances)
525Fixed: dependsOnGroups didn't work across different classes
526Added: command line (and Ant) -groups option
527Added: @Parameters (and made parameters attribute deprecated)
528Added: Parameters for constructors
529Fixed: Better interleaving of before/afterTestMethods
530Fixed: Ant task
531Fixed: TestNGException thrown when TestNG conditions are not fulfilled
532
533Documentation:
534- New assert classes
535- New ways to launch
536- JUnitConverter documentation
537- new beforeSuite/afterSuite
538
539===========================================================================
540
5412.3
542
543Fixed: Spaces are now legal in JavaDoc comments
544Added: documentation for @Factory
545Fixed: factories were called multiple times
546Added: beforeSuite and afterSuite
547Fixed: inheritance and scope now working properly for annotations
548Fixed: dependsOnMethods wasn't working for 1.4
549Added: Better stack traces
550Added: Better syntax for included/excluded methods
551Fixed: Better verbose support
552Fixed: Various fixes for the Eclipse plug-in
553Added: Can specify a class name on the command line
554Fixed: Default package bug in JUnitConverter
555Added: Regression tests for JUnitConverter
556Added: -quiet option to JUnitConverter
557
558===========================================================================
559
5602.2
561
562Fixed: Wasn't handling several testng.xml files correctly
563Fixed: Renamed -src to -sourcedir
564Fixed: Complains if no sourcedir is specified in 1.4
565Added: In 1.4, don't require annotations="javadoc"
566Fixed: If setUp fails, complain and mark test methods as skips
567Fixed: Dependent methods weren't working for 1.4
568
569===========================================================================
570
5712.1
572
573Added: Parser can accept an InputStream for testng.xml
574Fixed: expected-exceptions now fails if test passes
575Fixed: reports now use the suite name in HTML
576Added: invocationCount and successPercentage
577Added: dependsOnMethods
578Added: timeOut works in non-parallel mode
579
580===========================================================================
581
5822.0
583
584Added: port on JDK 1.4
585
586===========================================================================
587
5881.3
589
590Added: new view: classes (still experimental)
591Added: timeout on methods
592Added: thread-count
593Added: TestNG is now multithread, see "parallel" in <suite>
594
595===========================================================================
596
5971.2
598
599Added: JUnitConverter
600Fixed: Bug with afterClasses (test: AfterClassCalledAtTheEnd)
601
602===========================================================================
603
6041.1
605
606Added: new links for methods and groups in the HTML report
607Added: <methods>
608Added: <fileset> to <testng>
609
610===========================================================================
611
6121.0
613
614Fixed: Updated to the new DTD
615Fixed: Suite table of contents displays failures first
616Fixed: Bug in afterTestClass
617Added: Validating testng.xml
618Added: Scoped parameters
619Added: testng.xml
620Removed: Property quiet
621Changed: Verbose is now an integer
622Added: Dependent methods
623
624===========================================================================
625
6260.9
627
628Added: Groups of groups
629Added: Groups for Configuration methods
630Added: Parameters
631
632===========================================================================
633
6340.2
635
636Fixed: Merged TestMethod and TestClass into Test
637Added: HTML report
638Added: Regexps for groups
639Fixed: Inheritance of methods
640Fixed: ExpectedException is now called ExpectedExceptions