blob: 67e0fca9261abd743a35dd7c81f5cbcaf7d0607c [file] [log] [blame]
the.mindstorm31fbf112006-10-25 23:17:06 +00001===========================================================================
the.mindstorm2151a492006-12-13 04:36:44 +000025.5
3
cbeust10efd592006-12-28 18:05:26 +00004Added: DataProvider can now take an ITestContext parameter
cbeuste58af1d2006-12-28 03:17:31 +00005Fixed: Wasn't parsing <selector-class-name> correctly
cbeustf7e88f82006-12-21 23:16:25 +00006Fixed: Annotation Transformers now work on class-level annotations
7Fixed: Some class-level @Test attributes were not always honored
the.mindstorm9a148252006-12-21 22:54:28 +00008Added: Clean separation between @Test invocation events and @Configuration invocation events
9 (see also TESTNG-111)
cbeust57233022006-12-23 16:24:22 +000010Added: Test instances created by @Factory now run in multiple threads in parallel mode
the.mindstorm4a9f5e12006-12-19 20:16:18 +000011Fixed: @Before/@AfterGroups invocation order
the.mindstorm6b388f82006-12-19 16:18:26 +000012Fixed: TESTNG-27: Parameters are not used on <test> level anymore
the.mindstorm81996212006-12-14 03:01:30 +000013Fixed: TESTNG-107 don't create an output directory if "outputDirectory" is null
cbeust68566752006-12-14 00:04:29 +000014Fixed: TESTNG-127 UseDefaultListeners in Ant Task does not work
the.mindstormff19c2b2006-12-13 04:37:25 +000015Fixed: TESTNG-119 Running TestNG runner with invalid '-sourcedir' on JDK14 JavaDoc annotated test classes won't fail.
the.mindstorm8603fcf2006-12-13 04:37:04 +000016Fixed: TESTNG-113 Dependent methods within the same static inner class are not found
the.mindstorm2151a492006-12-13 04:36:44 +000017Fixed: TESTNG-125 TestNG failed for test classes under *.java*.* pakages
18
the.mindstorm531c73e2006-12-22 04:06:09 +000019Eclipse plug-in
20Fixed: issue with launch configuration
21Fixed: TESTNG-124: setting location of testng reports output
22
the.mindstorm2151a492006-12-13 04:36:44 +000023===========================================================================
the.mindstorm20e416d2006-11-23 10:47:39 +0000245.4
the.mindstormc70a9de2006-10-31 00:18:31 +000025
the.mindstorm8ced8ae2006-12-10 03:38:58 +000026Fixed: Ant task issue with paths containing spaces
the.mindstormfeb9f102006-12-08 17:10:25 +000027Added: for @BeforeGroups and @AfterGroups specifying the groups() attribute will auto-include the method
28 into those groups by default (previously you had to also provide the value() attribute).
the.mindstorm6b25aa42006-11-23 10:11:35 +000029Added: the load @Tests (invocationCount + threadPoolSize) are triggered simultaneous
30Fixed: reports are correctly displaying the thread info
the.mindstormf50b6182006-11-02 12:39:37 +000031Added: @DataProvider name defaults to method name
the.mindstormc70a9de2006-10-31 00:18:31 +000032Added: support for remote protocol to pass parameter information
33Fixed: TextReporter logs information about the parameters of the test methods
the.mindstorm63d1b812006-11-01 18:29:35 +000034Fixed: concurrency issue in JUnitXMLReporter
35Fixed: output of JUnitXMLReporter must be CDATA
the.mindstormfd3d6292006-11-12 00:55:45 +000036Fixed: XML unsupported annotations/parallel attribute values are reported
cbeust125d2472006-09-16 19:49:12 +000037
the.mindstormb74384c2006-11-25 03:16:51 +000038Eclipse plug-in
the.mindstormbd2de7a2006-11-30 01:24:05 +000039Fixed: groups with multi-attribute javadoc annotations
the.mindstormb74384c2006-11-25 03:16:51 +000040Fixed: consistent behavior for dependsOnMethods
41Fixed: consistent behavior for tests with dependsOnGroups (a warning is emitted)
42Fixed: consistent merge of configuration arguments when an existing launch configuration exists
the.mindstorm7b73a742006-09-14 17:39:29 +000043===========================================================================
cbeust125d2472006-09-16 19:49:12 +0000445.3
45
the.mindstorm7a14bd82006-10-25 00:56:00 +000046Fixed: use a single instance of bsh.Interpreter
the.mindstorm55948752006-10-24 12:16:16 +000047Added: @Before/@AfterMethod can declare a java.lang.reflect.Method parameter to be informed about the @Test method
the.mindstorm957a0e62006-10-20 00:42:42 +000048Fixed: super classes must not be listed in testng-failures.xml
49Fixed: parallel attribute must not appear if empty or null in testng-failures.xml
the.mindstorm5e5666c2006-10-16 22:07:24 +000050Fixed: parsing for javadoc annotations is done on request only
51Added: improved multiple suite summary page report
52Added: -target option deprecated in favor of -annotations javadoc|jdk
cbeust9e5d6a02006-10-16 00:39:54 +000053Fixed: filesets in the ant task didn't work if the paths have spaces in them
the.mindstorm992befd2006-10-10 22:08:48 +000054Fixed: Before/After Suite were behaving wrong in parallel execution
55Added: A generic/extensible RemoteTestNG was added to the core
the.mindstorm494a8d82006-09-28 23:06:30 +000056Fixed: Before/AfterGroup-s were behaving wrong when using invocationCount, dataProvider and threadPoolSize
57Fixed: improved support for running different annotation type tests in the same suite
58Fixed: testng-failed.xml was generated even if there were no failures/skipps
59Fixed: -usedefaultlisteners was wrongly passed to JVM instead of TestNG options
cbeust3ee1fe02006-09-26 14:00:26 +000060Added: Attribute dataProviderClass for @Test and @testng.test
cbeustada98512006-09-22 20:17:00 +000061Fixed: Forgot to account for cases where both invocationCount and DataProviders are present
cbeust67a9c892006-09-22 05:38:30 +000062Fixed: AfterGroups were invoked out of order with invocationCount and DataProviders
cbeustada98512006-09-22 20:17:00 +000063Fixed: Reporter.getOutput() returned an empty array if a timeOut was specified
cbeust2c303722006-09-17 21:04:34 +000064Added: testng.xml now supports <suite-files>
cbeust125d2472006-09-16 19:49:12 +000065Added: ant task can receive several listeners
the.mindstorm6a229092006-09-18 06:52:11 +000066Fixed: TESTNG-109 Skipped tests with expected exceptions are reported as failures
Bill.Michell55cef1b2006-10-13 16:29:44 +000067Added: ant task can now select the parallel mode for running tests
68Fixed: ant task correctly deals with empty groups and excludedgroups parameters
69Added: ant task can override default suite and test names
70Added: comand line support for setting parallel mode, suite and test names
the.mindstorm7b73a742006-09-14 17:39:29 +000071
72Eclipse plug-in
73Added: Support for configuring per project usedefaultlisteners
the.mindstorm6a229092006-09-18 06:52:11 +000074Added: Contextual drop-down menu on failures tab of the TestNG view to enable running/debugging method failure only
75Added: Suppport for configuring per project TestNG jar usage (project provided one or plugin provided one)
cbeust8855dc42006-08-14 20:20:52 +000076
the.mindstorma10e6b82006-08-06 21:51:57 +000077===========================================================================
cbeust8bee4072006-08-23 23:32:32 +0000785.2
79
cbeustae569972006-09-11 19:47:01 +000080Added: "-usedefaultlisteners true/false" to command line and ant
81Added: EmailableReporter (from Paul Mendelson)
cbeust4b9824b2006-09-01 17:34:08 +000082Added: parallel can now be "methods" or "tests". Boolean version deprecated
cbeustc2408c32006-08-29 17:23:22 +000083Added: TestNGAntTask now uses the @ syntax to invoke TestNG
cbeust26b0c782006-08-29 16:54:38 +000084Added: Command line understands @ syntax
cbeuste24b3802006-08-24 17:47:41 +000085Added: JUnitConverter uses the new syntax
86Added: -groups to JUnitConverter
cbeust8bee4072006-08-23 23:32:32 +000087Fixed: Throw proper exception when a DataProvider declares parameters
the.mindstormf91c2a62006-09-03 01:32:44 +000088Added: completely revamped JUnit support (should run all kind of JUnit tests)
89Fixed: TESTNG-40 (Bug in testng-failed.xml generation)
the.mindstorm2ea93332006-09-04 23:59:44 +000090Fixed: TESTNG-106 (Failed "@BeforeSuite" method just skipps the last test in xml-file)
91Fixed: Success on 0 tests (http://forums.opensymphony.com/thread.jspa?threadID=41213)
the.mindstormf91c2a62006-09-03 01:32:44 +000092
93Eclipse plug-in
94Added: TESTNG-105 Automaticaly define TESTNG_HOME classpath variable
cbeust8bee4072006-08-23 23:32:32 +000095
96===========================================================================
the.mindstorma10e6b82006-08-06 21:51:57 +0000975.1
cbeust336f0ef2006-08-01 22:50:26 +000098
cbeust8855dc42006-08-14 20:20:52 +000099Added: @Test(sequential = true)
cbeustca895ef2006-08-09 21:34:51 +0000100Fixed: TESTNG-102 (Incorrect ordering of @BeforeMethod calls when a dependency is specified)
the.mindstorm997a5932006-08-11 19:34:04 +0000101Fixed: TESTNG-101 (HTML output contains nested <P> tags and a missing <tr> tag)
the.mindstorma10e6b82006-08-06 21:51:57 +0000102Added: support for specifying test-only classpath (http://forums.opensymphony.com/thread.jspa?messageID=78048&tstart=0)
103Fixed: TESTNG-93 (method selectors filtering @BeforeMethod)
104Fixed: TESTNG-81 (Assert.assertFalse() displays wrong expected, actual value)
105Fixed: TESTNG-59 (multiple method selectors usage results in no tests run)
106Fixed: TESTNG-56 (invocation of @Before/AfterClass methods in parallel/sequential scenarios)
107Fixed: TESTNG-40 (failures suite does not contain @Before/After Suite/Test methods)
108Fixed: TESTNG-37 (allow passing null parameter value from testng.xml)
109Fixed: TESTNG-7 (display classname when hovering method)
110
111
112Eclipse plug-in
113
114Added: run contextual test classes with parameters from suite definition files
115Added: TESTNG-100 (Show HTML reports after running tests)
the.mindstorm13e8f502006-08-11 20:27:14 +0000116Added: TESTNG-97 (Double click top stack to raise comparison)
the.mindstorma10e6b82006-08-06 21:51:57 +0000117Added: TESTNG-84 (plug-in UI for suite option should support absolute path)
118Added: TESTNG-20 (copy stack trace)
119
120Fixed: TESTNG-72 (display groups with non-array values)
121Fixed: TESTNG-64 (Eclipse plug-in applies added groups to all launch configurations)
122Fixed: TESTNG-28 (Cannot select groups from dependent eclipse projects)
123Fixed: TESTNG-25 (do not display fully qualified method name when running contextual test class)
124
125Improved behavior:
126 TESTNG-98 (temporary files have guaranteed fixed names)
127 TESTNG-95 (Assertion failed comparison trims trailing ">")
cbeust96761aa2006-08-15 17:31:35 +0000128 TESTNG-70 (TestNG prevents eclipse from opening an older CVS version of a java class)
the.mindstorma10e6b82006-08-06 21:51:57 +0000129 display of test hierarchy information (TESTNG-29)
130
cbeust336f0ef2006-08-01 22:50:26 +0000131===========================================================================
132
1335.0.1
134
135Eclipse plug-in
136
137Added: Output directory for the tests
138Added: Can now specify listener classes
139
140===========================================================================
1415.0.1
142
143Fixed: reports generated by SuiteHTMLReporter do not work with JDK1.4
144
145===========================================================================
146
1475.0
148
149Added: Ant task: support for JVM, workingDir, timeout
150Added: Stack traces can be interactively shown in the HTML reports
151Added: Link to testng.xml in the reports
152Added: New structure for reports, suites go in their individual directory
153Added: @Test(suiteName) and @Test(testName)
154Added: The stack traces in reports do not include TestNG frames (system property testng.exception)
155 (see: http://groups.google.com/group/testng-dev/browse_thread/thread/9f4d46ade10b0fda)
156Fixed: Exit with error when no methods are run
157 (see: http://groups.google.com/group/testng-dev/browse_thread/thread/3c26e8a5658f22ac)
158Added: List of methods in alphabetical order
159Fixed: Class-scoped annotations were not recognized when inherited
160Added: Deprecated @Configuration and introduced @BeforeSuite/Test/Class/TestMethod
161Added: Deprecated @ExpectedExceptions and moved it into @Test
162Added: expectedExceptions to @Test, deprecated @ExpectedExceptions
163Added: New annotations: @BeforeSuite, @BeforeTest, etc...
164Fixed: Was returning an exit code of 0 if a cyclic graph was detected
165Added: Interface org.testng.ITest so that tests can declare a name
166Fixed: The Text reporter was reporting the square of the actual number of methods
167Fixed: Bug reported by Eran about dependencies with an afterClass method
168Added: IHookCallBack now receives the ITestResult in its run() method
169Added: Name of suite for command line can be set with -Dtestng.suite.name=xxx
170Fixed: TestNGAntTask was hardcoding m_haltOnFSP to true
171Fixed: Passing a null parameter caused an NPE in the reports
172Added: "listener" to the ant task (and documentation)
173Added: if patch-testng-sourcedir.properties is found in the classpath
174 with a property "sourcedir" containing a ; separated list of
175 directories, this list will override -sourcedir.
176
177===========================================================================
178
179
1804.7
181
182Added: Maven 2 plug-in
183Fixed: Message formattings in TestNG assertion utility class
184Fixed: @Factory methods were counted as @Test as well
185 http://jira.opensymphony.com/browse/TESTNG-51
186Fixed: All DataProvider parameters were shown in the HTML report
187Fixed: Bug in testng-failed.xml generation
188Fixed: <packages> bug when using a jar file to load the test classes
189Added: alwaysRun for before @Configuration methods
190 http://jira.opensymphony.com/browse/TESTNG-35
191Fixed: groupless @Configurations were not invoked if a method depends on a group
192 http://jira.opensymphony.com/browse/TESTNG-45
193Added: beforeGroups/afterGroups to @Configuration
194
195Eclipse plugin:
196
197Added: last contextual launch is available in Eclipse launcher lists
198Fixed: 3.2M5 integration (removed dependency on non-existing class)
199Fixed: testng-failures.xml generation
200
201===========================================================================
202
2034.6
204
205Added: Documentation contains the new reports
206Added: TestNG.setUseDefaultListeners(boolean)
207Added: Descriptions now appear in TextReporter (verbose>=2) and the HTML reports
208Added: description attribute to @Test and @Configuration
209Added: combined Reporter output in the reports
210Added: methods not run in the reports
211Added: org.testng.IReporter
212Added: threadPoolSize to @Test
213Added: Reports now show relative timings (start at 0)
214Added: Reports now show different colors depending on the methods' classes
215Added: Reports now show all parameters used to invoke the test method
216Added: org.testng.Reporter
217Added: DataProviders can accept a Method as first parameter
218Fixed: Extraneous implicit inclusion of a method
219
220Eclipse plugin:
221
222Added: Run/Debug as TestNG test from the editor contextual menu
223Fixed: TESTNG-24: 'Run as testng test' does not appear of the Test annotation does not have a group
224Fixed: TESTNG-18: Eclipse plugin ignores Factory annotation
225Fixed: TESTNG-21: Show differences when double clicking assertion exceptions
226Added: UI allows setting orientation (even more space)
227 http://forums.opensymphony.com/thread.jspa?threadID=17225&messageID=33805#33805
228
229===========================================================================
230
2314.5
232
233Core:
234
235Fixed: Methods were not implicitly included, only groups
236Fixed: Bug with failed parent @Configuration don't skip child @Configuration/@Test invocations
237Fixed: Bug with overridding @Configuration methods (both parent and child were run)
238Fixed: Bug when overriding beforeClass methods in base class (cyclic graph)
239Added: Support for JAAS (see org.testng.IHookable)
240Fixed: Problem with nested classes inside <package name="foo.*"
241Fixed: If a group is not found, mark the method as a skip instead of aborting
242Fixed: testng-failed.xml was not respecting dependencies
243Fixed: class/include method in testng.xml didn't work on default package
244Fixed: DTD only allowed one <define>
245Fixed: ArrayIndexOutOfBoundsException for jMock
246Added: dependsOnMethods can contain methods from another class
247Fixed: JUnitConverter required -restore, not any more (option is now a no-op)
248Fixed: JUnit mode wasn't invoking setName() on test classes
249Added: Regular expressions for classes in <package>
250Added: Distributed TestNG
251Fixed: Command line parameters and testng.xml are now cumulative
252Fixed: Reports now work for multiple suites
253Fixed: Was ignoring abstract classes even if they have non-abstract instances
254Fixed: If setUp() failed, methods were not skipped
255Fixed: Was not clearly indicating when beforeSuite fails
256Added: @Configuration.inheritGroups
257Fixed: inconsistency between testng.xml and objects regarding method selectors
258
259Eclipse plug-in:
260
261New look for the progress view.
262
263===========================================================================
264
2654.4
266
267Core:
268
269Fixed: testng-failures.xml was not excluding methods from base classes
270Fixed: Bug in suites of suites for JUnit mode
271
272===========================================================================
273
2744.3
275
276Core:
277
278Fixed: testng-failures.xml was not excluding methods from base classes
279Fixed: Bug in suites of suites for JUnit mode
280Added: Excluded groups on command line and ant task
281Fixed: When including a group, implicitly include groups depended upon
282Fixed: When depending on several groups, wasn't skipped if one of them failed
283Fixed: Failures weren't reported accurately in the JUnitReports report
284Fixed: Wasn't throwing an exception if depending on a non-existing group
285
286===========================================================================
287
2884.2
289
290Core:
291
292Fixed: wasn't excluding methods in base classes
293Added: alwaysRun for tests (soft dependencies)
294Fixed: Class-level enabled=false were not honored
295Fixed: Bug with multiple dataproviders on same class
296Fixed: Bug with dataprovider defined in the parent class
297Fixed: Bug with dataprovider defined in a subclass
298Fixed: Bug with dataprovider defined in an abstract class
299Fixed: testng-failures generation was excluding the methods even if a failed test depended on it
300
301===========================================================================
302
3034.1
304
305Core:
306
307Added: @DataProviders can return Iterable<Object[]>
308Fixed: Superclass test methods were not called in the presence of a class @Test
309Added: Reporter class to log messages in the HTML reports
310
311===========================================================================
312
3134.0
314
315Core:
316
317Fixed: suite methods now invoked only once in a hierarchy
318Added: @DataProvider and @testng.data-provider
319Fixed: Interleave order now respected for before/afterClass methods
320Added: Can now invoke java -jar testng-2.6.jar <...>
321Added: Support for BeanShell
322Added: Method Selectors (IMethodSelector)
323Fixed: In the absence of dependencies, @Configuration methods respect inheritance
324Fixed: Bug in multithreaded dependencies on methods
325Fixed: dependsOnGroups wasn't working on regular expressions
326Fixed: Bug in <package> when directories contain spaces in their names
327Fixed: Introduced a JDK5 dependency in the JDK1.4 build (getEnclosingClass())
328Fixed: Output directory in ant task was not honored if it didn't exist
329Fixed: Problem with timeout according to
330 http://forums.opensymphony.com/thread.jspa?threadID=6707
331
332Eclipse plug-in:
333
334Fixed: Wasn't handling linked directories correctly
335Fixed: Bug in QuickFix implementation
336Added: Quick Fix for JUnit conversion (Annotations and JavaDoc)
337Fixed: Methods Run as TestNG test
338Added: Package level Run as TestNG test
339Fixed: Resources from the linked directories are using a wrong path when
340 passed to command line TestNG
341
342IDEA plug-in:
343
344Added: Support for JDK 1.4 (both projects and IDEA itself)
345Fixed: Classes that contained only configuration were ignored
346
347===========================================================================
348
3492.5
350
351Added: ITestListener.onTestStart(ITestResult)
352Added: Support for <packages>
353Added: Resource files for easier ant taskdefs
354Fixed: @Configuration methods were not invoked with individual test methods
355Fixed: Bug with ExpectedExceptions
356Fixed: Didn't support nested factory classes
357Fixed: NPE if -target is omitted with JDK 1.4
358Fixed: @Configuration failures in a class would cause other classes to fail
359Added: alwaysRun
360Fixed: beforeTestClass/afterTestClass were broken for a pathological case
361Added: @Configuration(alwaysRun)
362Added: JUnitConverter task
363Fixed: < and > characters in reports were not escaped
364
365Eclipse plug-in:
366
367Fixed: Class dialog wasn't showing @Factory classes
368
369IDEA plug-in:
370
371First release!
372
373Documentation:
374
375Added: Brand new look!!!
376Added: Section on testng.xml
377Fixed: Numbering of sections
378
379===========================================================================
380
3812.4
382Changed: New package: testng.org
383Fixed: Bug with @ExpectedException occuring the parallel mode
384Fixed: Bug with parameters and beforeTest
385Added: IInstanceInfo support
386Fixed: methods were not excluded when included by groups
387Fixed: testng-failures.xml is now including also the beforeSuite/afterSuite methods
388Fixed: generating the testng-failures.xml is now working as expected
389Fixed: Factories call all the tests even if some of them fail along the way
390Fixed: Better JUnit support (wasn't creating individual instances)
391Fixed: dependsOnGroups didn't work across different classes
392Added: command line (and Ant) -groups option
393Added: @Parameters (and made parameters attribute deprecated)
394Added: Parameters for constructors
395Fixed: Better interleaving of before/afterTestMethods
396Fixed: Ant task
397Fixed: TestNGException thrown when TestNG conditions are not fulfilled
398
399Documentation:
400- New assert classes
401- New ways to launch
402- JUnitConverter documentation
403- new beforeSuite/afterSuite
404
405===========================================================================
406
4072.3
408
409Fixed: Spaces are now legal in JavaDoc comments
410Added: documentation for @Factory
411Fixed: factories were called multiple times
412Added: beforeSuite and afterSuite
413Fixed: inheritance and scope now working properly for annotations
414Fixed: dependsOnMethods wasn't working for 1.4
415Added: Better stack traces
416Added: Better syntax for included/excluded methods
417Fixed: Better verbose support
418Fixed: Various fixes for the Eclipse plug-in
419Added: Can specify a class name on the command line
420Fixed: Default package bug in JUnitConverter
421Added: Regression tests for JUnitConverter
422Added: -quiet option to JUnitConverter
423
424===========================================================================
425
4262.2
427
428Fixed: Wasn't handling several testng.xml files correctly
429Fixed: Renamed -src to -sourcedir
430Fixed: Complains if no sourcedir is specified in 1.4
431Added: In 1.4, don't require annotations="javadoc"
432Fixed: If setUp fails, complain and mark test methods as skips
433Fixed: Dependent methods weren't working for 1.4
434
435===========================================================================
436
4372.1
438
439Added: Parser can accept an InputStream for testng.xml
440Fixed: expected-exceptions now fails if test passes
441Fixed: reports now use the suite name in HTML
442Added: invocationCount and successPercentage
443Added: dependsOnMethods
444Added: timeOut works in non-parallel mode
445
446===========================================================================
447
4482.0
449
450Added: port on JDK 1.4
451
452===========================================================================
453
4541.3
455
456Added: new view: classes (still experimental)
457Added: timeout on methods
458Added: thread-count
459Added: TestNG is now multithread, see "parallel" in <suite>
460
461===========================================================================
462
4631.2
464
465Added: JUnitConverter
466Fixed: Bug with afterClasses (test: AfterClassCalledAtTheEnd)
467
468===========================================================================
469
4701.1
471
472Added: new links for methods and groups in the HTML report
473Added: <methods>
474Added: <fileset> to <testng>
475
476===========================================================================
477
4781.0
479
480Fixed: Updated to the new DTD
481Fixed: Suite table of contents displays failures first
482Fixed: Bug in afterTestClass
483Added: Validating testng.xml
484Added: Scoped parameters
485Added: testng.xml
486Removed: Property quiet
487Changed: Verbose is now an integer
488Added: Dependent methods
489
490===========================================================================
491
4920.9
493
494Added: Groups of groups
495Added: Groups for Configuration methods
496Added: Parameters
497
498===========================================================================
499
5000.2
501
502Fixed: Merged TestMethod and TestClass into Test
503Added: HTML report
504Added: Regexps for groups
505Fixed: Inheritance of methods
506Fixed: ExpectedException is now called ExpectedExceptions