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