blob: 0ac6ba2f4f66b485646e9a247cb4e7dd5a575de0 [file] [log] [blame]
cbeuste4e7d242008-04-06 04:16:13 +00001===========================================================================
25.9
cbeust01f74792008-04-06 17:33:25 +00003
4Added: -testjar supports jar file with no testng.xml file
5Fixed: TESTNG-231: NullPointerException thrown converting a suite to XML (Mark)
cbeuste4e7d242008-04-06 04:16:13 +00006
cbeustf3016e42008-04-06 18:56:04 +00007Doc:
8Added -testjar
9
cbeuste4e7d242008-04-06 04:16:13 +000010===========================================================================
cbeustd9cf8a02008-02-17 23:38:26 +0000115.8
the.mindstorm3a238872007-11-15 01:44:32 +000012
cbeust5191a182008-03-23 04:50:22 +000013Fixed: TestNG-220: Ignore class definition/loader issues when scanning classpath for implicit classes
cbeustd7d31c12008-03-23 04:02:44 +000014Fixed: TestNG-224: Fix for relative suite filenames in XML file
cbeust3e8cd5c2008-03-23 00:42:16 +000015Added: TestNG-213: @Optional on a method parameter to allow optional @Parameters
cbeust920214e2008-03-23 00:18:18 +000016Fixed: TestNG-214: SkipException and TimeBombSkipException should accept nested exceptions
17Fixed: TestNG-211: new Parser(inputStream) doesn't work
cbeustd9cf8a02008-02-17 23:38:26 +000018Added: Methods that form a cycle are now shown when the cycle is detected
cbeust509aca52008-02-04 01:33:30 +000019Added: Support for <listeners> in testng.xml
cbeustfa27df32008-02-03 22:04:37 +000020Added: IMethodInterceptor
cbeust8b9443a2008-01-02 21:46:34 +000021Added: @TestInstance on a data provider method parameter
cbeustd7e50002007-11-21 18:50:52 +000022Fixed: @AfterMethod(lastTimeOnly) didn't work properly with data providers
the.mindstorm79074792007-11-15 01:57:53 +000023Added: antlib.xml to allow autodiscovery of Ant task definition
the.mindstorm3a238872007-11-15 01:44:32 +000024Fixed: name attribute on <test> is required
cbeustd7e50002007-11-21 18:50:52 +000025
cbeust8edb61b2008-03-23 02:11:47 +000026Doc:
27Added: Method Interceptor
28Added: @Optional
cbeust52b3c922008-04-06 03:40:26 +000029Added: Doc for IMethodInterceptor (5.16) and TestNG listeners (5.18)
cbeust8edb61b2008-03-23 02:11:47 +000030Added: 5.19: Dependency injection
31
the.mindstorm31fbf112006-10-25 23:17:06 +000032===========================================================================
cbeust072b1c02007-06-08 15:06:26 +0000335.7
34
cbeust45a161f2007-11-01 21:37:49 +000035Added: @BeforeMethod(firstTimeOnly) and @AfterMethod(lastTimeOnly)
cbeustec9d2742007-10-30 17:09:57 +000036Added: @BeforeMethods can now take a Method and ITestContext parameters (like @DataProvider)
the.mindstorm29a0d372007-10-02 12:43:25 +000037Fixed: logging about abstract classes moved to level 5
cbeust2c75cc42007-11-08 16:31:32 +000038Added: if @Parameter is missing from testng.xml then it is read from the System properties
cbeust61e3a372007-09-23 06:54:11 +000039Fixed: Don't run a @DataProvider method as a test when a class-level @Test is present
40Added: Attribute @Test#skipFailedInvocations
the.mindstorm04111212007-06-19 00:23:53 +000041Fixed: TESTNG-169 Error message: <method> is depending on nonexistent method null ("null" is uninformative)
cbeust503726b2007-06-18 20:17:49 +000042Fixed: -listener takes comma-separated classes
cbeust072b1c02007-06-08 15:06:26 +000043Added: RetryAnalyzer (experimental) (Jeremie)
44
cbeust072b1c02007-06-08 15:06:26 +000045===========================================================================
cbeuste7ee9202007-01-30 17:46:49 +0000465.6
47
the.mindstormee28d802007-04-12 00:48:56 +000048Added: SkipException/TimeBombedSkipException for manual skipping
cbeust503726b2007-06-18 20:17:49 +000049Added: <tests> can now be disabled at xml level using <test enabled="false">
cbeustc8d9bd62007-03-23 15:06:13 +000050Added: Suite files that only contain other suites do not get reported
cbeustc81cb822007-03-15 11:08:03 +000051Fixed: @BeforeClass methods would incorrectly report cyclic graphs
bileblogfda56212007-03-09 03:12:31 +000052Added: get/setAttribute to ITestContext
the.mindstormaa639c52007-03-07 20:02:47 +000053Added: plugging in factory objects to handle the actual instantiation of tests
cbeust91f466b2007-01-31 05:46:54 +000054Added: dataProvider to @Factory
cbeuste7ee9202007-01-30 17:46:49 +000055Added: ISuite now gives access to the current XmlSuite
the.mindstormc5b9a8c2007-02-13 10:33:16 +000056Fixed: TESTNG-139 dependsOnMethods gets confused when dependency is "protected"
the.mindstormb7e26702007-02-13 10:49:07 +000057Fixed: TESTNG-141 junit attribute set to false in testng-failed.xml when it should be true
the.mindstorm4c2554d2007-02-18 02:08:44 +000058Fixed: TESTNG-142 Exceptions in DataProvider are not reported as failed test
59Added: Improved behavior for @Before/@AfterClass when using @Factory
60(http://forums.opensymphony.com/thread.jspa?threadID=6594&messageID=122294#122294)
61Added: Support for concurrent execution for invocationCount=1 threadPoolSize>1 and @DataProvider
62(http://forums.opensymphony.com/thread.jspa?threadID=64738&tstart=0)
bileblogcc01c6f2007-04-13 15:19:44 +000063Added: New TestNG specific XML report, generated by default in 'xml' subdirectory of test-output
the.mindstorm0f282632007-04-19 00:00:01 +000064Added: support in strprotocol for passing the ITest.getTestName() information
the.mindstorm79718dd2007-04-25 19:58:31 +000065Fixed: TESTNG-152 If DataProvider is not found, the exception message should tell exactly what happened
the.mindstorma30275d2007-04-18 22:39:57 +000066
the.mindstorm6d0b0552007-02-21 23:10:35 +000067Eclipse plug-in
68
69Fixed: Bug that made group launch configurations unusable
the.mindstorma30275d2007-04-18 22:39:57 +000070Fixed: The plugin doesn't create the correct launch configuration for @Factory
71Fixed: Method based launchers cannot be editted
72Fixed: Plugin hangs while executing test with dataprovider that sends \n, \r messages
the.mindstorm0f282632007-04-19 00:00:01 +000073Added: display ITest.getTestName()
bileblogc7104e12007-04-13 12:54:10 +000074
75IDEA plug-in
76
77Fixed: IDEA 7.0 compatibility
78Fixed: occasional 'illegal arguments exception'
79Fixed: TESTNG-151 Final passing test result is not properly hidden
bileblog2bb26842007-04-13 15:18:44 +000080Added: Auto-completion for dependsOnMethods
81Added: Highlighting of invalid groups/methods in dependsOn*
cbeuste7ee9202007-01-30 17:46:49 +000082===========================================================================
the.mindstorm2151a492006-12-13 04:36:44 +0000835.5
84
cbeusta26b36e2007-01-23 23:47:21 +000085Fixed: @BeforeGroup methods were run twice when in a base class
cbeustbab15682007-01-18 00:21:17 +000086Fixed: @BeforeGroup methods were run twice with a @Test at class level
cbeust94b43f72007-01-11 23:57:29 +000087Fixed: parallel="tests" didn't work as advertised
the.mindstorm39c426d2007-01-08 20:24:01 +000088Added: Support for thread-count at test level
cbeustfd841532007-01-03 21:42:51 +000089Added: Method selectors receive a Context and can stop the chain with setStopped()
cbeust88718b42007-01-03 16:31:31 +000090Fixed: XmlMethodSelector was always run first regardless of its priority
the.mindstorm25f69e42006-12-29 02:15:23 +000091Added: @BeforeGroups/@AfterGroups can live in classes without @Test methods
cbeust10efd592006-12-28 18:05:26 +000092Added: DataProvider can now take an ITestContext parameter
cbeuste58af1d2006-12-28 03:17:31 +000093Fixed: Wasn't parsing <selector-class-name> correctly
cbeustf7e88f82006-12-21 23:16:25 +000094Fixed: Annotation Transformers now work on class-level annotations
95Fixed: Some class-level @Test attributes were not always honored
the.mindstorm9a148252006-12-21 22:54:28 +000096Added: Clean separation between @Test invocation events and @Configuration invocation events
97 (see also TESTNG-111)
cbeust57233022006-12-23 16:24:22 +000098Added: Test instances created by @Factory now run in multiple threads in parallel mode
the.mindstorm4a9f5e12006-12-19 20:16:18 +000099Fixed: @Before/@AfterGroups invocation order
the.mindstorm6b388f82006-12-19 16:18:26 +0000100Fixed: TESTNG-27: Parameters are not used on <test> level anymore
the.mindstorm81996212006-12-14 03:01:30 +0000101Fixed: TESTNG-107 don't create an output directory if "outputDirectory" is null
cbeust68566752006-12-14 00:04:29 +0000102Fixed: TESTNG-127 UseDefaultListeners in Ant Task does not work
the.mindstormff19c2b2006-12-13 04:37:25 +0000103Fixed: TESTNG-119 Running TestNG runner with invalid '-sourcedir' on JDK14 JavaDoc annotated test classes won't fail.
the.mindstorm8603fcf2006-12-13 04:37:04 +0000104Fixed: TESTNG-113 Dependent methods within the same static inner class are not found
the.mindstorm2151a492006-12-13 04:36:44 +0000105Fixed: TESTNG-125 TestNG failed for test classes under *.java*.* pakages
106
the.mindstorm531c73e2006-12-22 04:06:09 +0000107Eclipse plug-in
108Fixed: issue with launch configuration
109Fixed: TESTNG-124: setting location of testng reports output
110
the.mindstorm2151a492006-12-13 04:36:44 +0000111===========================================================================
the.mindstorm20e416d2006-11-23 10:47:39 +00001125.4
the.mindstormc70a9de2006-10-31 00:18:31 +0000113
the.mindstorm8ced8ae2006-12-10 03:38:58 +0000114Fixed: Ant task issue with paths containing spaces
the.mindstormfeb9f102006-12-08 17:10:25 +0000115Added: for @BeforeGroups and @AfterGroups specifying the groups() attribute will auto-include the method
116 into those groups by default (previously you had to also provide the value() attribute).
the.mindstorm6b25aa42006-11-23 10:11:35 +0000117Added: the load @Tests (invocationCount + threadPoolSize) are triggered simultaneous
118Fixed: reports are correctly displaying the thread info
the.mindstormf50b6182006-11-02 12:39:37 +0000119Added: @DataProvider name defaults to method name
the.mindstormc70a9de2006-10-31 00:18:31 +0000120Added: support for remote protocol to pass parameter information
121Fixed: TextReporter logs information about the parameters of the test methods
the.mindstorm63d1b812006-11-01 18:29:35 +0000122Fixed: concurrency issue in JUnitXMLReporter
123Fixed: output of JUnitXMLReporter must be CDATA
the.mindstormfd3d6292006-11-12 00:55:45 +0000124Fixed: XML unsupported annotations/parallel attribute values are reported
cbeust125d2472006-09-16 19:49:12 +0000125
the.mindstormb74384c2006-11-25 03:16:51 +0000126Eclipse plug-in
the.mindstormbd2de7a2006-11-30 01:24:05 +0000127Fixed: groups with multi-attribute javadoc annotations
the.mindstormb74384c2006-11-25 03:16:51 +0000128Fixed: consistent behavior for dependsOnMethods
129Fixed: consistent behavior for tests with dependsOnGroups (a warning is emitted)
130Fixed: consistent merge of configuration arguments when an existing launch configuration exists
the.mindstorm7b73a742006-09-14 17:39:29 +0000131===========================================================================
cbeust125d2472006-09-16 19:49:12 +00001325.3
133
the.mindstorm7a14bd82006-10-25 00:56:00 +0000134Fixed: use a single instance of bsh.Interpreter
the.mindstorm55948752006-10-24 12:16:16 +0000135Added: @Before/@AfterMethod can declare a java.lang.reflect.Method parameter to be informed about the @Test method
the.mindstorm957a0e62006-10-20 00:42:42 +0000136Fixed: super classes must not be listed in testng-failures.xml
137Fixed: parallel attribute must not appear if empty or null in testng-failures.xml
the.mindstorm5e5666c2006-10-16 22:07:24 +0000138Fixed: parsing for javadoc annotations is done on request only
139Added: improved multiple suite summary page report
140Added: -target option deprecated in favor of -annotations javadoc|jdk
cbeust9e5d6a02006-10-16 00:39:54 +0000141Fixed: filesets in the ant task didn't work if the paths have spaces in them
the.mindstorm992befd2006-10-10 22:08:48 +0000142Fixed: Before/After Suite were behaving wrong in parallel execution
143Added: A generic/extensible RemoteTestNG was added to the core
the.mindstorm494a8d82006-09-28 23:06:30 +0000144Fixed: Before/AfterGroup-s were behaving wrong when using invocationCount, dataProvider and threadPoolSize
145Fixed: improved support for running different annotation type tests in the same suite
146Fixed: testng-failed.xml was generated even if there were no failures/skipps
147Fixed: -usedefaultlisteners was wrongly passed to JVM instead of TestNG options
cbeust3ee1fe02006-09-26 14:00:26 +0000148Added: Attribute dataProviderClass for @Test and @testng.test
cbeustada98512006-09-22 20:17:00 +0000149Fixed: Forgot to account for cases where both invocationCount and DataProviders are present
cbeust67a9c892006-09-22 05:38:30 +0000150Fixed: AfterGroups were invoked out of order with invocationCount and DataProviders
cbeustada98512006-09-22 20:17:00 +0000151Fixed: Reporter.getOutput() returned an empty array if a timeOut was specified
cbeust2c303722006-09-17 21:04:34 +0000152Added: testng.xml now supports <suite-files>
cbeust125d2472006-09-16 19:49:12 +0000153Added: ant task can receive several listeners
the.mindstorm6a229092006-09-18 06:52:11 +0000154Fixed: TESTNG-109 Skipped tests with expected exceptions are reported as failures
Bill.Michell55cef1b2006-10-13 16:29:44 +0000155Added: ant task can now select the parallel mode for running tests
156Fixed: ant task correctly deals with empty groups and excludedgroups parameters
157Added: ant task can override default suite and test names
158Added: comand line support for setting parallel mode, suite and test names
the.mindstorm7b73a742006-09-14 17:39:29 +0000159
160Eclipse plug-in
161Added: Support for configuring per project usedefaultlisteners
the.mindstorm6a229092006-09-18 06:52:11 +0000162Added: Contextual drop-down menu on failures tab of the TestNG view to enable running/debugging method failure only
163Added: Suppport for configuring per project TestNG jar usage (project provided one or plugin provided one)
cbeust8855dc42006-08-14 20:20:52 +0000164
the.mindstorma10e6b82006-08-06 21:51:57 +0000165===========================================================================
cbeust8bee4072006-08-23 23:32:32 +00001665.2
167
cbeustae569972006-09-11 19:47:01 +0000168Added: "-usedefaultlisteners true/false" to command line and ant
169Added: EmailableReporter (from Paul Mendelson)
cbeust4b9824b2006-09-01 17:34:08 +0000170Added: parallel can now be "methods" or "tests". Boolean version deprecated
cbeustc2408c32006-08-29 17:23:22 +0000171Added: TestNGAntTask now uses the @ syntax to invoke TestNG
cbeust26b0c782006-08-29 16:54:38 +0000172Added: Command line understands @ syntax
cbeuste24b3802006-08-24 17:47:41 +0000173Added: JUnitConverter uses the new syntax
174Added: -groups to JUnitConverter
cbeust8bee4072006-08-23 23:32:32 +0000175Fixed: Throw proper exception when a DataProvider declares parameters
the.mindstormf91c2a62006-09-03 01:32:44 +0000176Added: completely revamped JUnit support (should run all kind of JUnit tests)
177Fixed: TESTNG-40 (Bug in testng-failed.xml generation)
the.mindstorm2ea93332006-09-04 23:59:44 +0000178Fixed: TESTNG-106 (Failed "@BeforeSuite" method just skipps the last test in xml-file)
179Fixed: Success on 0 tests (http://forums.opensymphony.com/thread.jspa?threadID=41213)
the.mindstormf91c2a62006-09-03 01:32:44 +0000180
181Eclipse plug-in
182Added: TESTNG-105 Automaticaly define TESTNG_HOME classpath variable
cbeust8bee4072006-08-23 23:32:32 +0000183
184===========================================================================
the.mindstorma10e6b82006-08-06 21:51:57 +00001855.1
cbeust336f0ef2006-08-01 22:50:26 +0000186
cbeust8855dc42006-08-14 20:20:52 +0000187Added: @Test(sequential = true)
cbeustca895ef2006-08-09 21:34:51 +0000188Fixed: TESTNG-102 (Incorrect ordering of @BeforeMethod calls when a dependency is specified)
the.mindstorm997a5932006-08-11 19:34:04 +0000189Fixed: TESTNG-101 (HTML output contains nested <P> tags and a missing <tr> tag)
the.mindstorma10e6b82006-08-06 21:51:57 +0000190Added: support for specifying test-only classpath (http://forums.opensymphony.com/thread.jspa?messageID=78048&tstart=0)
191Fixed: TESTNG-93 (method selectors filtering @BeforeMethod)
192Fixed: TESTNG-81 (Assert.assertFalse() displays wrong expected, actual value)
193Fixed: TESTNG-59 (multiple method selectors usage results in no tests run)
194Fixed: TESTNG-56 (invocation of @Before/AfterClass methods in parallel/sequential scenarios)
195Fixed: TESTNG-40 (failures suite does not contain @Before/After Suite/Test methods)
196Fixed: TESTNG-37 (allow passing null parameter value from testng.xml)
197Fixed: TESTNG-7 (display classname when hovering method)
198
199
200Eclipse plug-in
201
202Added: run contextual test classes with parameters from suite definition files
203Added: TESTNG-100 (Show HTML reports after running tests)
the.mindstorm13e8f502006-08-11 20:27:14 +0000204Added: TESTNG-97 (Double click top stack to raise comparison)
the.mindstorma10e6b82006-08-06 21:51:57 +0000205Added: TESTNG-84 (plug-in UI for suite option should support absolute path)
206Added: TESTNG-20 (copy stack trace)
207
208Fixed: TESTNG-72 (display groups with non-array values)
209Fixed: TESTNG-64 (Eclipse plug-in applies added groups to all launch configurations)
210Fixed: TESTNG-28 (Cannot select groups from dependent eclipse projects)
211Fixed: TESTNG-25 (do not display fully qualified method name when running contextual test class)
212
213Improved behavior:
214 TESTNG-98 (temporary files have guaranteed fixed names)
215 TESTNG-95 (Assertion failed comparison trims trailing ">")
cbeust96761aa2006-08-15 17:31:35 +0000216 TESTNG-70 (TestNG prevents eclipse from opening an older CVS version of a java class)
the.mindstorma10e6b82006-08-06 21:51:57 +0000217 display of test hierarchy information (TESTNG-29)
218
cbeust336f0ef2006-08-01 22:50:26 +0000219===========================================================================
220
2215.0.1
222
223Eclipse plug-in
224
225Added: Output directory for the tests
226Added: Can now specify listener classes
227
228===========================================================================
2295.0.1
230
231Fixed: reports generated by SuiteHTMLReporter do not work with JDK1.4
232
233===========================================================================
234
2355.0
236
237Added: Ant task: support for JVM, workingDir, timeout
238Added: Stack traces can be interactively shown in the HTML reports
239Added: Link to testng.xml in the reports
240Added: New structure for reports, suites go in their individual directory
241Added: @Test(suiteName) and @Test(testName)
242Added: The stack traces in reports do not include TestNG frames (system property testng.exception)
243 (see: http://groups.google.com/group/testng-dev/browse_thread/thread/9f4d46ade10b0fda)
244Fixed: Exit with error when no methods are run
245 (see: http://groups.google.com/group/testng-dev/browse_thread/thread/3c26e8a5658f22ac)
246Added: List of methods in alphabetical order
247Fixed: Class-scoped annotations were not recognized when inherited
248Added: Deprecated @Configuration and introduced @BeforeSuite/Test/Class/TestMethod
249Added: Deprecated @ExpectedExceptions and moved it into @Test
250Added: expectedExceptions to @Test, deprecated @ExpectedExceptions
251Added: New annotations: @BeforeSuite, @BeforeTest, etc...
252Fixed: Was returning an exit code of 0 if a cyclic graph was detected
253Added: Interface org.testng.ITest so that tests can declare a name
254Fixed: The Text reporter was reporting the square of the actual number of methods
255Fixed: Bug reported by Eran about dependencies with an afterClass method
256Added: IHookCallBack now receives the ITestResult in its run() method
257Added: Name of suite for command line can be set with -Dtestng.suite.name=xxx
258Fixed: TestNGAntTask was hardcoding m_haltOnFSP to true
259Fixed: Passing a null parameter caused an NPE in the reports
260Added: "listener" to the ant task (and documentation)
261Added: if patch-testng-sourcedir.properties is found in the classpath
262 with a property "sourcedir" containing a ; separated list of
263 directories, this list will override -sourcedir.
264
265===========================================================================
266
267
2684.7
269
270Added: Maven 2 plug-in
271Fixed: Message formattings in TestNG assertion utility class
272Fixed: @Factory methods were counted as @Test as well
273 http://jira.opensymphony.com/browse/TESTNG-51
274Fixed: All DataProvider parameters were shown in the HTML report
275Fixed: Bug in testng-failed.xml generation
276Fixed: <packages> bug when using a jar file to load the test classes
277Added: alwaysRun for before @Configuration methods
278 http://jira.opensymphony.com/browse/TESTNG-35
279Fixed: groupless @Configurations were not invoked if a method depends on a group
280 http://jira.opensymphony.com/browse/TESTNG-45
281Added: beforeGroups/afterGroups to @Configuration
282
283Eclipse plugin:
284
285Added: last contextual launch is available in Eclipse launcher lists
286Fixed: 3.2M5 integration (removed dependency on non-existing class)
287Fixed: testng-failures.xml generation
288
289===========================================================================
290
2914.6
292
293Added: Documentation contains the new reports
294Added: TestNG.setUseDefaultListeners(boolean)
295Added: Descriptions now appear in TextReporter (verbose>=2) and the HTML reports
296Added: description attribute to @Test and @Configuration
297Added: combined Reporter output in the reports
298Added: methods not run in the reports
299Added: org.testng.IReporter
300Added: threadPoolSize to @Test
301Added: Reports now show relative timings (start at 0)
302Added: Reports now show different colors depending on the methods' classes
303Added: Reports now show all parameters used to invoke the test method
304Added: org.testng.Reporter
305Added: DataProviders can accept a Method as first parameter
306Fixed: Extraneous implicit inclusion of a method
307
308Eclipse plugin:
309
310Added: Run/Debug as TestNG test from the editor contextual menu
311Fixed: TESTNG-24: 'Run as testng test' does not appear of the Test annotation does not have a group
312Fixed: TESTNG-18: Eclipse plugin ignores Factory annotation
313Fixed: TESTNG-21: Show differences when double clicking assertion exceptions
314Added: UI allows setting orientation (even more space)
315 http://forums.opensymphony.com/thread.jspa?threadID=17225&messageID=33805#33805
316
317===========================================================================
318
3194.5
320
321Core:
322
323Fixed: Methods were not implicitly included, only groups
324Fixed: Bug with failed parent @Configuration don't skip child @Configuration/@Test invocations
325Fixed: Bug with overridding @Configuration methods (both parent and child were run)
326Fixed: Bug when overriding beforeClass methods in base class (cyclic graph)
327Added: Support for JAAS (see org.testng.IHookable)
328Fixed: Problem with nested classes inside <package name="foo.*"
329Fixed: If a group is not found, mark the method as a skip instead of aborting
330Fixed: testng-failed.xml was not respecting dependencies
331Fixed: class/include method in testng.xml didn't work on default package
332Fixed: DTD only allowed one <define>
333Fixed: ArrayIndexOutOfBoundsException for jMock
334Added: dependsOnMethods can contain methods from another class
335Fixed: JUnitConverter required -restore, not any more (option is now a no-op)
336Fixed: JUnit mode wasn't invoking setName() on test classes
337Added: Regular expressions for classes in <package>
338Added: Distributed TestNG
339Fixed: Command line parameters and testng.xml are now cumulative
340Fixed: Reports now work for multiple suites
341Fixed: Was ignoring abstract classes even if they have non-abstract instances
342Fixed: If setUp() failed, methods were not skipped
343Fixed: Was not clearly indicating when beforeSuite fails
344Added: @Configuration.inheritGroups
345Fixed: inconsistency between testng.xml and objects regarding method selectors
346
347Eclipse plug-in:
348
349New look for the progress view.
350
351===========================================================================
352
3534.4
354
355Core:
356
357Fixed: testng-failures.xml was not excluding methods from base classes
358Fixed: Bug in suites of suites for JUnit mode
359
360===========================================================================
361
3624.3
363
364Core:
365
366Fixed: testng-failures.xml was not excluding methods from base classes
367Fixed: Bug in suites of suites for JUnit mode
368Added: Excluded groups on command line and ant task
369Fixed: When including a group, implicitly include groups depended upon
370Fixed: When depending on several groups, wasn't skipped if one of them failed
371Fixed: Failures weren't reported accurately in the JUnitReports report
372Fixed: Wasn't throwing an exception if depending on a non-existing group
373
374===========================================================================
375
3764.2
377
378Core:
379
380Fixed: wasn't excluding methods in base classes
381Added: alwaysRun for tests (soft dependencies)
382Fixed: Class-level enabled=false were not honored
383Fixed: Bug with multiple dataproviders on same class
384Fixed: Bug with dataprovider defined in the parent class
385Fixed: Bug with dataprovider defined in a subclass
386Fixed: Bug with dataprovider defined in an abstract class
387Fixed: testng-failures generation was excluding the methods even if a failed test depended on it
388
389===========================================================================
390
3914.1
392
393Core:
394
395Added: @DataProviders can return Iterable<Object[]>
396Fixed: Superclass test methods were not called in the presence of a class @Test
397Added: Reporter class to log messages in the HTML reports
398
399===========================================================================
400
4014.0
402
403Core:
404
405Fixed: suite methods now invoked only once in a hierarchy
406Added: @DataProvider and @testng.data-provider
407Fixed: Interleave order now respected for before/afterClass methods
408Added: Can now invoke java -jar testng-2.6.jar <...>
409Added: Support for BeanShell
410Added: Method Selectors (IMethodSelector)
411Fixed: In the absence of dependencies, @Configuration methods respect inheritance
412Fixed: Bug in multithreaded dependencies on methods
413Fixed: dependsOnGroups wasn't working on regular expressions
414Fixed: Bug in <package> when directories contain spaces in their names
415Fixed: Introduced a JDK5 dependency in the JDK1.4 build (getEnclosingClass())
416Fixed: Output directory in ant task was not honored if it didn't exist
417Fixed: Problem with timeout according to
418 http://forums.opensymphony.com/thread.jspa?threadID=6707
419
420Eclipse plug-in:
421
422Fixed: Wasn't handling linked directories correctly
423Fixed: Bug in QuickFix implementation
424Added: Quick Fix for JUnit conversion (Annotations and JavaDoc)
425Fixed: Methods Run as TestNG test
426Added: Package level Run as TestNG test
427Fixed: Resources from the linked directories are using a wrong path when
428 passed to command line TestNG
429
430IDEA plug-in:
431
432Added: Support for JDK 1.4 (both projects and IDEA itself)
433Fixed: Classes that contained only configuration were ignored
434
435===========================================================================
436
4372.5
438
439Added: ITestListener.onTestStart(ITestResult)
440Added: Support for <packages>
441Added: Resource files for easier ant taskdefs
442Fixed: @Configuration methods were not invoked with individual test methods
443Fixed: Bug with ExpectedExceptions
444Fixed: Didn't support nested factory classes
445Fixed: NPE if -target is omitted with JDK 1.4
446Fixed: @Configuration failures in a class would cause other classes to fail
447Added: alwaysRun
448Fixed: beforeTestClass/afterTestClass were broken for a pathological case
449Added: @Configuration(alwaysRun)
450Added: JUnitConverter task
451Fixed: < and > characters in reports were not escaped
452
453Eclipse plug-in:
454
455Fixed: Class dialog wasn't showing @Factory classes
456
457IDEA plug-in:
458
459First release!
460
461Documentation:
462
463Added: Brand new look!!!
464Added: Section on testng.xml
465Fixed: Numbering of sections
466
467===========================================================================
468
4692.4
470Changed: New package: testng.org
471Fixed: Bug with @ExpectedException occuring the parallel mode
472Fixed: Bug with parameters and beforeTest
473Added: IInstanceInfo support
474Fixed: methods were not excluded when included by groups
475Fixed: testng-failures.xml is now including also the beforeSuite/afterSuite methods
476Fixed: generating the testng-failures.xml is now working as expected
477Fixed: Factories call all the tests even if some of them fail along the way
478Fixed: Better JUnit support (wasn't creating individual instances)
479Fixed: dependsOnGroups didn't work across different classes
480Added: command line (and Ant) -groups option
481Added: @Parameters (and made parameters attribute deprecated)
482Added: Parameters for constructors
483Fixed: Better interleaving of before/afterTestMethods
484Fixed: Ant task
485Fixed: TestNGException thrown when TestNG conditions are not fulfilled
486
487Documentation:
488- New assert classes
489- New ways to launch
490- JUnitConverter documentation
491- new beforeSuite/afterSuite
492
493===========================================================================
494
4952.3
496
497Fixed: Spaces are now legal in JavaDoc comments
498Added: documentation for @Factory
499Fixed: factories were called multiple times
500Added: beforeSuite and afterSuite
501Fixed: inheritance and scope now working properly for annotations
502Fixed: dependsOnMethods wasn't working for 1.4
503Added: Better stack traces
504Added: Better syntax for included/excluded methods
505Fixed: Better verbose support
506Fixed: Various fixes for the Eclipse plug-in
507Added: Can specify a class name on the command line
508Fixed: Default package bug in JUnitConverter
509Added: Regression tests for JUnitConverter
510Added: -quiet option to JUnitConverter
511
512===========================================================================
513
5142.2
515
516Fixed: Wasn't handling several testng.xml files correctly
517Fixed: Renamed -src to -sourcedir
518Fixed: Complains if no sourcedir is specified in 1.4
519Added: In 1.4, don't require annotations="javadoc"
520Fixed: If setUp fails, complain and mark test methods as skips
521Fixed: Dependent methods weren't working for 1.4
522
523===========================================================================
524
5252.1
526
527Added: Parser can accept an InputStream for testng.xml
528Fixed: expected-exceptions now fails if test passes
529Fixed: reports now use the suite name in HTML
530Added: invocationCount and successPercentage
531Added: dependsOnMethods
532Added: timeOut works in non-parallel mode
533
534===========================================================================
535
5362.0
537
538Added: port on JDK 1.4
539
540===========================================================================
541
5421.3
543
544Added: new view: classes (still experimental)
545Added: timeout on methods
546Added: thread-count
547Added: TestNG is now multithread, see "parallel" in <suite>
548
549===========================================================================
550
5511.2
552
553Added: JUnitConverter
554Fixed: Bug with afterClasses (test: AfterClassCalledAtTheEnd)
555
556===========================================================================
557
5581.1
559
560Added: new links for methods and groups in the HTML report
561Added: <methods>
562Added: <fileset> to <testng>
563
564===========================================================================
565
5661.0
567
568Fixed: Updated to the new DTD
569Fixed: Suite table of contents displays failures first
570Fixed: Bug in afterTestClass
571Added: Validating testng.xml
572Added: Scoped parameters
573Added: testng.xml
574Removed: Property quiet
575Changed: Verbose is now an integer
576Added: Dependent methods
577
578===========================================================================
579
5800.9
581
582Added: Groups of groups
583Added: Groups for Configuration methods
584Added: Parameters
585
586===========================================================================
587
5880.2
589
590Fixed: Merged TestMethod and TestClass into Test
591Added: HTML report
592Added: Regexps for groups
593Fixed: Inheritance of methods
594Fixed: ExpectedException is now called ExpectedExceptions