blob: afc58b0f86d21ff2d58615195a80b6ba0313cb11 [file] [log] [blame]
Eduardo Born50deaac2015-10-19 10:51:19 -05001Current
Julien Herr5bee8042015-11-30 15:08:08 +01002Fixed: GITHUB-841: testName from @Test is now used and available from ITestResult#getName() and ITestResult#getTestName() (Julien Herr)
Julien Herrf325d9a2015-11-05 15:53:08 +01003New: GITHUB-776: Add BeforeClass/AfterClass like on ITestListener (@vguna & Julien Herr)
Krishnan Mahadevanfd7a5be2015-11-09 08:40:42 +05304Fixed: GITHUB-872: Enable end-users of TestNG to alter XmlSuite and XmlTest (Krishnan Mahadevan)
Julien Herr5bee8042015-11-30 15:08:08 +01005New: GITHUB-900: Support @Listeners in annotation transformer (Julien Herr)
6New: GITHUB-898: Activate XML validation when possible (Julien Herr)
7Fixed: GITHUB-889: XmlSuite in nested directories results in FIleNotFoundException (Virender Singh)
8Fixed: GITHUB-811: Timeout is not working with parallel=tests (@michael-yxf & Julien Herr)
9Fixed: GITHUB-839: Missing encoding meta data for report file (@banbq & Julien Herr)
10Fixed: GITHUB-876: NullPointerException creating tests with parameters by a factory (@vixgeo & Julien Herr)
11New: GITHUB-886: Add some checks on factory methods (Julien Herr)
12New: GITHUB-874 / GITHUB-875 / GITHUB-882 / GITHUB-850 : Some code cleanup (Testo Nakada)
13Fixed: GITHUB-866 / GITHUB-869 : Some attributes were not cloned when XmlSuite#clone was used (Virender Singh)
14Fixed: GITHUB-842: Add TestResult#getTestName() support for @Test(testName) (Julien Herr)
Mathieu SEBIRE2a2b5bd2015-05-17 20:11:57 +020015
Cedric Beust97d1d2c2015-10-26 17:55:08 -0700166.9.9:
Julien Herr2080eea2015-10-30 15:50:57 +0100172015/10/27
Cedric Beust97d1d2c2015-10-26 17:55:08 -070018
Julien Herr1473c302015-10-23 23:06:18 +020019Fixed: GITHUB-829: Allowing suites to have duplicate names. You can now configure the same suite-file to run multiple times. (Eduardo Born)
20Fixed: GITHUB-834: nested suites not supported by 'testnames' (Tibor Digana & Julien Herr)
21
226.9.8:
232015/10/12
24
25Replace 6.9.7 that was build with Java8 by error.
26
276.9.7:
28No official release
29
dundacekc4c8c522015-09-11 15:37:41 +020030Fixed: GITHUB-798: Set suitethreadpoolsize for Maven Surefire (Jan Dundáček)
Julien Herr21be15f2015-08-15 13:41:55 +020031Fixed: GITHUB-171: ISuiteListener methods called multiple times if multiple test elements (Daniel Qian & Julien Herr)
Julien Herr06439102015-08-15 19:18:34 +020032Fixed: GITHUB-169: IInvokedMethodListener methods executed several times before/after each test method (Mario Duarte & Julien Herr)
Julien Herraf1296a2015-09-19 22:17:33 +020033Fixed: GITHUB-154: MethodInterceptor will be called twice (Tim wu & Julien Herr)
Ryan Schmitt60622b42015-07-18 18:08:07 -070034
Julien Herr4a738572015-08-15 20:39:29 +0200356.9.6:
362015/07/15
37
38New: GITHUB-717: Add assertThrows and expectThrows (Ryan Schmitt)
39Fixed: GITHUB-755: Fixed reporting of retried tests (Ryan Schmitt)
Julien Herr6ba31942015-08-06 09:12:10 +020040Fixed: GITHUB-773: Test should not be skipped when the exception is expected (@CandyLiuM & Julien Herr)
Julien Herr4a738572015-08-15 20:39:29 +020041
426.9.5:
432015/07/12
Cedric Beust8ddff4d2015-07-11 16:30:46 -070044
Cedric Beust31db9e12015-05-17 18:58:22 -070045Fixed: The ServiceLoaderTest on Windows (Mathieu Sebire)
Mathieu SEBIRE2a2b5bd2015-05-17 20:11:57 +020046Fixed: GITHUB-691: Fix classloading issue when using TestNG 6.9.4 and JMockit. (Mathieu Sebire)
Julien Herreb7327c2015-05-21 18:17:54 +020047Fixed: GITHUB-686: IAnnotationTransformer.transform is called for methods with testClass populated. (Łukasz Rekucki & Julien Herr)
Julien Herr9f006772015-05-12 22:22:00 +020048Fixed: GITHUB-420: Before/AfterSuite methods may not run, when use inheritance, and enabled=false (Jakub Tokaj & Julien Herr)
Ryan Schmittee9cb2e2015-05-30 20:56:48 -070049Fixed: GITHUB-697: Make addFailedInvocationNumber thread-safe (Ryan Schmitt)
50Fixed: GITHUB-698: Fix exit code reporting when IRetryAnalyzer is used (Ryan Schmitt)
Julien Herr9fdab352015-05-29 09:55:20 +020051Fixed: GITHUB-465: assertEquals(Collection, Collection) prints "null" when collections are different sizes (Michael Diamond)
Julien Herra2e352c2015-06-10 01:28:42 +020052New: GITHUB-710: AppVeyor is used for continuous integration on Windows (Julien Herr)
53Fixed: GITHUB-599: IHookable ignored when a timeout is set (@ryanlevell & Julien Herr)
Julien Herr6590b7b2015-06-13 09:43:36 +020054New: GITHUB-723: Allow users to add their own suite parser (Julien Herr)
Julien Herrbc610fb2015-06-27 11:01:30 +020055Fixed: Allow '-testnames' option to work with '-xmlpathinjar' (@earthling)
56Fixed: GITHUB-739: TestNG skips all test classes from suite when a @BeforeClass fails (Priyanshu Shekhar & Julien Herr)
Julien Herr4dea9ec2015-06-27 14:54:08 +020057Fixed: GITHUB-471: If @beforeMethod or @afterMethod fails then all children of the same base class will be skipped (Anton Panferov & Julien Herr)
Cedric Beust64f4ac12015-07-10 08:13:57 -070058Fixed: GITHUB-595: testng hang at switching test cases when running test cases with high thread count (vit0rg)
Mathieu SEBIRE2a2b5bd2015-05-17 20:11:57 +020059
Cedric Beust8a074ce2015-05-21 18:32:36 -070060Eclipse:
61
62Fixed: The 57% freeze bug (Patrick Hensley and @denyska)
63
Mathieu SEBIRE2a2b5bd2015-05-17 20:11:57 +0200646.9.4:
652015/05/09
66
Julien Herr4f8564f2015-04-07 18:29:47 +020067Added: GITHUB-631: Avoid the static limitation of external DataProvider. (Julien Herr)
68Added: GITHUB-631: Allow to use Guice injection in DataProvider. (Julien Herr)
Julien Herr17708852015-03-12 09:51:55 +010069Added: Drop support of Java6 and previous.
70Added: GITHUB-617: Allow injection of org.testng.ITestContext into the guice parent module. (Julien Herr)
Julien Herr8a265d42015-04-24 11:32:56 +020071Fixed: GITHUB-606: RetryAnalyzer loops endlessly. (Krishnan Mahadevan)
72Fixed: GITHUB-618: Start TestNG from jar cause recursive run of tests from packages in Suite XML without ".*" on the end (Stas Gromov)
73Fixed: GITHUB-639: Typo on preserveOrder (tabei-k & Julien Herr)
74Fixed: GITHUB-632: Typo in doc (Pétur Ingi Egilsson & Julien Herr)
75Fixed: GITHUB-629: InvokedMethod doesn't recognize configuration method (Jan Mewes & Julien Herr)
76Fixed: GITHUB-615: XmlSuite, XmlTest: Time-out tag not preserved (jphollingworth & Julien Herr)
77New: GITHUB-638: Travis CI is used for continuous integration (Julien Herr)
78New: GITHUB-647: SonarQube is used to follow technical debt (Julien Herr)
79Added: GITHUB-616: org.testng.internal.Version will be always up-to-date (Julien Herr)
80Fixed: GITHUB-634: Review of the collections package (Julien Herr)
81Fixed: GITHUB-624: Fixed failure/error inversion in JUnitReportReporter (Jerome Jacob)
82Fixed: GITHUB-545: TestNG running JUnit tests but not reporting all results for parameterized tests (Jonathan Leitschuh & jdillet)
83Fixed: GITHUB-610: CustomizedSuites must be saved using utf-8 encoding (Juha Heljoranta)
84Fixed: GITHUB-602: NoClassDefFoundError in TestNGClassFinder.<init> (aanno)
Julien Herr29a25302015-04-27 14:34:15 +020085Fixed: GITHUB-529: Close InputStream and OuputStream after use (Andrew Gaul)
86Fixed: GITHUB-532: Create the parent directory if it's missing (Ion Savin)
87Fixed: GITHUB-541: Some OSGi manifest fixes (Evgeny Zhuravlev)
88Fixed: GITHUB-657: Fix OSGI Import-Package to make jUnit4 dependency optional (Xavier Fournet)
89Fixed: GITHUB-523: externally synchronize our use of the static SimpleDateFormat (mcosby)
90Fixed: GITHUB-477: Typo in DTD attribute comment (Kamil Szymański)
91Fixed: GITHUB-353: Typo in documentation (Jan Święcki)
92Fixed: GITHUB-656: Upgrade to JCommander 1.48 (Ryan Schmitt)
93Fixed: GITHUB-582: TestNG tests don't pass reliably on JDK8 (Ryan Schmitt)
94New: GITHUB-645: TestNG project on Google Code redirect to GitHub
Julien Herr78c26492015-04-29 11:22:55 +020095Fixed: GITHUB-310: Upgrade Guice (kronar & Julien Herr)
Julien Herrc01bac12015-05-06 22:09:13 +020096Fixed: GITHUB-87: @BeforeSuite/@BeforeTest methods happens to be disabled by mistake (romlom & Julien Herr)
Julien Herrd1612d32015-05-06 23:51:37 +020097Fixed: GITHUB-425: Wrong invocation order with lastTimeOnly (Rafael Winterhalter & Julien Herr)
Julien Herr36a896b2015-05-07 13:34:28 +020098Fixed: GITHUB-417: Expected Exceptions Message fails to match multi-line messages (Michael Diamond)
cguillaumed4890542015-05-09 15:25:54 -070099New: GITHUB-663: Add Guice Stage configuration for a suite (Clément Guillaume)
Julien Herr8a265d42015-04-24 11:32:56 +0200100
1016.8.21:
1022015/02/02
Cedric Beustcaa93562010-08-05 14:54:45 -0700103
Cedric Beustcfae43d2015-01-14 09:37:43 -08001046.8.15:
Julien Herr8a265d42015-04-24 11:32:56 +02001052015/01/14
Cedric Beustcfae43d2015-01-14 09:37:43 -0800106
107Fixed: OutOfMemoryException while generating reports.
108Fixed: GITHUB-566: Build does not fail when successPercentage for @Test is not met
109Fixed: XmlTest#setGroupInstances was not being shown in toXml().
110Fixed: GITHUB-376: Some results can be lost (Konstantin Savin).
Nalin Makara306ac22013-06-02 17:24:30 -0700111Fixed: Handle relative paths of Suite XML files properly (Nalin Makar)
Cedric Beust38f34ca2013-04-26 22:17:09 -0700112
Cedric Beust13683112013-05-14 00:05:17 -07001136.8.5:
1142013/05/13
115
116Fixed: the OutOfMemoryException in reports
117Fixed: Surefire + listeners "Can't load class" problem
118
Cedric Beust38f34ca2013-04-26 22:17:09 -0700119===========================================================================
1206.8.1
1212013/03/30
122
Cedric Beust8af17d42012-08-12 11:33:26 -0700123Added: Descriptions in the HTML reports
Cedric Beustb5fa0c02012-12-07 09:33:52 -0800124Added: Various improvements to EmailableReporter (Abraham Lin)
Cedric Beust6e0546d2013-02-02 18:02:56 -0800125Added: Allow injection of java.lang.reflect.Constructor and org.testng.ITestNGMethod into DataProvide (Vladislav Rassokhin)
Cedric Beust38f34ca2013-04-26 22:17:09 -0700126Fixed: Assertions in the Assertions class were not failing properly.
127Fixed: GITHUB-337: ConfigurationMethod#m_instance set to Boolean.FALSE due to incorrect constructor call in clone() + auto-boxing (davidely)
Cedric Beust7cfe33d2013-02-24 23:50:16 -0800128Fixed: Fix NPE for dependency methods/groups (Krishnan Mahadevan)
Cedric Beustb5fa0c02012-12-07 09:33:52 -0800129Fixed: preserve-order bug (found by VladSarrokhin).
Cedric Beust53ba5af2012-11-11 22:18:10 -0800130Fixed: GITHUB-300: OutOfMemoryException from reporters when there are a lot of tests
131Fixed: GITHUB-137: Main parameters with a default value should be overridden if a main parameter is specified
132Fixed: GITHUB-107: Allow enum values without converting them to uppercase.
Cedric Beust0766c452012-08-25 16:12:10 -0700133Fixed: @Guice with no modules specified is now supported
Cedric Beust3b368262012-08-02 11:36:17 -0700134Fixed: Reporter.log() invoked from listeners were being discarded
135
Cedric Beust33f6e632012-08-09 07:24:12 -0700136Eclipse:
137Added: Predefined listeners (Tim Wu)
Cedric Beustef706402012-08-25 13:14:51 -0700138Fixed: Compare dialog
Cedric Beust33f6e632012-08-09 07:24:12 -0700139
Cedric Beustc0b39652012-07-17 08:10:54 -0700140===========================================================================
1416.7
1422012/07/15
143
Cedric Beust003d82b2012-06-06 20:28:47 -0700144Added: Big performance improvement when generating the reports (Frank Pavageau)
Cedric Beust12900252012-05-28 17:27:10 -0700145Added: <dependencies> allows you to specify group dependencies in testng.xml
Cedric Beust6c06a0c2012-06-16 14:08:16 -0700146Added: Blow up early if trying to include/exclude an unknown method
Cedric Beustd1d34f22012-07-10 06:58:05 -0700147Added: <parameters> can now be specified under <include> (Storm Qi)
Cedric Beust5656a132012-07-10 07:16:50 -0700148Added: GITHUB-243: Add Reporter Output per Test in XMLReporter (dunse)
Cedric Beust02ecc242012-07-14 08:48:19 -0700149Fixed: Better HTML escaping of the stack traces
Cedric Beustd1d34f22012-07-10 06:58:05 -0700150Fixed: The failed assertions now use [] as delimiters instead of <> (better for the HTML reports)
Cedric Beust4d8b56a2012-07-01 19:35:31 -0700151Fixed: GITHUB-237: Wrong time format in XML reporter
Cedric Beusta2160ff2012-06-27 10:56:27 -0700152Fixed: Threads were started sequentially instead of being interleaved
Cedric Beust9eed55b2012-06-23 10:07:26 -0700153Fixed: dataProvider(parallel = true) was not killing its threads properly
Cedric Beustd48000e2012-06-17 00:09:00 -0700154Fixed: XmlSuite#toXml wasn't outputting the <groups> tag correctly
Cedric Beust7dacf6d2012-06-16 13:35:42 -0700155Fixed: testng-failed.xml was not carrying over the parameters from the original testng.xml
Cedric Beust2723c032012-06-16 10:00:39 -0700156Fixed: BeforeClass failing in parent failed to skip methods in sub classes
Cedric Beustb4d24d82012-06-14 22:43:41 -0700157Fixed: Better error message if <suite name=""> is missing
Cedric Beust07fbe572012-06-09 11:30:07 -0700158Fixed: GITHUB-221: Honor excludeGroups on testng tests when run in mixed mode (criccio)
Cedric Beust31dc1872012-04-16 14:52:36 -0700159Fixed: dependsOnGroups = {regexp} wasn't working properly (Alistair Ward)
Cedric Beustecf7f922012-04-12 20:23:32 -0700160Fixed: GITHUB-205: white-space was spelled whitespace in testng.css (carlin-scott)
161
Cedric Beustc6c69bb2012-06-12 13:20:50 -0700162Eclipse:
Cedric Beuste14c1922012-06-14 21:59:50 -0700163Fixed: Environment is not transferred when rerunning failed tests.
Cedric Beustc6c69bb2012-06-12 13:20:50 -0700164Fixed: Rerunning failed tests will preserve the environment of the original launch
165
Cedric Beustecf7f922012-04-12 20:23:32 -0700166===========================================================================
167
Cedric Beustc0b39652012-07-17 08:10:54 -07001686.5.1
Cedric Beustecf7f922012-04-12 20:23:32 -070016904/10/2012
170
Cedric Beust5ccc31d2012-02-21 14:27:53 -0800171Added: <suite allow-return-values="true"> (and in <test> as well)
Cedric Beuste301bc22012-02-28 23:04:28 -0800172Added: data-provider attribute to testng-results.xml
Cedric Beust9e3605c2012-03-13 10:57:15 -0700173Added: Reporter display the results in the same order as test methods (Libor Zoubek)
Lukas Jungmanne5ea2ae2012-03-13 23:52:36 +0100174Added: Support for running JUnit 4 tests (Lukas Jungmann)
175Added: Ability to auto-detect JUnit tests ('-mixed' mode) (Lukas Jungmann)
Lukas Jungmann24fcac62012-03-20 16:26:21 +0100176Added: Support for ResourceCollections in an Ant tasks (requires Ant >= 1.7.0) (Lukas Jungmann)
Cedric Beustfe181fc2012-03-23 12:17:26 -0700177Fixed: GITHUB-198: JUnitReportsReporter use commas in certain locales, which JUnitReports doesn't like
Cedric Beust00e90c12012-03-22 11:03:12 -0700178Fixed: GITHUB-173: Dependent methods executed out-of-order if method names match across classes (jjedMoriAnktah)
Cedric Beust5b756442012-03-07 18:38:40 -0800179Fixed: ThreadLocal<ITestResult> leak (aslakknutsen)
Cedric Beust07ae81b2012-03-02 18:33:49 -0800180Fixed: In the HTML reports, only show the first 100 characters of the parameters
Cedric Beust2343cba2012-02-20 21:22:15 -0800181Fixed: SkippedException are considered as real exception with @Test(expectedExceptions)
182
Cedric Beust3ebee262012-02-26 19:19:37 -0800183Eclipse:
Cedric Beuste883ef12012-03-03 16:53:51 -0800184Fixed: Java constants are properly resolved if they are used as group names (susanin)
185Fixed: @Test(groups = Foo.CONSTANT) (susanin)
Cedric Beust9f066c02012-03-08 16:19:00 -0800186Fixed: Failed tests with allow-return-values="true" were not rerun
Cedric Beust3ebee262012-02-26 19:19:37 -0800187Added: <suite allow-return-values="true"> (and in <test> as well)
188
Cedric Beust2343cba2012-02-20 21:22:15 -0800189===========================================================================
190
1916.4:
19202/15/2012
Cedric Beustad7f7082011-11-23 12:33:08 -0800193
Cedric Beusted9cafa2012-01-04 10:26:01 -0800194Added: @DataProvider(indices) to return specific indices of a data provider
Cedric Beust4e194522011-12-30 08:36:26 -0800195Added: New HTML reports
Cedric Beustb4a69052012-01-25 15:12:36 -0800196Added: configfailurepolicy=continue with DataProviders (toddq)
Cedric Beust1bd27822012-02-02 12:04:52 -0800197Added: ITestResult#getTestContext (bpedman)
Cedric Beust340a87a2012-02-02 11:06:38 -0800198Fixed: invocationCount > 1 + timeOut wasn't timing out properly
Cedric Beust36b13952012-01-25 15:15:37 -0800199Fixed: When running TestNG programmatically, child xml suites are not run (when added using setSuiteFIles()) (Gaurav Gupta)
Cedric Beusta3b81182012-01-04 11:47:28 -0800200Fixed: GITHUB-145: Excessive test method execution (githubCast)
Cedric Beust4e194522011-12-30 08:36:26 -0800201Fixed: GITHUB-149: reversed arguments in failAssertEqualsNoOrder().
Cedric Beustad7f7082011-11-23 12:33:08 -0800202Fixed: EmailableReporter: methods are now *really* sorted chronologically.
203
Cedric Beust9984e7a2011-11-26 09:44:40 -0800204Eclipse:
205
Cedric Beust340a87a2012-02-02 11:06:38 -0800206Added: You can now add the testng.jar sources as a library (Nick Tan)
207Added: Upgraded the plug-in to 3.4+ (Nick Tan)
Cedric Beust9984e7a2011-11-26 09:44:40 -0800208Added: dependsOnGroups now fully supported
209Fixed: @Parameters now works with both ("foo") and ({"foo"}) (davekerber)
210
Cedric Beust8f5659d2011-11-22 14:01:25 -0800211===========================================================================
2126.3.1
21310/22/2011
Cedric Beustad7f7082011-11-23 12:33:08 -0800214
Cedric Beustf65ccef2011-11-21 15:10:51 -0800215Added: New system property: dataproviderthreadcount (Bill Ross)
216Fixed: Configuration methods were reported incorrectly in listeners.
Cedric Beust910ddcb2011-11-07 22:04:12 -0800217Fixed: Was creating too many listeners (Jacek Pulut)
Cédric Beust5e4a8db2011-10-18 23:43:37 -0700218Fixed: IAnnotationTransformer2 beforeTest/afterTest booleans were not being set
Cédric Beust92f635b2011-10-27 21:47:54 -0700219Fixed: GITHUB-92: @BeforeTest method in a super class will be called multiple time when alwayRun = true (Bubuntux)
Cédric Beusta4006aa2011-10-18 00:02:00 -0700220Fixed: GITHUB-111: @AfterClass on base classes run once too many (lrivera)
Cédric Beust09a11dc2011-10-23 13:04:49 -0700221Fixed: GITHUB-107: Displaying 0 tests run if a listener modifies the parameters of the suite
Cédric Beusta4006aa2011-10-18 00:02:00 -0700222
223===========================================================================
2246.3
22510/17/2011
226
Cédric Beust05337512011-09-26 22:53:17 -0700227Added: "description" attribute on <include>, made available on ITestNGMethod#getDescription
Cédric Beust3a1d3382011-09-30 13:48:24 -0700228Added: RemoteTestNG waits infinitely for a connection (Aleksey Kabanov)
Cédric Beustece47a92011-10-05 22:34:39 -0700229Fixed: A method that's both a test and a factory would not invoke its data provider
Cédric Beust7c34e4f2011-10-02 18:41:19 -0700230Fixed: @AfterClass was not called if one of the methods was not enabled (Aleksey Kabanov)
Cédric Beust05337512011-09-26 22:53:17 -0700231Fixed: Groovy access bug
Cédric Beustaa48f782011-08-25 22:16:15 -0700232Fixed: The XML parser doesn't recognize parallel="instances"
Cédric Beustb17252e2011-08-24 10:06:44 -0700233Fixed: NPE when using inner classes
Cédric Beust413eb432011-09-04 12:32:44 -0700234Fixed: GITHUB-90: @AfterClass not being run when the class contains included and not included methods
Cédric Beust3dee4222011-08-24 12:46:26 -0700235Fixed: @AfterClass not being run in some subclassing situations
Cédric Beustb17252e2011-08-24 10:06:44 -0700236
Cédric Beust4a85c6a2011-08-26 09:00:02 -0700237Eclipse:
238
Cédric Beust7c34e4f2011-10-02 18:41:19 -0700239Fixed: Verbose levels specified in suites not respected
Cédric Beust2840ff02011-08-26 09:09:00 -0700240Fixed: Variable substitution in VM arguments is not working properly (svenhoff)
Cédric Beust4a85c6a2011-08-26 09:00:02 -0700241
Cédric Beustb17252e2011-08-24 10:06:44 -0700242===========================================================================
243
2446.2
24508/18/2011
246
Cedric Beust55b90e72011-07-06 10:18:37 -0700247Added: xmlpathinjar to the TestNG ant task
Cedric Beust99c74da2011-07-06 11:00:52 -0700248Added: TestNG can now invoke package protected constructors
Cedric Beustb3a4d752011-07-06 13:25:13 -0700249Added: Injectors created by the @Guice annotation are now shared at the <test> level
Cedric Beust7b198e62011-08-18 14:53:55 -0700250Added: IConfigurationListener is now a public listener, along with a new one: IConfigurationListener2
Cedric Beustc2164112011-08-01 15:15:19 -0700251Added: When a method fails, only dependents of the same instance will be skipped
252Added: parallel=instances for factory instance parallel runs
Cedric Beust53e6fdc2011-08-11 11:15:22 -0700253Added: @Factory(enabled)
Cedric Beust88fa06c2011-08-17 13:43:13 -0700254Fixed: JUnitReports reports now report the cumulated time @{Before,After}Method+@Test for each test method
Cedric Beust342a7852011-08-12 14:49:41 -0700255Fixed: JUnitReports reports have the name of the <test> instead of that of the first class
Cedric Beustb5f3f002011-08-10 13:06:58 -0700256Fixed: Using preserve-order with a factory that creates instances of a different class causes NPE
Cedric Beustd1579792011-08-08 12:37:21 -0700257Fixed: GITHUB-74: Bad ordering of test methods when using a @Factory constructor with dataProvider
Cedric Beust4dc9ed52011-08-09 11:02:34 -0700258Fixed: Changing the test result from success to failure in a listener would still count the test as a success
Cedric Beustf38bbfa2011-08-08 10:56:21 -0700259Fixed: ServiceLoader wasn't resolving correctly if no service loader classloader was specified
Cedric Beust0679dd42011-07-28 12:22:48 -0700260Fixed: Better ordering with mixed priorities and dependencies
Cedric Beusta17da982011-07-28 12:46:26 -0700261Fixed: Improved detection of graph cycles in parallel runs
Cedric Beustcaaf31e2011-07-26 10:24:09 -0700262Fixed: @BeforeTest was invoked multiple times if a factory is used
Cedric Beustd1579792011-08-08 12:37:21 -0700263Fixed: GITHUB-57: Allow usage of package protected constructor of test classes
Cedric Beust12ff94c2011-07-08 10:57:32 -0700264Fixed: Injecting both Object[] and Method in @BeforeMethod didn't always work
265Fixed: testng-results.xml now lists the results chronologically
Cedric Beust0d11e812011-07-11 11:12:01 -0700266Fixed: @Listeners specified on a base class will only be run once per listener class (dbriones)
Cedric Beustbad94772011-07-11 10:53:16 -0700267Fixed: -groups and -excludegroups were no longer overriding testng.xml
Cedric Beust12ff94c2011-07-08 10:57:32 -0700268
269Eclipse:
270
Cedric Beust32ed3962011-07-12 11:53:44 -0700271Added: Each data provider method now has a separate node entry in the TestNG view
Cedric Beust89aff822011-08-09 13:11:40 -0700272Fixed: Nodes in error would sometimes remain green
Cedric Beust12ff94c2011-07-08 10:57:32 -0700273Fixed: The TestNG context menu no longer appears where it shouldn't
Cedric Beust55b90e72011-07-06 10:18:37 -0700274
275===========================================================================
276
2776.1.1
2787/5/2011
279
Cedric Beustfc108082011-07-05 13:27:13 -0700280Fixed: https://github.com/cbeust/testng/issues/56 testng-results.xml was reporting the instance name instead of the method name
Cedric Beust54160fc2011-07-05 13:28:22 -0700281Fixed: NPE when using preserve-order and factories.
Cedric Beust60916e42011-07-05 15:08:35 -0700282Fixed: Depending on a skipped method would not cause a method to be skipped
Cedric Beustfc108082011-07-05 13:27:13 -0700283
284===========================================================================
285
2866.1
2876/30/2011
288
Cedric Beustbcb654d2011-06-08 10:55:30 -0700289Possible backward incompatible changes:
290
291- Don't mutate the value returned by XmlTest#getIncludedGroups and XmlTest#getExcludedGroups.
292Instead, use addIncludedGroup/addExcludedGroup.
293- Failing methods that have dependees will only cause skips in the same instance. Different
294test instances will not be affected
Cedric Beust2354de52011-05-27 09:45:22 -0700295
Cedric Beust1d96b172011-06-21 14:39:15 -0700296Added: Support for ServiceLoader for ITestNGListener
Cedric Beust27dd9e82011-03-24 13:23:12 -0700297Added: @Factory(dataProvider / dataProviderClass) on constructors
Cedric Beust6810cca2011-03-25 12:51:27 -0700298Added: assertNotEquals() to Assert
Cedric Beusta4fde212011-03-24 13:06:17 -0700299Added: assertArrayEquals() to AssertJUnit
Cedric Beustf4f95bf2011-05-12 13:48:10 -0700300Added: Nested classes are now automatically added for consideration for inclusion
Cedric Beust24215382011-05-12 14:25:43 -0700301Added: <suite preserve-order="true"> will cause this attribute to be propagated to all <test> tags
Cedric Beustba016b82011-05-23 15:53:27 -0700302Added: <groups> can now be specified under a <suite>
Cedric Beust6ee92792011-06-03 10:24:57 -0700303Added: Tycho compatibility (Aleksander Pohl)
Cedric Beust8c68a682011-06-08 14:36:14 -0700304Added: New <test> and <suite> flag: group-by-instances
Cedric Beust8ad7bc92011-06-13 14:57:18 -0700305Added: -xmlpathinjar to specify the path of testng.xml inside a test jar file
Cedric Beust483bb5a2011-06-15 09:53:15 -0700306Added: ISuite#getAllMethods, to retrieve all the methods at the start of a suite.
Cedric Beustf4e673f2011-06-29 10:25:16 -0700307Added: Output ITestResult attributes in xml report (nguillaumin)
Cedric Beust61a0a8a2011-06-24 11:17:06 -0700308Fixed: Thread safety problem in MethodInvocationHelper (Baron Roberts)
Cedric Beust9cb7e932011-06-24 12:39:08 -0700309Fixed: Group dependencies were not being skipped properly.
Cedric Beustbcb654d2011-06-08 10:55:30 -0700310Fixed: Dependency failures only impact the same instance
Cedric Beust9bbc55d2011-06-08 09:47:46 -0700311Fixed: Static classes could cause a StackOverFlowError
Cedric Beustd5c66972011-06-03 09:49:56 -0700312Fixed: IConfigurationListener was not extending ITestNGListener
Cedric Beust6d083a42011-05-13 14:32:32 -0700313Fixed: IConfigurationListener#onConfigurationFailure was never called
Cedric Beust24215382011-05-12 14:25:43 -0700314Fixed: TESTNG-476: <test> tags are now run in the order found in testng.xml
Cedric Beust618c10e2011-05-03 14:31:18 -0700315Fixed: Now showing failed/skipped error messages on the console for verbose >= 2
Cedric Beustf4f95bf2011-05-12 13:48:10 -0700316Fixed: ITestResult#getEndMillis() return 0
Cedric Beust93bdaf82011-04-27 16:04:45 -0700317Fixed: TESTNG-410: Clearer error message
Cedric Beuste7405392011-04-26 13:59:43 -0700318Fixed: TESTNG-475: @DataProvider doesn't support varargs
Cedric Beust97d56912011-04-21 15:02:17 -0700319Fixed: Performance problems in EmailableReporter
Cedric Beust8b53fef2011-04-12 15:09:49 -0700320Fixed: TESTNG-472: Better output for assertNull()
Cedric Beuste0014c22011-04-12 14:54:35 -0700321Fixed: ConcurrentModificationException when using parallel data providers.
Cedric Beustf2397342011-04-12 13:43:00 -0700322Fixed: TESTNG-282: Problem when including+excluding packages (addicted)
Cedric Beust53754e62011-04-04 14:42:02 -0700323Fixed: TESTNG-471: assertEquals(Map, Map) fails if a map is a subset of the other
Cedric Beustdf7b7b62011-03-17 10:11:09 -0700324Fixed: JUnitReporter generates an <error> tag for successful expectedExceptions tests
Cedric Beust6e7f12e2011-06-15 11:20:30 -0700325Fixed: ISSUE-47: Don't allow two <test>s with same name within same suite (Nalin Makar)
Cedric Beust58df7fe2011-06-17 10:56:35 -0700326Fixed: If a listener implements both ISuiteListener and IInvokedMethodListener, only one of them gets invoked
Cedric Beustdf7b7b62011-03-17 10:11:09 -0700327
Cedric Beust03d4e9b2011-03-21 15:43:15 -0700328Eclipse:
329
Cedric Beustecc0d502011-06-01 12:16:32 -0700330Added: New quick fix "Add static import org.testng.AssertJUnit.assertXXX"
Cedric Beust2354de52011-05-27 09:45:22 -0700331Added: New workspace wide setting: excluded stack traces, to provide shorter stack traces in the view
Cedric Beustd8fe6f92011-04-25 15:10:49 -0700332Added: New "Clear results" icon in the tool bar
333Added: When the search filter is modified, don't update the tree live if it is too big
Cedric Beust53754e62011-04-04 14:42:02 -0700334Added: Two new @Test refactorings (pull to class level, push to method level)
Cedric Beust6810cca2011-03-25 12:51:27 -0700335Added: JUnit conversion: @Ignore
Cedric Beusta4fde212011-03-24 13:06:17 -0700336Added: JUnit conversion: assertArrayEquals()
337Added: JUnit conversion: @RunWith(Parameterized.class)
Cedric Beustba016b82011-05-23 15:53:27 -0700338Added: Support for Hamcrest failed assertions in the compare dialog
Cedric Beust8bb99572011-06-24 10:19:23 -0700339Added: JUnit conversion: suite() methods can now either be removed, commented out or left untouched
Cedric Beust1d96b172011-06-21 14:39:15 -0700340Fixed: JUnit conversion: super.setUp()/tearDown() were being removed when extending a class other than TestCase
Cedric Beust1d059e22011-06-07 13:43:25 -0700341Fixed: "Run as" menu not appearing for methods that take a generic parameter.
Cedric Beust167e09d2011-06-02 12:22:34 -0700342Fixed: The tree was incorrect if the same class is used in different <test> tags
Cedric Beuste0014c22011-04-12 14:54:35 -0700343Fixed: When creating a new Run/Debug configuration, "Launch.label" was displayed
Cedric Beustf2397342011-04-12 13:43:00 -0700344Fixed: TESTNG-459: TestNG menu should not always be present in context menu (Mykola Nikishov)
Cedric Beust19cd3d32011-04-12 11:59:13 -0700345Fixed: Performance problems in the plug-in
Cedric Beust53754e62011-04-04 14:42:02 -0700346Fixed: Workspace-wide XML template files are not being honored.
Cedric Beust03d4e9b2011-03-21 15:43:15 -0700347Fixed: @BeforeClass/@AfterClass from JUnit4 are not being properly converted
348Fixed: Conversions generate @Test() instead of @Test
349
Cedric Beustdf7b7b62011-03-17 10:11:09 -0700350===========================================================================
351
3526.0
3532011/03/16
354
Cedric Beust8b48bb62011-02-09 15:03:31 -0800355Added: @Guice(moduleFactory) and IModuleFactory
356Added: @Guice(module)
Cedric Beust0dba7d62010-09-27 14:48:01 -0700357Added: timeOut for configuration methods
Cedric Beust82762732010-09-14 20:53:43 -0700358Added: -randomizesuites (Nalin Makar)
Cedric Beust8d596362010-09-07 11:00:41 -0700359Added: IConfigurable
Cedric Beust00c08fa2011-02-17 13:40:32 -0800360Fixed: @Test(priority) was not being honored in parallel mode
Cedric Beust349a0502011-02-23 14:06:58 -0800361Fixed: @Test(timeOut) was causing threadPoolSize to be ignored
Cedric Beust85a731a2011-02-04 11:21:46 -0800362Fixed: TESTNG-468: Listeners defined in suite XML file are ignored (Michael Benz)
Cedric Beust71ab6052011-02-04 11:08:39 -0800363Fixed: TESTNG-465: Guice modules are bound individually to an injector meaning that multiple modules can't be effectively used (Danny Thomas)
Cedric Beust2f149882011-02-09 14:47:40 -0800364Fixed: Method selectors from suites were not properly initialized (toddq)
Cedric Beustf5fc1732010-12-16 14:18:33 -0800365Fixed: Throw an error when two data providers have the same name
Cedric Beust1bcbafa2010-12-07 13:20:01 -0800366Fixed: Better handling of classes that don't have any TestNG annotations
Cedric Beust6b983ac2010-11-23 12:38:09 -0800367Fixed: XmlTest#toXml wasn't displaying the thread-count attribute
nullin20a0bb12010-11-08 00:34:03 -0800368Fixed: TESTNG-438: Regression in 5.14.1: JUnit Test Execution no longer working
Cedric Beust01aee422010-11-02 11:06:05 -0700369Fixed: TESTNG-436: Deep Map comparison for assertEquals() (Nikolay Metchev)
Cedric Beust676b37b2010-10-24 22:36:05 -0700370Fixed: Skipped tests were not always counted.
Cedric Beust836556f2010-12-02 13:17:37 -0800371Fixed: test listeners that throw were not reporting correctly (ansgarkonermann)
Cedric Beust96a74c92010-12-02 11:32:31 -0800372Fixed: <suite junit="true"> wasn't working.
Cedric Beust6b7d28b2011-02-15 13:55:27 -0800373Fixed: In parallel "methods" mode, method interceptors that remove methods would cause a lock up
Cedric Beust98224a32010-10-13 13:48:46 -0700374Fixed: EmailableReporter now sorts methods chronologically
nullin28e899a2010-10-17 01:32:57 -0700375Fixed: TESTNG-411: Throw exception on mismatch of parameter values (via DP and/or Inject) and test parameters
Cedric Beust2a310da2010-10-06 12:09:02 -0700376Fixed: IDEA-59073: exceptions that don't match don't have stack trace printed in console (Anna Kozlova)
Cedric Beuste04d1202010-10-05 13:39:03 -0700377Fixed: IDEA's plug-in was not honoring ITest (fixed in TestResultMessage)
Cedric Beustf10c3a12010-10-05 11:00:56 -0700378Fixed: Methods depending on a group they belong were skipped instead of throwing a cycle exception
Cedric Beust9102fec2010-10-04 11:17:08 -0700379Fixed: TESTNG-401: ClassCastException when using a listener from Maven
Lukas Jungmannc4c8ad32012-03-14 16:15:33 +0100380Fixed: TESTNG-186: Rename IWorkerApadter to IWorkerAdapter (Tomas Pollak)
nullineb7e1b62010-09-26 22:47:52 -0700381Fixed: TESTNG-415: Assert.assertEquals() for sets and maps fails with 'null' as arguments
Cedric Beustc987a162010-08-30 09:50:31 -0700382Fixed: typo -testRunFactory
nullin14e2b692010-08-30 12:15:35 -0700383Fixed: NPE while printing results for an empty suite (Nalin Makar)
nullinaacb2072010-08-30 13:44:11 -0700384Fixed: Invoke IInvokedMethodListener.afterInvocation after fixing results for tests expecting exceptions (Nalin Makar)
Cedric Beust347f2c92010-11-10 15:33:43 -0800385Fixed: TESTNG-441: NPE in SuiteHTMLReporter#generateMethodsChronologically caused by a race condition (Slawomir Ginter)
Cedric Beustc987a162010-08-30 09:50:31 -0700386
Cedric Beust89c386f2010-09-12 11:58:05 -0700387Eclipse:
Cedric Beusta7de7af2011-02-25 14:20:17 -0800388Added: Convert to YAML
Cedric Beust67b319d2011-02-22 10:46:03 -0800389Added: New global preference: JVM args
Cedric Beust13b120d2010-12-15 10:03:09 -0800390Added: Eclipse can now monitor a test-output/ directory and update the view when a new result is created
Cedric Beust552f0e22010-11-17 14:03:22 -0800391Added: Right clicking on a class/package/project now offers a menu "TestNG/Convert to TestNG"
Cedric Beust4054ab42010-11-05 15:19:18 -0700392Added: Excluded methods are now listed in the Summary tab
Cedric Beust0b4295f2010-11-10 14:48:45 -0800393Added: "Description" column in the excluded methods table
Cedric Beust1bcbafa2010-12-07 13:20:01 -0800394Added: Dialog box when the plug-in can't contact RemoteTestNG
Cedric Beust4054ab42010-11-05 15:19:18 -0700395Added: Double clicking on an excluded method in the Summary tab will take you to its definition
Cedric Beusta4eabd22010-11-04 16:09:38 -0700396Added: If you select a package before invoking the "New TestNG class" wizard, the source and package text boxes will be auto-filled
Cedric Beust0e7989f2010-11-03 09:42:47 -0700397Added: When an item is selected in a tab, the same item will be selected when switching tabs
398Added: A new "Summary" tab that allows the user to see a summary of the tests, sort them by time, name, etc...
Cedric Beustf375d1a2010-10-20 19:31:14 -0700399Added: It's now possible "Run/Debug As" with a right click from pretty much any element that makes sense in the tree.
Cedric Beustd18505d2011-02-09 14:53:53 -0800400Added: JUnit conversion: correctly replaces assertNull and assertNotNull
401Added: JUnit conversion: removes super.setUp() and super.tearDown()
402Added: JUnit conversion: removes @Override
403Added: JUnit conversion: replaces @Test(timeout) with @Test(timeOut) (5.14.2.4)
404Added: JUnit conversion: replaces @Test(expected) with @Test(expectedExceptions) (5.14.2.4)
405Added: JUnit conversion: replaces fail() with AssertJUnit.fail() (5.14.2.2)
406Added: JUnit conversion: replaces Assert with AssertJUnit (5.14.2.1)
Cedric Beuste49b1452010-10-06 14:34:47 -0700407Added: The progress bar is now orange if the suite contained skipped tests and no failures
Cedric Beust64700132010-09-27 12:22:34 -0700408Added: Skipped test and suite icons are now orange (previously: blue)
Cedric Beust89c386f2010-09-12 11:58:05 -0700409Added: New method shortcuts: "Alt+Shift+X N", "Alt+Shift+D N" (Sven Johansson)
Cedric Beust3fe45512011-01-26 13:04:37 -0800410Added: "Create TestNG class" context menu
Cedric Beust8f678af2011-02-14 14:19:30 -0800411Added: When generating a new class, handle overridden methods by generating mangled test method names
412Fixed: Green nodes could override red parent nodes back to green
Cedric Beust749ad0b2011-02-07 13:32:00 -0800413Fixed: Was trying to load the classes found in the XML template file
Cedric Beustfb5fc072010-12-23 11:34:48 -0800414Fixed: Stack traces of skipped tests were not showing in the Exception view
Cedric Beust552f0e22010-11-17 14:03:22 -0800415Fixed: XML files should be run in place and not copied.
Cedric Beust4054ab42010-11-05 15:19:18 -0700416Fixed: NPE when you select a passed test and click on the Compare Result icon (Mohamed Mansour)
Cedric Beust0e7989f2010-11-03 09:42:47 -0700417Fixed: When the run is over, the plug-in will no longer force the focus back to the Console view
Cedric Beust47f07d92010-10-25 09:18:27 -0700418Fixed: The counter in the progress bar sometimes went over the total number of test methods (5.14.2.9)
Cedric Beust6f7afd12010-10-13 13:03:24 -0700419Fixed: org.eclipse.ui.internal.ErrorViewPart cannot be cast to org.testng.eclipse.ui.TestRunnerViewPart (5.14.2.9)
Cedric Beuste53ab8c2010-10-01 11:09:14 -0700420Fixed: Workspace preferences now offer the "XML template" option as well as the project specific preferences (Asiel Brumfield)
Cedric Beust82ed7e92010-09-25 08:51:12 -0700421Fixed: TESTNG-418: Only last suite-file in testng.xml run by Eclipse plugin
Cedric Beust89c386f2010-09-12 11:58:05 -0700422
423Documentation:
424Added: Section on Selenium (Felipe Knorr Kuhn)
Cedric Beustcc2ecd82010-10-05 13:43:22 -0700425Added: Link to an article on TestNG, Mockito and Emma in the Misc section
Cedric Beust89c386f2010-09-12 11:58:05 -0700426
Cedric Beustc987a162010-08-30 09:50:31 -0700427===========================================================================
428
Cedric Beustdc381132011-01-27 12:53:45 -08004295.14.7
4302011/01/27
431
432Release for IDEA
433
434===========================================================================
435
Cedric Beust5523eb42010-10-04 12:06:16 -07004365.14.1
4372010/10/2
438
439Fixed: TESTNG-401: ClassCastException when using a listener from Maven
440
441===========================================================================
442
Cedric Beustc987a162010-08-30 09:50:31 -07004435.14
Cedric Beust63f2ea72010-09-07 11:15:23 -07004442010/08/28
Cedric Beustc987a162010-08-30 09:50:31 -0700445
Cedric Beust1621e392010-09-05 16:24:35 -0700446Added: test suites can now be run in parallel with -suitethreadpoolsize
Cedric Beustb4645402010-08-26 10:16:12 -0700447Fixed: @Listeners now aggregate through base classes
Cedric Beust93379112010-08-25 09:49:14 -0700448Fixed: ISuite was no longer serializable
Cedric Beust3cedfdf2010-08-25 07:15:35 -0700449Fixed: Injection was sometimes not working properly when used with @Parameters
450Fixed: TESTNG-400: afterMethod was called after onTestFailure()
Cedric Beust7e735d92010-08-24 07:20:40 -0700451Fixed: "excludedgroups" was not working on the ant task because of a typo
Cedric Beuste0eb7402010-08-22 09:44:52 -0700452Fixed: ant task error if <classfileset> is used with no classes (welex91)
Cedric Beust3cedfdf2010-08-25 07:15:35 -0700453Fixed: TESTNG-404: threaded tests fail due to use of non-threadsafe collections (Marcus Better)
Cedric Beust40be3852010-08-17 10:12:53 -0700454Fixed: preserve-order was not preserving class order with dependent methods
Cedric Beust9ae4e702010-08-05 21:09:48 -0700455Fixed: RetryAnalyzer wasn't working properly with factories
Cedric Beustcaa93562010-08-05 14:54:45 -0700456Fixed: The ant task was no longer supporting ',' for testclass
457
Cedric Beust39fb6ed2010-08-19 10:00:21 -0700458Eclipse:
459
460Fixed: The plug-in wasn't running Groovy tests correctly (Andrew Eisenberg)
Cedric Beust3cedfdf2010-08-25 07:15:35 -0700461Fixed: TESTNG-402 [Eclipse Plug-In] NPE occurred when I run twice a custom "Run configuration" on a group
Cedric Beust39fb6ed2010-08-19 10:00:21 -0700462
Cedric Beustcaa93562010-08-05 14:54:45 -0700463===========================================================================
464
Cedric Beustcaa93562010-08-05 14:54:45 -07004655.13.1
4662010/08/05
cbeust10b41092009-04-07 16:04:39 +0000467
Cedric Beustec2c6742010-07-21 10:32:22 -0700468Added: -methods
nullin62a82c62010-07-16 15:01:45 -0700469Added: -configfailurepolicy (Todd Quessenberry)
Cedric Beustb3a84262010-07-10 16:36:39 -0700470Added: -methodselectors (Todd Quessenberry)
Cedric Beustaba3ac22010-07-09 16:35:50 -0700471Added: @NoInjection
Cedric Beust9dea4442010-07-04 11:33:25 -0700472Added: <test preserve-order="true">
Cedric Beustfffc20f2010-07-01 07:40:45 -0700473Added: -testnames (command line) and testnames (ant)
cbeuste6eaf482010-05-25 20:59:10 +0000474Added: New ant task tag: propertyset (Todd Wells)
cbeust268e3e02010-04-23 20:49:03 +0000475Added: ITestNGListenerFactory
cbeustaf701af2010-06-11 19:54:19 +0000476Added: Passing command line properties via the ant task and doc update (Todd Wells)
Cedric Beustbef56532010-06-29 13:39:49 -0700477Added: Hierarchical XmlSuites (Nalin Makar)
Cedric Beustbf02fc82010-07-03 08:56:30 -0700478Added: Reporter#clear()
Cedric Beustf3818372010-07-29 17:50:01 -0700479Fixed: NullPointerException when a suite produces no results (Cefn Hoile)
Cedric Beuste157c702010-07-08 23:11:37 -0700480Fixed: Identical configuration methods were not always invoked in the correct order in superclasses (Nalin Makar)
Cedric Beustacd388b2010-07-07 14:58:22 -0700481Fixed: @DataProvider(parallel = true) was passing incorrect parameters with injection
Cedric Beustbeaff9a2010-07-06 23:00:33 -0700482Fixed: Replaced @Test(sequential) with @Test(singleThreaded)
nullin675d7072010-07-06 00:06:14 -0700483Fixed: If inherited configuration methods had defined deps, they could be invoked in incorrect order (Nalin Makar)
nullin32b42ad2010-07-01 16:47:22 -0700484Fixed: Initialize all Suite/Test runners at beginning to catch configuration issues right at start (Nalin Makar)
nullin675d7072010-07-06 00:06:14 -0700485Fixed: Issue7: Issue86 Incorrect dates reported for configuration methods
486Fixed: Issue24: OOM errors in SuiteHTMLReporter (Nalin Makar)
cbeust8222e202010-06-27 19:41:34 +0000487Fixed: Time outs specified in XML were not honored for <suite parallel="tests">
cbeust100885a2010-06-27 19:15:32 +0000488Fixed: <suite> and <test> time outs were hardcoded, they now honor their time-out attribute
cbeustecf39722010-06-27 16:20:49 +0000489Fixed: TestNG was hanging if no test methods were found
cbeust721fb912010-06-27 15:55:22 +0000490Fixed: onTestSuccess() was called after @AfterMethod instead of after the test method (test: test.listener.ListenerTest)
cbeustc4b46792010-06-25 13:15:09 +0000491Fixed: XML test results contained skipfailedinvocationCounts instead of skipfailedinvocationcounts
nalin.makar@gmail.comff94a1b2010-06-21 05:07:34 +0000492Fixed: Issue4 assertEquals for primitive arrays, Issue34 assertNull javadoc updated
nalin.makar@gmail.come3b52052010-06-20 07:22:42 +0000493Fixed: Issue78 NPE with non-public class. Now throws TestNG exception
cbeustf1ae0de2010-06-19 14:41:39 +0000494Fixed: NPE with @Optional null parameters (Yves Dessertine)
Lukas Jungmannc4c8ad32012-03-14 16:15:33 +0100495Fixed: TESTNG-387 TestNG not rerunning test method with the right data set from Data Provider (Francois Reynaud)
nalin.makar@gmail.comd3c04c32010-06-15 00:23:44 +0000496Fixed: Show correct number of pass/failed numbers for tests using @DataProvider
497Fixed: Return correct method status and exception (if any) in InvokedMethodListener.afterInvocation()
nalin.makar@gmail.comd16c4e52010-06-10 20:59:55 +0000498Fixed: Trivial fixes: TESTNG-241 (log message at Info), Issue2 (throw SAXException and not NPE for invalid testng xml)
499Fixed: Configuration methods couldn't depend on an abstract method (Nalin Makar)
cbeust52fd78d2010-05-20 20:39:57 +0000500Fixed: TestNG#setTestClasses was not resetting m_suites
cbeustdb66a3d2010-04-29 01:59:33 +0000501Fixed: Exceptions thrown by IInvokedMethodListeners were not caught (Nalin Makar)
cbeustbfac6512010-04-19 17:42:35 +0000502Fixed: @Listeners now works on base classes as well
503Fixed: Test priorities were not working properly in non-parallel mode
cbeust4f8e3e62010-04-15 21:36:02 +0000504Fixed: @Listeners wasn't working properly with ITestListener
cbeust0813ae82010-03-31 22:03:25 +0000505
Cedric Beust4601d932010-07-30 13:22:36 -0700506Eclipse
507
Cedric Beustca615d72010-07-30 14:07:18 -0700508Fixed: TESTNG-395 New wizard was creating classes called "NewTest"
509Fixed: TESTNG-397 Class level @Test was preventing groups from showing up in the launch configuration
Cedric Beust4601d932010-07-30 13:22:36 -0700510
cbeust1e615022010-06-24 01:53:30 +0000511Doc
512Updated Maven documentation (Brett Porter)
513
cbeust0813ae82010-03-31 22:03:25 +0000514===========================================================================
cbeustdb66a3d2010-04-29 01:59:33 +0000515
5165.12.1
Cedric Beustac025d52010-07-20 23:06:08 -07005172010/03/29
cbeustdb66a3d2010-04-29 01:59:33 +0000518
519Maven update
520
521===========================================================================
cbeust0813ae82010-03-31 22:03:25 +00005225.12
523
cbeustf0183e12010-01-17 02:34:35 +0000524Removed: Javadoc annotation support
525
cbeustcfe1bf22010-03-24 20:26:31 +0000526Added: @Listeners
cbeusta26e1572010-03-16 17:42:14 +0000527Added: IAttributes#getAttributeNames and IAttributes#removeAttribute
cbeust416a6c62010-03-10 17:16:39 +0000528Added: testng-results.xml now includes test duration in the <suite> tag (Cosmin Marginean)
cbeust1e15cc32010-03-03 16:59:55 +0000529Added: Injection now works for data providers
cbeust419f6682010-02-12 21:03:30 +0000530Added: TestNG#setObjectFactory(IObjectFactory)
cbeustbf8793f2010-01-29 06:36:16 +0000531Added: Priorities: @Test(priority = -1)
cbeustcfe1bf22010-03-24 20:26:31 +0000532Added: New attribute invocation-numbers in <include>
cbeustdd84c4f2010-01-24 21:28:02 +0000533Added: testng-failed.xml only contains the data provider invocations that failed
cbeust68f45042009-12-30 01:58:29 +0000534Added: IInvokedMethodListener2 to have access to ITestContext in listeners (Karthik Krishnan)
cbeuste350d762010-02-20 03:23:08 +0000535Fixed: @Before methods run from factories were not properly interleaved
cbeustc319bb52009-12-30 20:32:29 +0000536Fixed: The TextReporter reports skipped tests as PASSED (Ankur Agrawal)
cbeust68f45042009-12-30 01:58:29 +0000537
cbeusta5fceea2009-12-08 23:01:26 +0000538Eclipse:
539
cbeust4aa07e22010-01-05 01:29:09 +0000540Added: New file wizard: can now create a class with annotations, including @DataProvider
cbeust1a7cabf2009-12-11 22:56:02 +0000541Added: You can now select multiple XML suites to be run in the launch dialog
cbeuste350d762010-02-20 03:23:08 +0000542Fixed: @Test(groups = <constant>) was taking name of the constant instead of its value.
cbeustbeb3f2f2010-01-15 05:21:02 +0000543Fixed: http://jira.codehaus.org/browse/GRECLIPSE-476 NPE with Groovy Tests (Andrew Eisenberg)
cbeust1a7cabf2009-12-11 22:56:02 +0000544Fixed: The custom XML file is now created in the temp directory instead of inside the project
cbeusta5fceea2009-12-08 23:01:26 +0000545Fixed: In the launch dialog, now display an error if trying to pick groups when no project is selected
546Fixed: Was not setting the parallel attribute correctly on the temporary XML file
cbeuste02a82b2009-12-07 21:25:38 +0000547
548===========================================================================
5495.11
Cedric Beustac025d52010-07-20 23:06:08 -07005502009/12/08
cbeuste02a82b2009-12-07 21:25:38 +0000551
cbeusta4e68922009-11-26 19:46:45 +0000552Added: Dependent methods can now run in their own thread
cbeust88b72992009-10-25 23:00:55 +0000553Added: dataProviderThreadCount can be set from the command line and from ant (Adrian Grealish)
cbeust77ec73c2009-09-17 15:18:32 +0000554Added: ITestAnnotation#setDataProvider
cbeust99b4d6c2009-11-03 18:48:14 +0000555Added: Assert#assertEquals() methods for Sets and Maps
cbeust3ee46382009-12-08 18:04:59 +0000556Fixed: The text reporter was no longer reporting stack traces for verbose >= 2
cbeuste9b7e752009-12-05 19:57:30 +0000557Fixed: dataProviderClass was not respecting inheritance (like most attributes still)
cbeust0501e252009-12-02 19:09:41 +0000558Fixed: @BeforeSuite/@AfterSuite would run multiple times when used in a @Factory
cbeustf4bff962009-12-01 21:31:44 +0000559Fixed: packages=".*" wasn't working properly (sandopolus)
cbeust2cc1cc22009-11-29 01:32:19 +0000560Fixed: TestResult#getName now returns the description instead of the method
cbeusta4e68922009-11-26 19:46:45 +0000561Fixed: @DataProvider and dependent methods were not skipping correctly (Francois Reynaud)
cbeust15d8b692009-11-14 19:54:58 +0000562Fixed: TESTNG-347 suite with parallel="tests" and test with parallel="classes" doesn't work correctly (Rob Allen)
cbeustbf8f9f52009-11-06 16:35:04 +0000563Fixed: TESTNG-67: @Configuration/@Factory methods in base class being ignored
cbeust6006c862009-11-02 18:57:01 +0000564Fixed: Inner test classes were not excluded properly (Carsten Gubernator)
cbeust43f186d2009-10-03 01:55:40 +0000565Fixed: threadPoolSize without invocationCount was causing reporters not to be invoked
cbeustdbdf74f2009-09-18 18:17:21 +0000566Fixed: A @Factory throwing an exception did not cause any error
cbeust6d300dc2009-09-10 13:33:35 +0000567Fixed: <classfilesetref> was not working properly in the ant task (Ed Randall)
cbeustafd25d62009-09-01 17:57:59 +0000568Fixed: @BeforeClass methods were not running in parallel (Aidan Short)
DanFabulich19ba35f2009-10-03 04:37:51 +0000569Fixed: Test class with @ObjectFactory doesn't get instantiated via the factory
570Fixed: Allow IObjectFactory to load from non-standard classloader (for PowerMock support)
cbeustafd25d62009-09-01 17:57:59 +0000571
cbeusta5fceea2009-12-08 23:01:26 +0000572Eclipse 5.11.0.19:
cbeustf4bff962009-12-01 21:31:44 +0000573Added: New "parallel" preference setting (Windows / Preferences / TestNG)
cbeust3ee46382009-12-08 18:04:59 +0000574Fixed: IIinvokedMethodListeners were not invoked
cbeustf4bff962009-12-01 21:31:44 +0000575
cbeustafd25d62009-09-01 17:57:59 +0000576===========================================================================
5775.10
578
cosminaru0480c022009-05-23 17:30:47 +0000579Added: The output in the testng-results.xml is now sorted by the starting timestamp (Daniel Rudman)
cbeust9f2367a2009-05-18 19:16:14 +0000580Added: Better display of the test name and method description in the default and Emailable report
cbeust54520072009-05-13 16:49:07 +0000581Added: If both -testjar and an XML file are provided on the command line, the latter will be used
cbeustfa41a362009-05-12 16:22:42 +0000582Added: @Before and @After methods can be injected with the current XmlTest
cbeust572c7e62009-05-05 18:28:37 +0000583Added: Methods that time out now display the stack trace showing where the time out occurred
cbeust94efdf82009-05-04 21:27:11 +0000584Added: ITestResult#getAttribute and ITestResult#setAttribute
cbeustfa41a362009-05-12 16:22:42 +0000585Added: @After methods can now be injected with an ITestResult
cbeust94efdf82009-05-04 21:27:11 +0000586Added: @BeforeMethod and @AfterMethod methods can now be injected an ITestResult
cbeustda4f4522009-04-30 22:26:02 +0000587Added: ISuite#getAttribute and ISuite#setAttribute to share data within a suite
cbeust27e81a62009-05-05 17:57:26 +0000588Added: @Test(expectedExceptionsMessageRegExp = ".*foo.*")
589Added: @DataProvider(parallel=true)
cbeust06169672009-07-21 15:35:51 +0000590Fixed: @Test(dataProvider) was not working at the class level
cbeust4c02d892009-06-26 22:30:55 +0000591Fixed: Display a better error message if the wrong exception is thrown with an expectedExceptions
cbeustb6eb3672009-06-10 18:32:25 +0000592Fixed: Classes created by factories were not run in the order they were created
cbeustb7eacc52009-06-03 15:36:21 +0000593Fixed: Dependent methods are now run closer to methods within their class
cbeustb72906e2009-06-02 15:16:24 +0000594Fixed: xmlFileSet in ant was not working correctly (Sean Shou)
cbeust18d27ed2009-06-01 15:49:09 +0000595Fixed: Various oversights in the DTD (Will McQueen)
cosminaru0480c022009-05-23 17:30:47 +0000596Fixed: XMLUtils was not escaping XML attribute values
cbeust9da51c42009-05-18 20:21:13 +0000597Fixed: TESTNG-317: Sequence order mis-calculation: testing using suite in sequence for classes and same method names creates non-sequential order
cbeust45f8a9c2009-05-15 19:18:23 +0000598Fixed: Test names (classes that implement org.testng.ITest) now appear more prominently in the HTML reports
cbeust572c7e62009-05-05 18:28:37 +0000599Fixed: expectedExceptions=RuntimeException.class was not failing when no exception was throw
cbeust62009f02009-04-29 20:58:21 +0000600Fixed: TESTNG-291: Exceptions thrown by Iterable DataProviders are not caught, no failed test reported (Roberto Tyley)
cbeustb1b62052009-04-29 19:02:40 +0000601Fixed: TESTNG-301: Need to include parameters in testNG report for test created by @Factory
cbeustd1bcd192009-04-27 22:07:43 +0000602Fixed: testng-failed.xml now includes skipped tests
cbeust27fb3842009-04-20 16:02:44 +0000603Fixed: TestNG couldn't find Groovy files (Haw-Bin)
604
cbeust10b41092009-04-07 16:04:39 +0000605Eclipse
606
cbeust6dd2aaf2009-05-12 16:39:37 +0000607Fixed: TESTNG-313: Provide extension point to contribute test and report listeners (Erik Putrycz)
cbeust10b41092009-04-07 16:04:39 +0000608Fixed: Quick fixes no longer introduce deprecated annotations (Greg Turnquist)
609
cbeuste4e7d242008-04-06 04:16:13 +0000610===========================================================================
cbeusta0726712009-02-22 17:44:20 +00006115.9
Cedric Beustac025d52010-07-20 23:06:08 -07006122009/04/09
cbeust01f74792008-04-06 17:33:25 +0000613
cbeust5c38f852009-03-23 03:46:06 +0000614Added: New ant task boolean flag: delegateCommandSystemProperties (Justin)
cbeust32a38ce2009-03-24 17:30:31 +0000615Added: skipfailedinvocations under <suite> in testng-1.0.dtd (Gael Marziou / Stevo Slavic)
cbeuste38a74e2009-02-11 17:50:51 +0000616Added: -testrunfactory on the command line and in the ant task (Vitalyi Pamajonkov)
cbeust1c5c9aa2009-01-30 21:09:43 +0000617Added: TESTNG-298: parallel="classes", which allows entire classes to be run in the same thread
cbeustc3b0ec52009-01-30 17:01:20 +0000618Added: @BeforeMethod can now declare Object[] as a parameter, which will be filled by the parameters of the test method
619Added: IAnnotationTransformer2
620Added: @Test(invocationTimeOut), which lets you set a time out for the total time taken by invocationCount
621Added: IInvokedMethodListener
622Added: -testjar supports jar file with no testng.xml file
cbeust08e5ac52009-03-31 21:56:17 +0000623Fixed: IInvokedMethodListener wasn't properly recognized from the command line (Leonardo Rafaeli)
cbeust7ce0e722009-03-30 15:02:34 +0000624Fixed: TESTNG-309 Illegal default value for attribute in DTD file
625Fixed: TESTNG-192: JUnit XML output includes wrong tests (Aleksandar Borojevic)
cbeust36040b12009-03-28 05:01:47 +0000626Fixed: Set a generated suite to default to non-parallel (Mark Derricutt)
cbeust52df24d2009-03-18 19:40:31 +0000627Fixed: -testJar command line parsing bug
cbeust8beffc12009-03-18 19:27:21 +0000628Fixed: testng-failed.xml didn't include the listeners
cbeust1b7fe502009-03-14 16:05:33 +0000629Fixed: annotation transformers were not run when specified in testng.xml
cbeustb68cf6d2009-02-25 16:07:13 +0000630Fixed: TESTNG-192: JUnit XML output includes wrong tests (Borojevic)
cbeusta0726712009-02-22 17:44:20 +0000631Fixed: @Parameters was not working correctly on @BeforeMethods with @DataProvider used on @Test methods
cbeust68749e12009-02-20 01:14:46 +0000632Fixed: testng-failed.xml was sometimes incorrectly generated (Borojevic)
cbeustdf28a342009-02-16 19:18:21 +0000633Fixed: TestNG-228: Assert.assertEqualsNoOrder
634Fixed: TestNG-229: Assert.assertEquals does not behave properly when arguments are sets
635Fixed: TESTNG-36: assertEquals(Collection actual, Collection expected, String message) may have bug
cbeustee0edc42009-01-30 22:06:57 +0000636Fixed: TESTNG-296: Malformed jar URLs breaking -testJar
cbeustc3b0ec52009-01-30 17:01:20 +0000637Fixed: TESTNG-297: TestNG seemingly never stops running while building failed test suite (Gregg Yost)
cbeust35371912008-12-10 16:48:29 +0000638Fixed: TESTNG-285: @Test(sequential=true) works incorrectly for classes with inheritance
cbeust9f2e0c32008-11-17 16:18:00 +0000639Fixed: TESTNG-254: XMLSuite toXML() ignores listeners
cbeust6ca01b52008-10-15 21:11:46 +0000640Fixed: TESTNG-276: Thread safety problem in Reporter class
641Fixed: TESTNG-277: Make Reporter.getCurrentTestResult() public
cbeustd04b2ae2008-10-01 22:29:18 +0000642Fixed: Potential NPE in XmlTest#getVerbose (Ryan Morgan)
cbeust651ca6a2008-09-26 22:13:43 +0000643Fixed: EmailableReporter only displayed the first group for each test method
cbeust6bf0a7d2008-09-09 18:32:58 +0000644Fixed: time-outs were not working in <test> and <suite>
cbeust891c6962008-06-19 15:50:55 +0000645Fixed: @BeforeTest failing in a base class would not cause subsequent test methods to be skipped
cbeust318a4e42008-06-13 17:53:11 +0000646Fixed: TESTNG-195: @AfterMethod has no way of knowing if the current test failed
cbeust486fc182008-05-31 23:16:07 +0000647Fixed: TESTNG-249: Overridden test methods were shadowing each other if specified with <include>
cbeust8778efa2008-05-27 20:22:14 +0000648Fixed: DataProviders from @Factory-created tests were all invoked from the same instance
cbeuste3264a42008-05-27 02:14:38 +0000649Fixed: enabled was not working on configuration methods
cbeust2cdae872008-05-26 19:51:31 +0000650Fixed: IIinvokedMethodListener was not correctly added in TestNG
cbeust38ef90d2008-04-19 18:23:17 +0000651Fixed: NPE in XmlSuite#toXml
cbeust01f74792008-04-06 17:33:25 +0000652Fixed: TESTNG-231: NullPointerException thrown converting a suite to XML (Mark)
cbeuste4e7d242008-04-06 04:16:13 +0000653
cbeustf3016e42008-04-06 18:56:04 +0000654Doc:
cbeust2cdae872008-05-26 19:51:31 +0000655Added: 5.20: IInvokedMethodListener
cbeust398dbfd2008-04-20 16:06:55 +0000656Added: -testjar
cbeustf3016e42008-04-06 18:56:04 +0000657
cbeuste4e7d242008-04-06 04:16:13 +0000658===========================================================================
cbeustd9cf8a02008-02-17 23:38:26 +00006595.8
the.mindstorm3a238872007-11-15 01:44:32 +0000660
cbeust5191a182008-03-23 04:50:22 +0000661Fixed: TestNG-220: Ignore class definition/loader issues when scanning classpath for implicit classes
cbeustd7d31c12008-03-23 04:02:44 +0000662Fixed: TestNG-224: Fix for relative suite filenames in XML file
cbeust3e8cd5c2008-03-23 00:42:16 +0000663Added: TestNG-213: @Optional on a method parameter to allow optional @Parameters
cbeust920214e2008-03-23 00:18:18 +0000664Fixed: TestNG-214: SkipException and TimeBombSkipException should accept nested exceptions
665Fixed: TestNG-211: new Parser(inputStream) doesn't work
cbeustd9cf8a02008-02-17 23:38:26 +0000666Added: Methods that form a cycle are now shown when the cycle is detected
cbeust509aca52008-02-04 01:33:30 +0000667Added: Support for <listeners> in testng.xml
cbeustfa27df32008-02-03 22:04:37 +0000668Added: IMethodInterceptor
cbeust8b9443a2008-01-02 21:46:34 +0000669Added: @TestInstance on a data provider method parameter
cbeustd7e50002007-11-21 18:50:52 +0000670Fixed: @AfterMethod(lastTimeOnly) didn't work properly with data providers
the.mindstorm79074792007-11-15 01:57:53 +0000671Added: antlib.xml to allow autodiscovery of Ant task definition
the.mindstorm3a238872007-11-15 01:44:32 +0000672Fixed: name attribute on <test> is required
cbeustd7e50002007-11-21 18:50:52 +0000673
cbeust8edb61b2008-03-23 02:11:47 +0000674Doc:
675Added: Method Interceptor
676Added: @Optional
cbeust52b3c922008-04-06 03:40:26 +0000677Added: Doc for IMethodInterceptor (5.16) and TestNG listeners (5.18)
cbeust8edb61b2008-03-23 02:11:47 +0000678Added: 5.19: Dependency injection
679
the.mindstorm31fbf112006-10-25 23:17:06 +0000680===========================================================================
cbeust072b1c02007-06-08 15:06:26 +00006815.7
682
cbeust45a161f2007-11-01 21:37:49 +0000683Added: @BeforeMethod(firstTimeOnly) and @AfterMethod(lastTimeOnly)
cbeustec9d2742007-10-30 17:09:57 +0000684Added: @BeforeMethods can now take a Method and ITestContext parameters (like @DataProvider)
the.mindstorm29a0d372007-10-02 12:43:25 +0000685Fixed: logging about abstract classes moved to level 5
cbeust2c75cc42007-11-08 16:31:32 +0000686Added: if @Parameter is missing from testng.xml then it is read from the System properties
cbeust61e3a372007-09-23 06:54:11 +0000687Fixed: Don't run a @DataProvider method as a test when a class-level @Test is present
688Added: Attribute @Test#skipFailedInvocations
the.mindstorm04111212007-06-19 00:23:53 +0000689Fixed: TESTNG-169 Error message: <method> is depending on nonexistent method null ("null" is uninformative)
cbeust503726b2007-06-18 20:17:49 +0000690Fixed: -listener takes comma-separated classes
cbeust072b1c02007-06-08 15:06:26 +0000691Added: RetryAnalyzer (experimental) (Jeremie)
692
cbeust072b1c02007-06-08 15:06:26 +0000693===========================================================================
cbeuste7ee9202007-01-30 17:46:49 +00006945.6
Cedric Beustac025d52010-07-20 23:06:08 -07006952007/06/14
cbeuste7ee9202007-01-30 17:46:49 +0000696
the.mindstormee28d802007-04-12 00:48:56 +0000697Added: SkipException/TimeBombedSkipException for manual skipping
cbeust503726b2007-06-18 20:17:49 +0000698Added: <tests> can now be disabled at xml level using <test enabled="false">
cbeustc8d9bd62007-03-23 15:06:13 +0000699Added: Suite files that only contain other suites do not get reported
cbeustc81cb822007-03-15 11:08:03 +0000700Fixed: @BeforeClass methods would incorrectly report cyclic graphs
bileblogfda56212007-03-09 03:12:31 +0000701Added: get/setAttribute to ITestContext
the.mindstormaa639c52007-03-07 20:02:47 +0000702Added: plugging in factory objects to handle the actual instantiation of tests
cbeust91f466b2007-01-31 05:46:54 +0000703Added: dataProvider to @Factory
cbeuste7ee9202007-01-30 17:46:49 +0000704Added: ISuite now gives access to the current XmlSuite
the.mindstormc5b9a8c2007-02-13 10:33:16 +0000705Fixed: TESTNG-139 dependsOnMethods gets confused when dependency is "protected"
the.mindstormb7e26702007-02-13 10:49:07 +0000706Fixed: TESTNG-141 junit attribute set to false in testng-failed.xml when it should be true
the.mindstorm4c2554d2007-02-18 02:08:44 +0000707Fixed: TESTNG-142 Exceptions in DataProvider are not reported as failed test
708Added: Improved behavior for @Before/@AfterClass when using @Factory
709(http://forums.opensymphony.com/thread.jspa?threadID=6594&messageID=122294#122294)
710Added: Support for concurrent execution for invocationCount=1 threadPoolSize>1 and @DataProvider
711(http://forums.opensymphony.com/thread.jspa?threadID=64738&tstart=0)
bileblogcc01c6f2007-04-13 15:19:44 +0000712Added: New TestNG specific XML report, generated by default in 'xml' subdirectory of test-output
the.mindstorm0f282632007-04-19 00:00:01 +0000713Added: support in strprotocol for passing the ITest.getTestName() information
the.mindstorm79718dd2007-04-25 19:58:31 +0000714Fixed: TESTNG-152 If DataProvider is not found, the exception message should tell exactly what happened
the.mindstorma30275d2007-04-18 22:39:57 +0000715
the.mindstorm6d0b0552007-02-21 23:10:35 +0000716Eclipse plug-in
717
718Fixed: Bug that made group launch configurations unusable
the.mindstorma30275d2007-04-18 22:39:57 +0000719Fixed: The plugin doesn't create the correct launch configuration for @Factory
720Fixed: Method based launchers cannot be editted
721Fixed: Plugin hangs while executing test with dataprovider that sends \n, \r messages
the.mindstorm0f282632007-04-19 00:00:01 +0000722Added: display ITest.getTestName()
bileblogc7104e12007-04-13 12:54:10 +0000723
724IDEA plug-in
725
726Fixed: IDEA 7.0 compatibility
727Fixed: occasional 'illegal arguments exception'
728Fixed: TESTNG-151 Final passing test result is not properly hidden
bileblog2bb26842007-04-13 15:18:44 +0000729Added: Auto-completion for dependsOnMethods
730Added: Highlighting of invalid groups/methods in dependsOn*
Cedric Beustac025d52010-07-20 23:06:08 -0700731
cbeuste7ee9202007-01-30 17:46:49 +0000732===========================================================================
the.mindstorm2151a492006-12-13 04:36:44 +00007335.5
Cedric Beustac025d52010-07-20 23:06:08 -07007342007/01/25
the.mindstorm2151a492006-12-13 04:36:44 +0000735
cbeusta26b36e2007-01-23 23:47:21 +0000736Fixed: @BeforeGroup methods were run twice when in a base class
cbeustbab15682007-01-18 00:21:17 +0000737Fixed: @BeforeGroup methods were run twice with a @Test at class level
cbeust94b43f72007-01-11 23:57:29 +0000738Fixed: parallel="tests" didn't work as advertised
the.mindstorm39c426d2007-01-08 20:24:01 +0000739Added: Support for thread-count at test level
cbeustfd841532007-01-03 21:42:51 +0000740Added: Method selectors receive a Context and can stop the chain with setStopped()
cbeust88718b42007-01-03 16:31:31 +0000741Fixed: XmlMethodSelector was always run first regardless of its priority
the.mindstorm25f69e42006-12-29 02:15:23 +0000742Added: @BeforeGroups/@AfterGroups can live in classes without @Test methods
cbeust10efd592006-12-28 18:05:26 +0000743Added: DataProvider can now take an ITestContext parameter
cbeuste58af1d2006-12-28 03:17:31 +0000744Fixed: Wasn't parsing <selector-class-name> correctly
cbeustf7e88f82006-12-21 23:16:25 +0000745Fixed: Annotation Transformers now work on class-level annotations
746Fixed: Some class-level @Test attributes were not always honored
the.mindstorm9a148252006-12-21 22:54:28 +0000747Added: Clean separation between @Test invocation events and @Configuration invocation events
748 (see also TESTNG-111)
cbeust57233022006-12-23 16:24:22 +0000749Added: Test instances created by @Factory now run in multiple threads in parallel mode
the.mindstorm4a9f5e12006-12-19 20:16:18 +0000750Fixed: @Before/@AfterGroups invocation order
the.mindstorm6b388f82006-12-19 16:18:26 +0000751Fixed: TESTNG-27: Parameters are not used on <test> level anymore
the.mindstorm81996212006-12-14 03:01:30 +0000752Fixed: TESTNG-107 don't create an output directory if "outputDirectory" is null
cbeust68566752006-12-14 00:04:29 +0000753Fixed: TESTNG-127 UseDefaultListeners in Ant Task does not work
the.mindstormff19c2b2006-12-13 04:37:25 +0000754Fixed: TESTNG-119 Running TestNG runner with invalid '-sourcedir' on JDK14 JavaDoc annotated test classes won't fail.
the.mindstorm8603fcf2006-12-13 04:37:04 +0000755Fixed: TESTNG-113 Dependent methods within the same static inner class are not found
the.mindstorm2151a492006-12-13 04:36:44 +0000756Fixed: TESTNG-125 TestNG failed for test classes under *.java*.* pakages
757
the.mindstorm531c73e2006-12-22 04:06:09 +0000758Eclipse plug-in
759Fixed: issue with launch configuration
760Fixed: TESTNG-124: setting location of testng reports output
761
the.mindstorm2151a492006-12-13 04:36:44 +0000762===========================================================================
the.mindstorm20e416d2006-11-23 10:47:39 +00007635.4
the.mindstormc70a9de2006-10-31 00:18:31 +0000764
the.mindstorm8ced8ae2006-12-10 03:38:58 +0000765Fixed: Ant task issue with paths containing spaces
the.mindstormfeb9f102006-12-08 17:10:25 +0000766Added: for @BeforeGroups and @AfterGroups specifying the groups() attribute will auto-include the method
767 into those groups by default (previously you had to also provide the value() attribute).
the.mindstorm6b25aa42006-11-23 10:11:35 +0000768Added: the load @Tests (invocationCount + threadPoolSize) are triggered simultaneous
769Fixed: reports are correctly displaying the thread info
the.mindstormf50b6182006-11-02 12:39:37 +0000770Added: @DataProvider name defaults to method name
the.mindstormc70a9de2006-10-31 00:18:31 +0000771Added: support for remote protocol to pass parameter information
772Fixed: TextReporter logs information about the parameters of the test methods
the.mindstorm63d1b812006-11-01 18:29:35 +0000773Fixed: concurrency issue in JUnitXMLReporter
774Fixed: output of JUnitXMLReporter must be CDATA
the.mindstormfd3d6292006-11-12 00:55:45 +0000775Fixed: XML unsupported annotations/parallel attribute values are reported
cbeust125d2472006-09-16 19:49:12 +0000776
the.mindstormb74384c2006-11-25 03:16:51 +0000777Eclipse plug-in
the.mindstormbd2de7a2006-11-30 01:24:05 +0000778Fixed: groups with multi-attribute javadoc annotations
the.mindstormb74384c2006-11-25 03:16:51 +0000779Fixed: consistent behavior for dependsOnMethods
780Fixed: consistent behavior for tests with dependsOnGroups (a warning is emitted)
781Fixed: consistent merge of configuration arguments when an existing launch configuration exists
the.mindstorm7b73a742006-09-14 17:39:29 +0000782===========================================================================
cbeust125d2472006-09-16 19:49:12 +00007835.3
Cedric Beustac025d52010-07-20 23:06:08 -07007842006/10/30
cbeust125d2472006-09-16 19:49:12 +0000785
the.mindstorm7a14bd82006-10-25 00:56:00 +0000786Fixed: use a single instance of bsh.Interpreter
the.mindstorm55948752006-10-24 12:16:16 +0000787Added: @Before/@AfterMethod can declare a java.lang.reflect.Method parameter to be informed about the @Test method
the.mindstorm957a0e62006-10-20 00:42:42 +0000788Fixed: super classes must not be listed in testng-failures.xml
789Fixed: parallel attribute must not appear if empty or null in testng-failures.xml
the.mindstorm5e5666c2006-10-16 22:07:24 +0000790Fixed: parsing for javadoc annotations is done on request only
791Added: improved multiple suite summary page report
792Added: -target option deprecated in favor of -annotations javadoc|jdk
cbeust9e5d6a02006-10-16 00:39:54 +0000793Fixed: filesets in the ant task didn't work if the paths have spaces in them
the.mindstorm992befd2006-10-10 22:08:48 +0000794Fixed: Before/After Suite were behaving wrong in parallel execution
795Added: A generic/extensible RemoteTestNG was added to the core
the.mindstorm494a8d82006-09-28 23:06:30 +0000796Fixed: Before/AfterGroup-s were behaving wrong when using invocationCount, dataProvider and threadPoolSize
797Fixed: improved support for running different annotation type tests in the same suite
798Fixed: testng-failed.xml was generated even if there were no failures/skipps
799Fixed: -usedefaultlisteners was wrongly passed to JVM instead of TestNG options
cbeust3ee1fe02006-09-26 14:00:26 +0000800Added: Attribute dataProviderClass for @Test and @testng.test
cbeustada98512006-09-22 20:17:00 +0000801Fixed: Forgot to account for cases where both invocationCount and DataProviders are present
cbeust67a9c892006-09-22 05:38:30 +0000802Fixed: AfterGroups were invoked out of order with invocationCount and DataProviders
cbeustada98512006-09-22 20:17:00 +0000803Fixed: Reporter.getOutput() returned an empty array if a timeOut was specified
cbeust2c303722006-09-17 21:04:34 +0000804Added: testng.xml now supports <suite-files>
cbeust125d2472006-09-16 19:49:12 +0000805Added: ant task can receive several listeners
the.mindstorm6a229092006-09-18 06:52:11 +0000806Fixed: TESTNG-109 Skipped tests with expected exceptions are reported as failures
Bill.Michell55cef1b2006-10-13 16:29:44 +0000807Added: ant task can now select the parallel mode for running tests
808Fixed: ant task correctly deals with empty groups and excludedgroups parameters
809Added: ant task can override default suite and test names
810Added: comand line support for setting parallel mode, suite and test names
the.mindstorm7b73a742006-09-14 17:39:29 +0000811
812Eclipse plug-in
813Added: Support for configuring per project usedefaultlisteners
the.mindstorm6a229092006-09-18 06:52:11 +0000814Added: Contextual drop-down menu on failures tab of the TestNG view to enable running/debugging method failure only
815Added: Suppport for configuring per project TestNG jar usage (project provided one or plugin provided one)
cbeust8855dc42006-08-14 20:20:52 +0000816
the.mindstorma10e6b82006-08-06 21:51:57 +0000817===========================================================================
cbeust8bee4072006-08-23 23:32:32 +00008185.2
819
cbeustae569972006-09-11 19:47:01 +0000820Added: "-usedefaultlisteners true/false" to command line and ant
821Added: EmailableReporter (from Paul Mendelson)
cbeust4b9824b2006-09-01 17:34:08 +0000822Added: parallel can now be "methods" or "tests". Boolean version deprecated
cbeustc2408c32006-08-29 17:23:22 +0000823Added: TestNGAntTask now uses the @ syntax to invoke TestNG
cbeust26b0c782006-08-29 16:54:38 +0000824Added: Command line understands @ syntax
cbeuste24b3802006-08-24 17:47:41 +0000825Added: JUnitConverter uses the new syntax
826Added: -groups to JUnitConverter
cbeust8bee4072006-08-23 23:32:32 +0000827Fixed: Throw proper exception when a DataProvider declares parameters
the.mindstormf91c2a62006-09-03 01:32:44 +0000828Added: completely revamped JUnit support (should run all kind of JUnit tests)
829Fixed: TESTNG-40 (Bug in testng-failed.xml generation)
the.mindstorm2ea93332006-09-04 23:59:44 +0000830Fixed: TESTNG-106 (Failed "@BeforeSuite" method just skipps the last test in xml-file)
831Fixed: Success on 0 tests (http://forums.opensymphony.com/thread.jspa?threadID=41213)
the.mindstormf91c2a62006-09-03 01:32:44 +0000832
833Eclipse plug-in
834Added: TESTNG-105 Automaticaly define TESTNG_HOME classpath variable
cbeust8bee4072006-08-23 23:32:32 +0000835
836===========================================================================
the.mindstorma10e6b82006-08-06 21:51:57 +00008375.1
Cedric Beustac025d52010-07-20 23:06:08 -07008382006/08/18
cbeust336f0ef2006-08-01 22:50:26 +0000839
cbeust8855dc42006-08-14 20:20:52 +0000840Added: @Test(sequential = true)
cbeustca895ef2006-08-09 21:34:51 +0000841Fixed: TESTNG-102 (Incorrect ordering of @BeforeMethod calls when a dependency is specified)
the.mindstorm997a5932006-08-11 19:34:04 +0000842Fixed: TESTNG-101 (HTML output contains nested <P> tags and a missing <tr> tag)
the.mindstorma10e6b82006-08-06 21:51:57 +0000843Added: support for specifying test-only classpath (http://forums.opensymphony.com/thread.jspa?messageID=78048&tstart=0)
844Fixed: TESTNG-93 (method selectors filtering @BeforeMethod)
845Fixed: TESTNG-81 (Assert.assertFalse() displays wrong expected, actual value)
846Fixed: TESTNG-59 (multiple method selectors usage results in no tests run)
847Fixed: TESTNG-56 (invocation of @Before/AfterClass methods in parallel/sequential scenarios)
848Fixed: TESTNG-40 (failures suite does not contain @Before/After Suite/Test methods)
849Fixed: TESTNG-37 (allow passing null parameter value from testng.xml)
850Fixed: TESTNG-7 (display classname when hovering method)
851
852
853Eclipse plug-in
854
855Added: run contextual test classes with parameters from suite definition files
856Added: TESTNG-100 (Show HTML reports after running tests)
the.mindstorm13e8f502006-08-11 20:27:14 +0000857Added: TESTNG-97 (Double click top stack to raise comparison)
the.mindstorma10e6b82006-08-06 21:51:57 +0000858Added: TESTNG-84 (plug-in UI for suite option should support absolute path)
859Added: TESTNG-20 (copy stack trace)
860
861Fixed: TESTNG-72 (display groups with non-array values)
862Fixed: TESTNG-64 (Eclipse plug-in applies added groups to all launch configurations)
863Fixed: TESTNG-28 (Cannot select groups from dependent eclipse projects)
864Fixed: TESTNG-25 (do not display fully qualified method name when running contextual test class)
865
866Improved behavior:
867 TESTNG-98 (temporary files have guaranteed fixed names)
868 TESTNG-95 (Assertion failed comparison trims trailing ">")
cbeust96761aa2006-08-15 17:31:35 +0000869 TESTNG-70 (TestNG prevents eclipse from opening an older CVS version of a java class)
the.mindstorma10e6b82006-08-06 21:51:57 +0000870 display of test hierarchy information (TESTNG-29)
871
cbeust336f0ef2006-08-01 22:50:26 +0000872===========================================================================
873
8745.0.1
875
876Eclipse plug-in
877
878Added: Output directory for the tests
879Added: Can now specify listener classes
880
881===========================================================================
8825.0.1
883
884Fixed: reports generated by SuiteHTMLReporter do not work with JDK1.4
885
886===========================================================================
887
8885.0
Cedric Beustac025d52010-07-20 23:06:08 -07008892009/04/01
cbeust336f0ef2006-08-01 22:50:26 +0000890
891Added: Ant task: support for JVM, workingDir, timeout
892Added: Stack traces can be interactively shown in the HTML reports
893Added: Link to testng.xml in the reports
894Added: New structure for reports, suites go in their individual directory
895Added: @Test(suiteName) and @Test(testName)
896Added: The stack traces in reports do not include TestNG frames (system property testng.exception)
897 (see: http://groups.google.com/group/testng-dev/browse_thread/thread/9f4d46ade10b0fda)
898Fixed: Exit with error when no methods are run
899 (see: http://groups.google.com/group/testng-dev/browse_thread/thread/3c26e8a5658f22ac)
900Added: List of methods in alphabetical order
901Fixed: Class-scoped annotations were not recognized when inherited
902Added: Deprecated @Configuration and introduced @BeforeSuite/Test/Class/TestMethod
903Added: Deprecated @ExpectedExceptions and moved it into @Test
904Added: expectedExceptions to @Test, deprecated @ExpectedExceptions
905Added: New annotations: @BeforeSuite, @BeforeTest, etc...
906Fixed: Was returning an exit code of 0 if a cyclic graph was detected
907Added: Interface org.testng.ITest so that tests can declare a name
908Fixed: The Text reporter was reporting the square of the actual number of methods
909Fixed: Bug reported by Eran about dependencies with an afterClass method
910Added: IHookCallBack now receives the ITestResult in its run() method
911Added: Name of suite for command line can be set with -Dtestng.suite.name=xxx
912Fixed: TestNGAntTask was hardcoding m_haltOnFSP to true
913Fixed: Passing a null parameter caused an NPE in the reports
914Added: "listener" to the ant task (and documentation)
915Added: if patch-testng-sourcedir.properties is found in the classpath
916 with a property "sourcedir" containing a ; separated list of
917 directories, this list will override -sourcedir.
918
919===========================================================================
920
921
9224.7
923
924Added: Maven 2 plug-in
925Fixed: Message formattings in TestNG assertion utility class
926Fixed: @Factory methods were counted as @Test as well
927 http://jira.opensymphony.com/browse/TESTNG-51
928Fixed: All DataProvider parameters were shown in the HTML report
929Fixed: Bug in testng-failed.xml generation
930Fixed: <packages> bug when using a jar file to load the test classes
931Added: alwaysRun for before @Configuration methods
932 http://jira.opensymphony.com/browse/TESTNG-35
933Fixed: groupless @Configurations were not invoked if a method depends on a group
934 http://jira.opensymphony.com/browse/TESTNG-45
935Added: beforeGroups/afterGroups to @Configuration
936
937Eclipse plugin:
938
939Added: last contextual launch is available in Eclipse launcher lists
940Fixed: 3.2M5 integration (removed dependency on non-existing class)
941Fixed: testng-failures.xml generation
942
943===========================================================================
944
9454.6
Cedric Beustac025d52010-07-20 23:06:08 -07009462006/27/02
cbeust336f0ef2006-08-01 22:50:26 +0000947
948Added: Documentation contains the new reports
949Added: TestNG.setUseDefaultListeners(boolean)
950Added: Descriptions now appear in TextReporter (verbose>=2) and the HTML reports
951Added: description attribute to @Test and @Configuration
952Added: combined Reporter output in the reports
953Added: methods not run in the reports
954Added: org.testng.IReporter
955Added: threadPoolSize to @Test
956Added: Reports now show relative timings (start at 0)
957Added: Reports now show different colors depending on the methods' classes
958Added: Reports now show all parameters used to invoke the test method
959Added: org.testng.Reporter
960Added: DataProviders can accept a Method as first parameter
961Fixed: Extraneous implicit inclusion of a method
962
963Eclipse plugin:
964
965Added: Run/Debug as TestNG test from the editor contextual menu
966Fixed: TESTNG-24: 'Run as testng test' does not appear of the Test annotation does not have a group
967Fixed: TESTNG-18: Eclipse plugin ignores Factory annotation
968Fixed: TESTNG-21: Show differences when double clicking assertion exceptions
969Added: UI allows setting orientation (even more space)
970 http://forums.opensymphony.com/thread.jspa?threadID=17225&messageID=33805#33805
971
972===========================================================================
973
9744.5
Cedric Beustac025d52010-07-20 23:06:08 -07009752007/07/02
cbeust336f0ef2006-08-01 22:50:26 +0000976
977Core:
978
979Fixed: Methods were not implicitly included, only groups
980Fixed: Bug with failed parent @Configuration don't skip child @Configuration/@Test invocations
981Fixed: Bug with overridding @Configuration methods (both parent and child were run)
982Fixed: Bug when overriding beforeClass methods in base class (cyclic graph)
983Added: Support for JAAS (see org.testng.IHookable)
984Fixed: Problem with nested classes inside <package name="foo.*"
985Fixed: If a group is not found, mark the method as a skip instead of aborting
986Fixed: testng-failed.xml was not respecting dependencies
987Fixed: class/include method in testng.xml didn't work on default package
988Fixed: DTD only allowed one <define>
989Fixed: ArrayIndexOutOfBoundsException for jMock
990Added: dependsOnMethods can contain methods from another class
991Fixed: JUnitConverter required -restore, not any more (option is now a no-op)
992Fixed: JUnit mode wasn't invoking setName() on test classes
993Added: Regular expressions for classes in <package>
994Added: Distributed TestNG
995Fixed: Command line parameters and testng.xml are now cumulative
996Fixed: Reports now work for multiple suites
997Fixed: Was ignoring abstract classes even if they have non-abstract instances
998Fixed: If setUp() failed, methods were not skipped
999Fixed: Was not clearly indicating when beforeSuite fails
1000Added: @Configuration.inheritGroups
1001Fixed: inconsistency between testng.xml and objects regarding method selectors
1002
1003Eclipse plug-in:
1004
1005New look for the progress view.
1006
1007===========================================================================
1008
10094.4
1010
1011Core:
1012
1013Fixed: testng-failures.xml was not excluding methods from base classes
1014Fixed: Bug in suites of suites for JUnit mode
1015
1016===========================================================================
1017
10184.3
1019
1020Core:
1021
1022Fixed: testng-failures.xml was not excluding methods from base classes
1023Fixed: Bug in suites of suites for JUnit mode
1024Added: Excluded groups on command line and ant task
1025Fixed: When including a group, implicitly include groups depended upon
1026Fixed: When depending on several groups, wasn't skipped if one of them failed
1027Fixed: Failures weren't reported accurately in the JUnitReports report
1028Fixed: Wasn't throwing an exception if depending on a non-existing group
1029
1030===========================================================================
1031
10324.2
1033
1034Core:
1035
1036Fixed: wasn't excluding methods in base classes
1037Added: alwaysRun for tests (soft dependencies)
1038Fixed: Class-level enabled=false were not honored
1039Fixed: Bug with multiple dataproviders on same class
1040Fixed: Bug with dataprovider defined in the parent class
1041Fixed: Bug with dataprovider defined in a subclass
1042Fixed: Bug with dataprovider defined in an abstract class
1043Fixed: testng-failures generation was excluding the methods even if a failed test depended on it
1044
1045===========================================================================
1046
10474.1
1048
1049Core:
1050
1051Added: @DataProviders can return Iterable<Object[]>
1052Fixed: Superclass test methods were not called in the presence of a class @Test
1053Added: Reporter class to log messages in the HTML reports
1054
1055===========================================================================
1056
10574.0
Cedric Beustac025d52010-07-20 23:06:08 -070010582005/11/10
cbeust336f0ef2006-08-01 22:50:26 +00001059
1060Core:
1061
1062Fixed: suite methods now invoked only once in a hierarchy
1063Added: @DataProvider and @testng.data-provider
1064Fixed: Interleave order now respected for before/afterClass methods
1065Added: Can now invoke java -jar testng-2.6.jar <...>
1066Added: Support for BeanShell
1067Added: Method Selectors (IMethodSelector)
1068Fixed: In the absence of dependencies, @Configuration methods respect inheritance
1069Fixed: Bug in multithreaded dependencies on methods
1070Fixed: dependsOnGroups wasn't working on regular expressions
1071Fixed: Bug in <package> when directories contain spaces in their names
1072Fixed: Introduced a JDK5 dependency in the JDK1.4 build (getEnclosingClass())
1073Fixed: Output directory in ant task was not honored if it didn't exist
1074Fixed: Problem with timeout according to
1075 http://forums.opensymphony.com/thread.jspa?threadID=6707
1076
1077Eclipse plug-in:
1078
1079Fixed: Wasn't handling linked directories correctly
1080Fixed: Bug in QuickFix implementation
1081Added: Quick Fix for JUnit conversion (Annotations and JavaDoc)
1082Fixed: Methods Run as TestNG test
1083Added: Package level Run as TestNG test
1084Fixed: Resources from the linked directories are using a wrong path when
1085 passed to command line TestNG
1086
1087IDEA plug-in:
1088
1089Added: Support for JDK 1.4 (both projects and IDEA itself)
1090Fixed: Classes that contained only configuration were ignored
1091
1092===========================================================================
1093
10942.5
Cedric Beustac025d52010-07-20 23:06:08 -070010952005/08/08
cbeust336f0ef2006-08-01 22:50:26 +00001096
1097Added: ITestListener.onTestStart(ITestResult)
1098Added: Support for <packages>
1099Added: Resource files for easier ant taskdefs
1100Fixed: @Configuration methods were not invoked with individual test methods
1101Fixed: Bug with ExpectedExceptions
1102Fixed: Didn't support nested factory classes
1103Fixed: NPE if -target is omitted with JDK 1.4
1104Fixed: @Configuration failures in a class would cause other classes to fail
1105Added: alwaysRun
1106Fixed: beforeTestClass/afterTestClass were broken for a pathological case
1107Added: @Configuration(alwaysRun)
1108Added: JUnitConverter task
1109Fixed: < and > characters in reports were not escaped
1110
1111Eclipse plug-in:
1112
1113Fixed: Class dialog wasn't showing @Factory classes
1114
1115IDEA plug-in:
1116
1117First release!
1118
1119Documentation:
1120
1121Added: Brand new look!!!
1122Added: Section on testng.xml
1123Fixed: Numbering of sections
1124
1125===========================================================================
1126
11272.4
Cedric Beustac025d52010-07-20 23:06:08 -070011282005/07/05
1129
cbeust336f0ef2006-08-01 22:50:26 +00001130Changed: New package: testng.org
1131Fixed: Bug with @ExpectedException occuring the parallel mode
1132Fixed: Bug with parameters and beforeTest
1133Added: IInstanceInfo support
1134Fixed: methods were not excluded when included by groups
1135Fixed: testng-failures.xml is now including also the beforeSuite/afterSuite methods
1136Fixed: generating the testng-failures.xml is now working as expected
1137Fixed: Factories call all the tests even if some of them fail along the way
1138Fixed: Better JUnit support (wasn't creating individual instances)
1139Fixed: dependsOnGroups didn't work across different classes
1140Added: command line (and Ant) -groups option
1141Added: @Parameters (and made parameters attribute deprecated)
1142Added: Parameters for constructors
1143Fixed: Better interleaving of before/afterTestMethods
1144Fixed: Ant task
1145Fixed: TestNGException thrown when TestNG conditions are not fulfilled
1146
1147Documentation:
1148- New assert classes
1149- New ways to launch
1150- JUnitConverter documentation
1151- new beforeSuite/afterSuite
1152
1153===========================================================================
1154
11552.3
Cedric Beustac025d52010-07-20 23:06:08 -070011562005/04/12
cbeust336f0ef2006-08-01 22:50:26 +00001157
1158Fixed: Spaces are now legal in JavaDoc comments
1159Added: documentation for @Factory
1160Fixed: factories were called multiple times
1161Added: beforeSuite and afterSuite
1162Fixed: inheritance and scope now working properly for annotations
1163Fixed: dependsOnMethods wasn't working for 1.4
1164Added: Better stack traces
1165Added: Better syntax for included/excluded methods
1166Fixed: Better verbose support
1167Fixed: Various fixes for the Eclipse plug-in
1168Added: Can specify a class name on the command line
1169Fixed: Default package bug in JUnitConverter
1170Added: Regression tests for JUnitConverter
1171Added: -quiet option to JUnitConverter
1172
1173===========================================================================
1174
11752.2
1176
1177Fixed: Wasn't handling several testng.xml files correctly
1178Fixed: Renamed -src to -sourcedir
1179Fixed: Complains if no sourcedir is specified in 1.4
1180Added: In 1.4, don't require annotations="javadoc"
1181Fixed: If setUp fails, complain and mark test methods as skips
1182Fixed: Dependent methods weren't working for 1.4
1183
1184===========================================================================
1185
11862.1
Cedric Beustac025d52010-07-20 23:06:08 -070011872005/02/12
cbeust336f0ef2006-08-01 22:50:26 +00001188
1189Added: Parser can accept an InputStream for testng.xml
1190Fixed: expected-exceptions now fails if test passes
1191Fixed: reports now use the suite name in HTML
1192Added: invocationCount and successPercentage
1193Added: dependsOnMethods
1194Added: timeOut works in non-parallel mode
1195
1196===========================================================================
1197
11982.0
Cedric Beustac025d52010-07-20 23:06:08 -070011992004/12/06
cbeust336f0ef2006-08-01 22:50:26 +00001200
1201Added: port on JDK 1.4
1202
1203===========================================================================
1204
12051.3
1206
1207Added: new view: classes (still experimental)
1208Added: timeout on methods
1209Added: thread-count
1210Added: TestNG is now multithread, see "parallel" in <suite>
1211
1212===========================================================================
1213
12141.2
1215
1216Added: JUnitConverter
1217Fixed: Bug with afterClasses (test: AfterClassCalledAtTheEnd)
1218
1219===========================================================================
1220
12211.1
1222
1223Added: new links for methods and groups in the HTML report
1224Added: <methods>
1225Added: <fileset> to <testng>
1226
1227===========================================================================
1228
12291.0
Cedric Beustac025d52010-07-20 23:06:08 -070012302004/04/28
1231http://beust.com/weblog/2004/04/28/
cbeust336f0ef2006-08-01 22:50:26 +00001232
1233Fixed: Updated to the new DTD
1234Fixed: Suite table of contents displays failures first
1235Fixed: Bug in afterTestClass
1236Added: Validating testng.xml
1237Added: Scoped parameters
1238Added: testng.xml
1239Removed: Property quiet
1240Changed: Verbose is now an integer
1241Added: Dependent methods
1242
1243===========================================================================
1244
12450.9
1246
1247Added: Groups of groups
1248Added: Groups for Configuration methods
1249Added: Parameters
1250
1251===========================================================================
1252
12530.2
1254
1255Fixed: Merged TestMethod and TestClass into Test
1256Added: HTML report
1257Added: Regexps for groups
1258Fixed: Inheritance of methods
1259Fixed: ExpectedException is now called ExpectedExceptions