blob: bf4b9869e02c76940ec274976c010d3337543a51 [file] [log] [blame]
Cedric Beustcaa93562010-08-05 14:54:45 -07001Current
2
Cedric Beust0dba7d62010-09-27 14:48:01 -07003Added: timeOut for configuration methods
Cedric Beust82762732010-09-14 20:53:43 -07004Added: -randomizesuites (Nalin Makar)
Cedric Beust8d596362010-09-07 11:00:41 -07005Added: IConfigurable
Cedric Beust01aee422010-11-02 11:06:05 -07006Fixed: TESTNG-436: Deep Map comparison for assertEquals() (Nikolay Metchev)
Cedric Beust676b37b2010-10-24 22:36:05 -07007Fixed: Skipped tests were not always counted.
Cedric Beust98224a32010-10-13 13:48:46 -07008Fixed: EmailableReporter now sorts methods chronologically
nullin28e899a2010-10-17 01:32:57 -07009Fixed: TESTNG-411: Throw exception on mismatch of parameter values (via DP and/or Inject) and test parameters
Cedric Beust2a310da2010-10-06 12:09:02 -070010Fixed: IDEA-59073: exceptions that don't match don't have stack trace printed in console (Anna Kozlova)
Cedric Beuste04d1202010-10-05 13:39:03 -070011Fixed: IDEA's plug-in was not honoring ITest (fixed in TestResultMessage)
Cedric Beustf10c3a12010-10-05 11:00:56 -070012Fixed: Methods depending on a group they belong were skipped instead of throwing a cycle exception
Cedric Beust9102fec2010-10-04 11:17:08 -070013Fixed: TESTNG-401: ClassCastException when using a listener from Maven
Cedric Beust82ed7e92010-09-25 08:51:12 -070014Fixed: TESTNG-186: Rename IWorkerApadter to IWorkerAdapter (Tom‡s Pollak)
nullineb7e1b62010-09-26 22:47:52 -070015Fixed: TESTNG-415: Assert.assertEquals() for sets and maps fails with 'null' as arguments
Cedric Beustc987a162010-08-30 09:50:31 -070016Fixed: typo -testRunFactory
nullin14e2b692010-08-30 12:15:35 -070017Fixed: NPE while printing results for an empty suite (Nalin Makar)
nullinaacb2072010-08-30 13:44:11 -070018Fixed: Invoke IInvokedMethodListener.afterInvocation after fixing results for tests expecting exceptions (Nalin Makar)
Cedric Beust347f2c92010-11-10 15:33:43 -080019Fixed: TESTNG-441: NPE in SuiteHTMLReporter#generateMethodsChronologically caused by a race condition (Slawomir Ginter)
Cedric Beustc987a162010-08-30 09:50:31 -070020
Cedric Beust89c386f2010-09-12 11:58:05 -070021Eclipse:
Cedric Beust4054ab42010-11-05 15:19:18 -070022Added: Excluded methods are now listed in the Summary tab
23Added: Double clicking on an excluded method in the Summary tab will take you to its definition
Cedric Beusta4eabd22010-11-04 16:09:38 -070024Added: 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 -070025Added: When an item is selected in a tab, the same item will be selected when switching tabs
26Added: 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 -070027Added: It's now possible "Run/Debug As" with a right click from pretty much any element that makes sense in the tree.
Cedric Beustd60c8252010-10-12 10:22:48 -070028Added: The conversion of a JUnit test to TestNG now replaces @Test(timeout) with @Test(timeOut) (5.14.2.4)
29Added: The conversion of a JUnit test to TestNG now replaces @Test(expected) with @Test(expectedExceptions) (5.14.2.4)
Cedric Beust626e9f32010-10-08 12:36:10 -070030Added: The conversion of a JUnit test to TestNG now replaces fail() with AssertJUnit.fail() (5.14.2.2)
31Added: The conversion of a JUnit test to TestNG now replaces Assert with AssertJUnit (5.14.2.1)
Cedric Beuste49b1452010-10-06 14:34:47 -070032Added: The progress bar is now orange if the suite contained skipped tests and no failures
Cedric Beust64700132010-09-27 12:22:34 -070033Added: Skipped test and suite icons are now orange (previously: blue)
Cedric Beust89c386f2010-09-12 11:58:05 -070034Added: New method shortcuts: "Alt+Shift+X N", "Alt+Shift+D N" (Sven Johansson)
Cedric Beust4054ab42010-11-05 15:19:18 -070035Fixed: NPE when you select a passed test and click on the Compare Result icon (Mohamed Mansour)
Cedric Beust0e7989f2010-11-03 09:42:47 -070036Fixed: 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 -070037Fixed: 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 -070038Fixed: 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 -070039Fixed: Workspace preferences now offer the "XML template" option as well as the project specific preferences (Asiel Brumfield)
Cedric Beust82ed7e92010-09-25 08:51:12 -070040Fixed: TESTNG-418: Only last suite-file in testng.xml run by Eclipse plugin
Cedric Beust89c386f2010-09-12 11:58:05 -070041
42Documentation:
43Added: Section on Selenium (Felipe Knorr Kuhn)
Cedric Beustcc2ecd82010-10-05 13:43:22 -070044Added: Link to an article on TestNG, Mockito and Emma in the Misc section
Cedric Beust89c386f2010-09-12 11:58:05 -070045
Cedric Beustc987a162010-08-30 09:50:31 -070046===========================================================================
47
Cedric Beust5523eb42010-10-04 12:06:16 -0700485.14.1
492010/10/2
50
51Fixed: TESTNG-401: ClassCastException when using a listener from Maven
52
53===========================================================================
54
Cedric Beustc987a162010-08-30 09:50:31 -0700555.14
Cedric Beust63f2ea72010-09-07 11:15:23 -0700562010/08/28
Cedric Beustc987a162010-08-30 09:50:31 -070057
Cedric Beust1621e392010-09-05 16:24:35 -070058Added: test suites can now be run in parallel with -suitethreadpoolsize
Cedric Beustb4645402010-08-26 10:16:12 -070059Fixed: @Listeners now aggregate through base classes
Cedric Beust93379112010-08-25 09:49:14 -070060Fixed: ISuite was no longer serializable
Cedric Beust3cedfdf2010-08-25 07:15:35 -070061Fixed: Injection was sometimes not working properly when used with @Parameters
62Fixed: TESTNG-400: afterMethod was called after onTestFailure()
Cedric Beust7e735d92010-08-24 07:20:40 -070063Fixed: "excludedgroups" was not working on the ant task because of a typo
Cedric Beuste0eb7402010-08-22 09:44:52 -070064Fixed: ant task error if <classfileset> is used with no classes (welex91)
Cedric Beust3cedfdf2010-08-25 07:15:35 -070065Fixed: TESTNG-404: threaded tests fail due to use of non-threadsafe collections (Marcus Better)
Cedric Beust40be3852010-08-17 10:12:53 -070066Fixed: preserve-order was not preserving class order with dependent methods
Cedric Beust9ae4e702010-08-05 21:09:48 -070067Fixed: RetryAnalyzer wasn't working properly with factories
Cedric Beustcaa93562010-08-05 14:54:45 -070068Fixed: The ant task was no longer supporting ',' for testclass
69
Cedric Beust39fb6ed2010-08-19 10:00:21 -070070Eclipse:
71
72Fixed: The plug-in wasn't running Groovy tests correctly (Andrew Eisenberg)
Cedric Beust3cedfdf2010-08-25 07:15:35 -070073Fixed: 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 -070074
Cedric Beustcaa93562010-08-05 14:54:45 -070075===========================================================================
76
Cedric Beustcaa93562010-08-05 14:54:45 -0700775.13.1
782010/08/05
cbeust10b41092009-04-07 16:04:39 +000079
Cedric Beustec2c6742010-07-21 10:32:22 -070080Added: -methods
nullin62a82c62010-07-16 15:01:45 -070081Added: -configfailurepolicy (Todd Quessenberry)
Cedric Beustb3a84262010-07-10 16:36:39 -070082Added: -methodselectors (Todd Quessenberry)
Cedric Beustaba3ac22010-07-09 16:35:50 -070083Added: @NoInjection
Cedric Beust9dea4442010-07-04 11:33:25 -070084Added: <test preserve-order="true">
Cedric Beustfffc20f2010-07-01 07:40:45 -070085Added: -testnames (command line) and testnames (ant)
cbeuste6eaf482010-05-25 20:59:10 +000086Added: New ant task tag: propertyset (Todd Wells)
cbeust268e3e02010-04-23 20:49:03 +000087Added: ITestNGListenerFactory
cbeustaf701af2010-06-11 19:54:19 +000088Added: Passing command line properties via the ant task and doc update (Todd Wells)
Cedric Beustbef56532010-06-29 13:39:49 -070089Added: Hierarchical XmlSuites (Nalin Makar)
Cedric Beustbf02fc82010-07-03 08:56:30 -070090Added: Reporter#clear()
Cedric Beustf3818372010-07-29 17:50:01 -070091Fixed: NullPointerException when a suite produces no results (Cefn Hoile)
Cedric Beuste157c702010-07-08 23:11:37 -070092Fixed: Identical configuration methods were not always invoked in the correct order in superclasses (Nalin Makar)
Cedric Beustacd388b2010-07-07 14:58:22 -070093Fixed: @DataProvider(parallel = true) was passing incorrect parameters with injection
Cedric Beustbeaff9a2010-07-06 23:00:33 -070094Fixed: Replaced @Test(sequential) with @Test(singleThreaded)
nullin675d7072010-07-06 00:06:14 -070095Fixed: If inherited configuration methods had defined deps, they could be invoked in incorrect order (Nalin Makar)
nullin32b42ad2010-07-01 16:47:22 -070096Fixed: Initialize all Suite/Test runners at beginning to catch configuration issues right at start (Nalin Makar)
nullin675d7072010-07-06 00:06:14 -070097Fixed: Issue7: Issue86 Incorrect dates reported for configuration methods
98Fixed: Issue24: OOM errors in SuiteHTMLReporter (Nalin Makar)
cbeust8222e202010-06-27 19:41:34 +000099Fixed: Time outs specified in XML were not honored for <suite parallel="tests">
cbeust100885a2010-06-27 19:15:32 +0000100Fixed: <suite> and <test> time outs were hardcoded, they now honor their time-out attribute
cbeustecf39722010-06-27 16:20:49 +0000101Fixed: TestNG was hanging if no test methods were found
cbeust721fb912010-06-27 15:55:22 +0000102Fixed: onTestSuccess() was called after @AfterMethod instead of after the test method (test: test.listener.ListenerTest)
cbeustc4b46792010-06-25 13:15:09 +0000103Fixed: XML test results contained skipfailedinvocationCounts instead of skipfailedinvocationcounts
nalin.makar@gmail.comff94a1b2010-06-21 05:07:34 +0000104Fixed: Issue4 assertEquals for primitive arrays, Issue34 assertNull javadoc updated
nalin.makar@gmail.come3b52052010-06-20 07:22:42 +0000105Fixed: Issue78 NPE with non-public class. Now throws TestNG exception
cbeustf1ae0de2010-06-19 14:41:39 +0000106Fixed: NPE with @Optional null parameters (Yves Dessertine)
nalin.makar@gmail.come3b52052010-06-20 07:22:42 +0000107Fixed: TESTNG-387 TestNG not rerunning test method with the right data set from Data Provider (Franois Reynaud)
nalin.makar@gmail.comd3c04c32010-06-15 00:23:44 +0000108Fixed: Show correct number of pass/failed numbers for tests using @DataProvider
109Fixed: Return correct method status and exception (if any) in InvokedMethodListener.afterInvocation()
nalin.makar@gmail.comd16c4e52010-06-10 20:59:55 +0000110Fixed: Trivial fixes: TESTNG-241 (log message at Info), Issue2 (throw SAXException and not NPE for invalid testng xml)
111Fixed: Configuration methods couldn't depend on an abstract method (Nalin Makar)
cbeust52fd78d2010-05-20 20:39:57 +0000112Fixed: TestNG#setTestClasses was not resetting m_suites
cbeustdb66a3d2010-04-29 01:59:33 +0000113Fixed: Exceptions thrown by IInvokedMethodListeners were not caught (Nalin Makar)
cbeustbfac6512010-04-19 17:42:35 +0000114Fixed: @Listeners now works on base classes as well
115Fixed: Test priorities were not working properly in non-parallel mode
cbeust4f8e3e62010-04-15 21:36:02 +0000116Fixed: @Listeners wasn't working properly with ITestListener
cbeust0813ae82010-03-31 22:03:25 +0000117
Cedric Beust4601d932010-07-30 13:22:36 -0700118Eclipse
119
Cedric Beustca615d72010-07-30 14:07:18 -0700120Fixed: TESTNG-395 New wizard was creating classes called "NewTest"
121Fixed: TESTNG-397 Class level @Test was preventing groups from showing up in the launch configuration
Cedric Beust4601d932010-07-30 13:22:36 -0700122
cbeust1e615022010-06-24 01:53:30 +0000123Doc
124Updated Maven documentation (Brett Porter)
125
cbeust0813ae82010-03-31 22:03:25 +0000126===========================================================================
cbeustdb66a3d2010-04-29 01:59:33 +0000127
1285.12.1
Cedric Beustac025d52010-07-20 23:06:08 -07001292010/03/29
cbeustdb66a3d2010-04-29 01:59:33 +0000130
131Maven update
132
133===========================================================================
cbeust0813ae82010-03-31 22:03:25 +00001345.12
135
cbeustf0183e12010-01-17 02:34:35 +0000136Removed: Javadoc annotation support
137
cbeustcfe1bf22010-03-24 20:26:31 +0000138Added: @Listeners
cbeusta26e1572010-03-16 17:42:14 +0000139Added: IAttributes#getAttributeNames and IAttributes#removeAttribute
cbeust416a6c62010-03-10 17:16:39 +0000140Added: testng-results.xml now includes test duration in the <suite> tag (Cosmin Marginean)
cbeust1e15cc32010-03-03 16:59:55 +0000141Added: Injection now works for data providers
cbeust419f6682010-02-12 21:03:30 +0000142Added: TestNG#setObjectFactory(IObjectFactory)
cbeustbf8793f2010-01-29 06:36:16 +0000143Added: Priorities: @Test(priority = -1)
cbeustcfe1bf22010-03-24 20:26:31 +0000144Added: New attribute invocation-numbers in <include>
cbeustdd84c4f2010-01-24 21:28:02 +0000145Added: testng-failed.xml only contains the data provider invocations that failed
cbeust68f45042009-12-30 01:58:29 +0000146Added: IInvokedMethodListener2 to have access to ITestContext in listeners (Karthik Krishnan)
cbeuste350d762010-02-20 03:23:08 +0000147Fixed: @Before methods run from factories were not properly interleaved
cbeustc319bb52009-12-30 20:32:29 +0000148Fixed: The TextReporter reports skipped tests as PASSED (Ankur Agrawal)
cbeust68f45042009-12-30 01:58:29 +0000149
cbeusta5fceea2009-12-08 23:01:26 +0000150Eclipse:
151
cbeust4aa07e22010-01-05 01:29:09 +0000152Added: New file wizard: can now create a class with annotations, including @DataProvider
cbeust1a7cabf2009-12-11 22:56:02 +0000153Added: You can now select multiple XML suites to be run in the launch dialog
cbeuste350d762010-02-20 03:23:08 +0000154Fixed: @Test(groups = <constant>) was taking name of the constant instead of its value.
cbeustbeb3f2f2010-01-15 05:21:02 +0000155Fixed: http://jira.codehaus.org/browse/GRECLIPSE-476 NPE with Groovy Tests (Andrew Eisenberg)
cbeust1a7cabf2009-12-11 22:56:02 +0000156Fixed: The custom XML file is now created in the temp directory instead of inside the project
cbeusta5fceea2009-12-08 23:01:26 +0000157Fixed: In the launch dialog, now display an error if trying to pick groups when no project is selected
158Fixed: Was not setting the parallel attribute correctly on the temporary XML file
cbeuste02a82b2009-12-07 21:25:38 +0000159
160===========================================================================
1615.11
Cedric Beustac025d52010-07-20 23:06:08 -07001622009/12/08
cbeuste02a82b2009-12-07 21:25:38 +0000163
cbeusta4e68922009-11-26 19:46:45 +0000164Added: Dependent methods can now run in their own thread
cbeust88b72992009-10-25 23:00:55 +0000165Added: dataProviderThreadCount can be set from the command line and from ant (Adrian Grealish)
cbeust77ec73c2009-09-17 15:18:32 +0000166Added: ITestAnnotation#setDataProvider
cbeust99b4d6c2009-11-03 18:48:14 +0000167Added: Assert#assertEquals() methods for Sets and Maps
cbeust3ee46382009-12-08 18:04:59 +0000168Fixed: The text reporter was no longer reporting stack traces for verbose >= 2
cbeuste9b7e752009-12-05 19:57:30 +0000169Fixed: dataProviderClass was not respecting inheritance (like most attributes still)
cbeust0501e252009-12-02 19:09:41 +0000170Fixed: @BeforeSuite/@AfterSuite would run multiple times when used in a @Factory
cbeustf4bff962009-12-01 21:31:44 +0000171Fixed: packages=".*" wasn't working properly (sandopolus)
cbeust2cc1cc22009-11-29 01:32:19 +0000172Fixed: TestResult#getName now returns the description instead of the method
cbeusta4e68922009-11-26 19:46:45 +0000173Fixed: @DataProvider and dependent methods were not skipping correctly (Francois Reynaud)
cbeust15d8b692009-11-14 19:54:58 +0000174Fixed: TESTNG-347 suite with parallel="tests" and test with parallel="classes" doesn't work correctly (Rob Allen)
cbeustbf8f9f52009-11-06 16:35:04 +0000175Fixed: TESTNG-67: @Configuration/@Factory methods in base class being ignored
cbeust6006c862009-11-02 18:57:01 +0000176Fixed: Inner test classes were not excluded properly (Carsten Gubernator)
cbeust43f186d2009-10-03 01:55:40 +0000177Fixed: threadPoolSize without invocationCount was causing reporters not to be invoked
cbeustdbdf74f2009-09-18 18:17:21 +0000178Fixed: A @Factory throwing an exception did not cause any error
cbeust6d300dc2009-09-10 13:33:35 +0000179Fixed: <classfilesetref> was not working properly in the ant task (Ed Randall)
cbeustafd25d62009-09-01 17:57:59 +0000180Fixed: @BeforeClass methods were not running in parallel (Aidan Short)
DanFabulich19ba35f2009-10-03 04:37:51 +0000181Fixed: Test class with @ObjectFactory doesn't get instantiated via the factory
182Fixed: Allow IObjectFactory to load from non-standard classloader (for PowerMock support)
cbeustafd25d62009-09-01 17:57:59 +0000183
cbeusta5fceea2009-12-08 23:01:26 +0000184Eclipse 5.11.0.19:
cbeustf4bff962009-12-01 21:31:44 +0000185Added: New "parallel" preference setting (Windows / Preferences / TestNG)
cbeust3ee46382009-12-08 18:04:59 +0000186Fixed: IIinvokedMethodListeners were not invoked
cbeustf4bff962009-12-01 21:31:44 +0000187
cbeustafd25d62009-09-01 17:57:59 +0000188===========================================================================
1895.10
190
cosminaru0480c022009-05-23 17:30:47 +0000191Added: The output in the testng-results.xml is now sorted by the starting timestamp (Daniel Rudman)
cbeust9f2367a2009-05-18 19:16:14 +0000192Added: Better display of the test name and method description in the default and Emailable report
cbeust54520072009-05-13 16:49:07 +0000193Added: If both -testjar and an XML file are provided on the command line, the latter will be used
cbeustfa41a362009-05-12 16:22:42 +0000194Added: @Before and @After methods can be injected with the current XmlTest
cbeust572c7e62009-05-05 18:28:37 +0000195Added: Methods that time out now display the stack trace showing where the time out occurred
cbeust94efdf82009-05-04 21:27:11 +0000196Added: ITestResult#getAttribute and ITestResult#setAttribute
cbeustfa41a362009-05-12 16:22:42 +0000197Added: @After methods can now be injected with an ITestResult
cbeust94efdf82009-05-04 21:27:11 +0000198Added: @BeforeMethod and @AfterMethod methods can now be injected an ITestResult
cbeustda4f4522009-04-30 22:26:02 +0000199Added: ISuite#getAttribute and ISuite#setAttribute to share data within a suite
cbeust27e81a62009-05-05 17:57:26 +0000200Added: @Test(expectedExceptionsMessageRegExp = ".*foo.*")
201Added: @DataProvider(parallel=true)
cbeust06169672009-07-21 15:35:51 +0000202Fixed: @Test(dataProvider) was not working at the class level
cbeust4c02d892009-06-26 22:30:55 +0000203Fixed: Display a better error message if the wrong exception is thrown with an expectedExceptions
cbeustb6eb3672009-06-10 18:32:25 +0000204Fixed: Classes created by factories were not run in the order they were created
cbeustb7eacc52009-06-03 15:36:21 +0000205Fixed: Dependent methods are now run closer to methods within their class
cbeustb72906e2009-06-02 15:16:24 +0000206Fixed: xmlFileSet in ant was not working correctly (Sean Shou)
cbeust18d27ed2009-06-01 15:49:09 +0000207Fixed: Various oversights in the DTD (Will McQueen)
cosminaru0480c022009-05-23 17:30:47 +0000208Fixed: XMLUtils was not escaping XML attribute values
cbeust9da51c42009-05-18 20:21:13 +0000209Fixed: 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 +0000210Fixed: Test names (classes that implement org.testng.ITest) now appear more prominently in the HTML reports
cbeust572c7e62009-05-05 18:28:37 +0000211Fixed: expectedExceptions=RuntimeException.class was not failing when no exception was throw
cbeust62009f02009-04-29 20:58:21 +0000212Fixed: TESTNG-291: Exceptions thrown by Iterable DataProviders are not caught, no failed test reported (Roberto Tyley)
cbeustb1b62052009-04-29 19:02:40 +0000213Fixed: TESTNG-301: Need to include parameters in testNG report for test created by @Factory
cbeustd1bcd192009-04-27 22:07:43 +0000214Fixed: testng-failed.xml now includes skipped tests
cbeust27fb3842009-04-20 16:02:44 +0000215Fixed: TestNG couldn't find Groovy files (Haw-Bin)
216
cbeust10b41092009-04-07 16:04:39 +0000217Eclipse
218
cbeust6dd2aaf2009-05-12 16:39:37 +0000219Fixed: TESTNG-313: Provide extension point to contribute test and report listeners (Erik Putrycz)
cbeust10b41092009-04-07 16:04:39 +0000220Fixed: Quick fixes no longer introduce deprecated annotations (Greg Turnquist)
221
cbeuste4e7d242008-04-06 04:16:13 +0000222===========================================================================
cbeusta0726712009-02-22 17:44:20 +00002235.9
Cedric Beustac025d52010-07-20 23:06:08 -07002242009/04/09
cbeust01f74792008-04-06 17:33:25 +0000225
cbeust5c38f852009-03-23 03:46:06 +0000226Added: New ant task boolean flag: delegateCommandSystemProperties (Justin)
cbeust32a38ce2009-03-24 17:30:31 +0000227Added: skipfailedinvocations under <suite> in testng-1.0.dtd (Gael Marziou / Stevo Slavic)
cbeuste38a74e2009-02-11 17:50:51 +0000228Added: -testrunfactory on the command line and in the ant task (Vitalyi Pamajonkov)
cbeust1c5c9aa2009-01-30 21:09:43 +0000229Added: TESTNG-298: parallel="classes", which allows entire classes to be run in the same thread
cbeustc3b0ec52009-01-30 17:01:20 +0000230Added: @BeforeMethod can now declare Object[] as a parameter, which will be filled by the parameters of the test method
231Added: IAnnotationTransformer2
232Added: @Test(invocationTimeOut), which lets you set a time out for the total time taken by invocationCount
233Added: IInvokedMethodListener
234Added: -testjar supports jar file with no testng.xml file
cbeust08e5ac52009-03-31 21:56:17 +0000235Fixed: IInvokedMethodListener wasn't properly recognized from the command line (Leonardo Rafaeli)
cbeust7ce0e722009-03-30 15:02:34 +0000236Fixed: TESTNG-309 Illegal default value for attribute in DTD file
237Fixed: TESTNG-192: JUnit XML output includes wrong tests (Aleksandar Borojevic)
cbeust36040b12009-03-28 05:01:47 +0000238Fixed: Set a generated suite to default to non-parallel (Mark Derricutt)
cbeust52df24d2009-03-18 19:40:31 +0000239Fixed: -testJar command line parsing bug
cbeust8beffc12009-03-18 19:27:21 +0000240Fixed: testng-failed.xml didn't include the listeners
cbeust1b7fe502009-03-14 16:05:33 +0000241Fixed: annotation transformers were not run when specified in testng.xml
cbeustb68cf6d2009-02-25 16:07:13 +0000242Fixed: TESTNG-192: JUnit XML output includes wrong tests (Borojevic)
cbeusta0726712009-02-22 17:44:20 +0000243Fixed: @Parameters was not working correctly on @BeforeMethods with @DataProvider used on @Test methods
cbeust68749e12009-02-20 01:14:46 +0000244Fixed: testng-failed.xml was sometimes incorrectly generated (Borojevic)
cbeustdf28a342009-02-16 19:18:21 +0000245Fixed: TestNG-228: Assert.assertEqualsNoOrder
246Fixed: TestNG-229: Assert.assertEquals does not behave properly when arguments are sets
247Fixed: TESTNG-36: assertEquals(Collection actual, Collection expected, String message) may have bug
cbeustee0edc42009-01-30 22:06:57 +0000248Fixed: TESTNG-296: Malformed jar URLs breaking -testJar
cbeustc3b0ec52009-01-30 17:01:20 +0000249Fixed: TESTNG-297: TestNG seemingly never stops running while building failed test suite (Gregg Yost)
cbeust35371912008-12-10 16:48:29 +0000250Fixed: TESTNG-285: @Test(sequential=true) works incorrectly for classes with inheritance
cbeust9f2e0c32008-11-17 16:18:00 +0000251Fixed: TESTNG-254: XMLSuite toXML() ignores listeners
cbeust6ca01b52008-10-15 21:11:46 +0000252Fixed: TESTNG-276: Thread safety problem in Reporter class
253Fixed: TESTNG-277: Make Reporter.getCurrentTestResult() public
cbeustd04b2ae2008-10-01 22:29:18 +0000254Fixed: Potential NPE in XmlTest#getVerbose (Ryan Morgan)
cbeust651ca6a2008-09-26 22:13:43 +0000255Fixed: EmailableReporter only displayed the first group for each test method
cbeust6bf0a7d2008-09-09 18:32:58 +0000256Fixed: time-outs were not working in <test> and <suite>
cbeust891c6962008-06-19 15:50:55 +0000257Fixed: @BeforeTest failing in a base class would not cause subsequent test methods to be skipped
cbeust318a4e42008-06-13 17:53:11 +0000258Fixed: TESTNG-195: @AfterMethod has no way of knowing if the current test failed
cbeust486fc182008-05-31 23:16:07 +0000259Fixed: TESTNG-249: Overridden test methods were shadowing each other if specified with <include>
cbeust8778efa2008-05-27 20:22:14 +0000260Fixed: DataProviders from @Factory-created tests were all invoked from the same instance
cbeuste3264a42008-05-27 02:14:38 +0000261Fixed: enabled was not working on configuration methods
cbeust2cdae872008-05-26 19:51:31 +0000262Fixed: IIinvokedMethodListener was not correctly added in TestNG
cbeust38ef90d2008-04-19 18:23:17 +0000263Fixed: NPE in XmlSuite#toXml
cbeust01f74792008-04-06 17:33:25 +0000264Fixed: TESTNG-231: NullPointerException thrown converting a suite to XML (Mark)
cbeuste4e7d242008-04-06 04:16:13 +0000265
cbeustf3016e42008-04-06 18:56:04 +0000266Doc:
cbeust2cdae872008-05-26 19:51:31 +0000267Added: 5.20: IInvokedMethodListener
cbeust398dbfd2008-04-20 16:06:55 +0000268Added: -testjar
cbeustf3016e42008-04-06 18:56:04 +0000269
cbeuste4e7d242008-04-06 04:16:13 +0000270===========================================================================
cbeustd9cf8a02008-02-17 23:38:26 +00002715.8
the.mindstorm3a238872007-11-15 01:44:32 +0000272
cbeust5191a182008-03-23 04:50:22 +0000273Fixed: TestNG-220: Ignore class definition/loader issues when scanning classpath for implicit classes
cbeustd7d31c12008-03-23 04:02:44 +0000274Fixed: TestNG-224: Fix for relative suite filenames in XML file
cbeust3e8cd5c2008-03-23 00:42:16 +0000275Added: TestNG-213: @Optional on a method parameter to allow optional @Parameters
cbeust920214e2008-03-23 00:18:18 +0000276Fixed: TestNG-214: SkipException and TimeBombSkipException should accept nested exceptions
277Fixed: TestNG-211: new Parser(inputStream) doesn't work
cbeustd9cf8a02008-02-17 23:38:26 +0000278Added: Methods that form a cycle are now shown when the cycle is detected
cbeust509aca52008-02-04 01:33:30 +0000279Added: Support for <listeners> in testng.xml
cbeustfa27df32008-02-03 22:04:37 +0000280Added: IMethodInterceptor
cbeust8b9443a2008-01-02 21:46:34 +0000281Added: @TestInstance on a data provider method parameter
cbeustd7e50002007-11-21 18:50:52 +0000282Fixed: @AfterMethod(lastTimeOnly) didn't work properly with data providers
the.mindstorm79074792007-11-15 01:57:53 +0000283Added: antlib.xml to allow autodiscovery of Ant task definition
the.mindstorm3a238872007-11-15 01:44:32 +0000284Fixed: name attribute on <test> is required
cbeustd7e50002007-11-21 18:50:52 +0000285
cbeust8edb61b2008-03-23 02:11:47 +0000286Doc:
287Added: Method Interceptor
288Added: @Optional
cbeust52b3c922008-04-06 03:40:26 +0000289Added: Doc for IMethodInterceptor (5.16) and TestNG listeners (5.18)
cbeust8edb61b2008-03-23 02:11:47 +0000290Added: 5.19: Dependency injection
291
the.mindstorm31fbf112006-10-25 23:17:06 +0000292===========================================================================
cbeust072b1c02007-06-08 15:06:26 +00002935.7
294
cbeust45a161f2007-11-01 21:37:49 +0000295Added: @BeforeMethod(firstTimeOnly) and @AfterMethod(lastTimeOnly)
cbeustec9d2742007-10-30 17:09:57 +0000296Added: @BeforeMethods can now take a Method and ITestContext parameters (like @DataProvider)
the.mindstorm29a0d372007-10-02 12:43:25 +0000297Fixed: logging about abstract classes moved to level 5
cbeust2c75cc42007-11-08 16:31:32 +0000298Added: if @Parameter is missing from testng.xml then it is read from the System properties
cbeust61e3a372007-09-23 06:54:11 +0000299Fixed: Don't run a @DataProvider method as a test when a class-level @Test is present
300Added: Attribute @Test#skipFailedInvocations
the.mindstorm04111212007-06-19 00:23:53 +0000301Fixed: TESTNG-169 Error message: <method> is depending on nonexistent method null ("null" is uninformative)
cbeust503726b2007-06-18 20:17:49 +0000302Fixed: -listener takes comma-separated classes
cbeust072b1c02007-06-08 15:06:26 +0000303Added: RetryAnalyzer (experimental) (Jeremie)
304
cbeust072b1c02007-06-08 15:06:26 +0000305===========================================================================
cbeuste7ee9202007-01-30 17:46:49 +00003065.6
Cedric Beustac025d52010-07-20 23:06:08 -07003072007/06/14
cbeuste7ee9202007-01-30 17:46:49 +0000308
the.mindstormee28d802007-04-12 00:48:56 +0000309Added: SkipException/TimeBombedSkipException for manual skipping
cbeust503726b2007-06-18 20:17:49 +0000310Added: <tests> can now be disabled at xml level using <test enabled="false">
cbeustc8d9bd62007-03-23 15:06:13 +0000311Added: Suite files that only contain other suites do not get reported
cbeustc81cb822007-03-15 11:08:03 +0000312Fixed: @BeforeClass methods would incorrectly report cyclic graphs
bileblogfda56212007-03-09 03:12:31 +0000313Added: get/setAttribute to ITestContext
the.mindstormaa639c52007-03-07 20:02:47 +0000314Added: plugging in factory objects to handle the actual instantiation of tests
cbeust91f466b2007-01-31 05:46:54 +0000315Added: dataProvider to @Factory
cbeuste7ee9202007-01-30 17:46:49 +0000316Added: ISuite now gives access to the current XmlSuite
the.mindstormc5b9a8c2007-02-13 10:33:16 +0000317Fixed: TESTNG-139 dependsOnMethods gets confused when dependency is "protected"
the.mindstormb7e26702007-02-13 10:49:07 +0000318Fixed: TESTNG-141 junit attribute set to false in testng-failed.xml when it should be true
the.mindstorm4c2554d2007-02-18 02:08:44 +0000319Fixed: TESTNG-142 Exceptions in DataProvider are not reported as failed test
320Added: Improved behavior for @Before/@AfterClass when using @Factory
321(http://forums.opensymphony.com/thread.jspa?threadID=6594&messageID=122294#122294)
322Added: Support for concurrent execution for invocationCount=1 threadPoolSize>1 and @DataProvider
323(http://forums.opensymphony.com/thread.jspa?threadID=64738&tstart=0)
bileblogcc01c6f2007-04-13 15:19:44 +0000324Added: New TestNG specific XML report, generated by default in 'xml' subdirectory of test-output
the.mindstorm0f282632007-04-19 00:00:01 +0000325Added: support in strprotocol for passing the ITest.getTestName() information
the.mindstorm79718dd2007-04-25 19:58:31 +0000326Fixed: TESTNG-152 If DataProvider is not found, the exception message should tell exactly what happened
the.mindstorma30275d2007-04-18 22:39:57 +0000327
the.mindstorm6d0b0552007-02-21 23:10:35 +0000328Eclipse plug-in
329
330Fixed: Bug that made group launch configurations unusable
the.mindstorma30275d2007-04-18 22:39:57 +0000331Fixed: The plugin doesn't create the correct launch configuration for @Factory
332Fixed: Method based launchers cannot be editted
333Fixed: Plugin hangs while executing test with dataprovider that sends \n, \r messages
the.mindstorm0f282632007-04-19 00:00:01 +0000334Added: display ITest.getTestName()
bileblogc7104e12007-04-13 12:54:10 +0000335
336IDEA plug-in
337
338Fixed: IDEA 7.0 compatibility
339Fixed: occasional 'illegal arguments exception'
340Fixed: TESTNG-151 Final passing test result is not properly hidden
bileblog2bb26842007-04-13 15:18:44 +0000341Added: Auto-completion for dependsOnMethods
342Added: Highlighting of invalid groups/methods in dependsOn*
Cedric Beustac025d52010-07-20 23:06:08 -0700343
cbeuste7ee9202007-01-30 17:46:49 +0000344===========================================================================
the.mindstorm2151a492006-12-13 04:36:44 +00003455.5
Cedric Beustac025d52010-07-20 23:06:08 -07003462007/01/25
the.mindstorm2151a492006-12-13 04:36:44 +0000347
cbeusta26b36e2007-01-23 23:47:21 +0000348Fixed: @BeforeGroup methods were run twice when in a base class
cbeustbab15682007-01-18 00:21:17 +0000349Fixed: @BeforeGroup methods were run twice with a @Test at class level
cbeust94b43f72007-01-11 23:57:29 +0000350Fixed: parallel="tests" didn't work as advertised
the.mindstorm39c426d2007-01-08 20:24:01 +0000351Added: Support for thread-count at test level
cbeustfd841532007-01-03 21:42:51 +0000352Added: Method selectors receive a Context and can stop the chain with setStopped()
cbeust88718b42007-01-03 16:31:31 +0000353Fixed: XmlMethodSelector was always run first regardless of its priority
the.mindstorm25f69e42006-12-29 02:15:23 +0000354Added: @BeforeGroups/@AfterGroups can live in classes without @Test methods
cbeust10efd592006-12-28 18:05:26 +0000355Added: DataProvider can now take an ITestContext parameter
cbeuste58af1d2006-12-28 03:17:31 +0000356Fixed: Wasn't parsing <selector-class-name> correctly
cbeustf7e88f82006-12-21 23:16:25 +0000357Fixed: Annotation Transformers now work on class-level annotations
358Fixed: Some class-level @Test attributes were not always honored
the.mindstorm9a148252006-12-21 22:54:28 +0000359Added: Clean separation between @Test invocation events and @Configuration invocation events
360 (see also TESTNG-111)
cbeust57233022006-12-23 16:24:22 +0000361Added: Test instances created by @Factory now run in multiple threads in parallel mode
the.mindstorm4a9f5e12006-12-19 20:16:18 +0000362Fixed: @Before/@AfterGroups invocation order
the.mindstorm6b388f82006-12-19 16:18:26 +0000363Fixed: TESTNG-27: Parameters are not used on <test> level anymore
the.mindstorm81996212006-12-14 03:01:30 +0000364Fixed: TESTNG-107 don't create an output directory if "outputDirectory" is null
cbeust68566752006-12-14 00:04:29 +0000365Fixed: TESTNG-127 UseDefaultListeners in Ant Task does not work
the.mindstormff19c2b2006-12-13 04:37:25 +0000366Fixed: TESTNG-119 Running TestNG runner with invalid '-sourcedir' on JDK14 JavaDoc annotated test classes won't fail.
the.mindstorm8603fcf2006-12-13 04:37:04 +0000367Fixed: TESTNG-113 Dependent methods within the same static inner class are not found
the.mindstorm2151a492006-12-13 04:36:44 +0000368Fixed: TESTNG-125 TestNG failed for test classes under *.java*.* pakages
369
the.mindstorm531c73e2006-12-22 04:06:09 +0000370Eclipse plug-in
371Fixed: issue with launch configuration
372Fixed: TESTNG-124: setting location of testng reports output
373
the.mindstorm2151a492006-12-13 04:36:44 +0000374===========================================================================
the.mindstorm20e416d2006-11-23 10:47:39 +00003755.4
the.mindstormc70a9de2006-10-31 00:18:31 +0000376
the.mindstorm8ced8ae2006-12-10 03:38:58 +0000377Fixed: Ant task issue with paths containing spaces
the.mindstormfeb9f102006-12-08 17:10:25 +0000378Added: for @BeforeGroups and @AfterGroups specifying the groups() attribute will auto-include the method
379 into those groups by default (previously you had to also provide the value() attribute).
the.mindstorm6b25aa42006-11-23 10:11:35 +0000380Added: the load @Tests (invocationCount + threadPoolSize) are triggered simultaneous
381Fixed: reports are correctly displaying the thread info
the.mindstormf50b6182006-11-02 12:39:37 +0000382Added: @DataProvider name defaults to method name
the.mindstormc70a9de2006-10-31 00:18:31 +0000383Added: support for remote protocol to pass parameter information
384Fixed: TextReporter logs information about the parameters of the test methods
the.mindstorm63d1b812006-11-01 18:29:35 +0000385Fixed: concurrency issue in JUnitXMLReporter
386Fixed: output of JUnitXMLReporter must be CDATA
the.mindstormfd3d6292006-11-12 00:55:45 +0000387Fixed: XML unsupported annotations/parallel attribute values are reported
cbeust125d2472006-09-16 19:49:12 +0000388
the.mindstormb74384c2006-11-25 03:16:51 +0000389Eclipse plug-in
the.mindstormbd2de7a2006-11-30 01:24:05 +0000390Fixed: groups with multi-attribute javadoc annotations
the.mindstormb74384c2006-11-25 03:16:51 +0000391Fixed: consistent behavior for dependsOnMethods
392Fixed: consistent behavior for tests with dependsOnGroups (a warning is emitted)
393Fixed: consistent merge of configuration arguments when an existing launch configuration exists
the.mindstorm7b73a742006-09-14 17:39:29 +0000394===========================================================================
cbeust125d2472006-09-16 19:49:12 +00003955.3
Cedric Beustac025d52010-07-20 23:06:08 -07003962006/10/30
cbeust125d2472006-09-16 19:49:12 +0000397
the.mindstorm7a14bd82006-10-25 00:56:00 +0000398Fixed: use a single instance of bsh.Interpreter
the.mindstorm55948752006-10-24 12:16:16 +0000399Added: @Before/@AfterMethod can declare a java.lang.reflect.Method parameter to be informed about the @Test method
the.mindstorm957a0e62006-10-20 00:42:42 +0000400Fixed: super classes must not be listed in testng-failures.xml
401Fixed: parallel attribute must not appear if empty or null in testng-failures.xml
the.mindstorm5e5666c2006-10-16 22:07:24 +0000402Fixed: parsing for javadoc annotations is done on request only
403Added: improved multiple suite summary page report
404Added: -target option deprecated in favor of -annotations javadoc|jdk
cbeust9e5d6a02006-10-16 00:39:54 +0000405Fixed: filesets in the ant task didn't work if the paths have spaces in them
the.mindstorm992befd2006-10-10 22:08:48 +0000406Fixed: Before/After Suite were behaving wrong in parallel execution
407Added: A generic/extensible RemoteTestNG was added to the core
the.mindstorm494a8d82006-09-28 23:06:30 +0000408Fixed: Before/AfterGroup-s were behaving wrong when using invocationCount, dataProvider and threadPoolSize
409Fixed: improved support for running different annotation type tests in the same suite
410Fixed: testng-failed.xml was generated even if there were no failures/skipps
411Fixed: -usedefaultlisteners was wrongly passed to JVM instead of TestNG options
cbeust3ee1fe02006-09-26 14:00:26 +0000412Added: Attribute dataProviderClass for @Test and @testng.test
cbeustada98512006-09-22 20:17:00 +0000413Fixed: Forgot to account for cases where both invocationCount and DataProviders are present
cbeust67a9c892006-09-22 05:38:30 +0000414Fixed: AfterGroups were invoked out of order with invocationCount and DataProviders
cbeustada98512006-09-22 20:17:00 +0000415Fixed: Reporter.getOutput() returned an empty array if a timeOut was specified
cbeust2c303722006-09-17 21:04:34 +0000416Added: testng.xml now supports <suite-files>
cbeust125d2472006-09-16 19:49:12 +0000417Added: ant task can receive several listeners
the.mindstorm6a229092006-09-18 06:52:11 +0000418Fixed: TESTNG-109 Skipped tests with expected exceptions are reported as failures
Bill.Michell55cef1b2006-10-13 16:29:44 +0000419Added: ant task can now select the parallel mode for running tests
420Fixed: ant task correctly deals with empty groups and excludedgroups parameters
421Added: ant task can override default suite and test names
422Added: comand line support for setting parallel mode, suite and test names
the.mindstorm7b73a742006-09-14 17:39:29 +0000423
424Eclipse plug-in
425Added: Support for configuring per project usedefaultlisteners
the.mindstorm6a229092006-09-18 06:52:11 +0000426Added: Contextual drop-down menu on failures tab of the TestNG view to enable running/debugging method failure only
427Added: Suppport for configuring per project TestNG jar usage (project provided one or plugin provided one)
cbeust8855dc42006-08-14 20:20:52 +0000428
the.mindstorma10e6b82006-08-06 21:51:57 +0000429===========================================================================
cbeust8bee4072006-08-23 23:32:32 +00004305.2
431
cbeustae569972006-09-11 19:47:01 +0000432Added: "-usedefaultlisteners true/false" to command line and ant
433Added: EmailableReporter (from Paul Mendelson)
cbeust4b9824b2006-09-01 17:34:08 +0000434Added: parallel can now be "methods" or "tests". Boolean version deprecated
cbeustc2408c32006-08-29 17:23:22 +0000435Added: TestNGAntTask now uses the @ syntax to invoke TestNG
cbeust26b0c782006-08-29 16:54:38 +0000436Added: Command line understands @ syntax
cbeuste24b3802006-08-24 17:47:41 +0000437Added: JUnitConverter uses the new syntax
438Added: -groups to JUnitConverter
cbeust8bee4072006-08-23 23:32:32 +0000439Fixed: Throw proper exception when a DataProvider declares parameters
the.mindstormf91c2a62006-09-03 01:32:44 +0000440Added: completely revamped JUnit support (should run all kind of JUnit tests)
441Fixed: TESTNG-40 (Bug in testng-failed.xml generation)
the.mindstorm2ea93332006-09-04 23:59:44 +0000442Fixed: TESTNG-106 (Failed "@BeforeSuite" method just skipps the last test in xml-file)
443Fixed: Success on 0 tests (http://forums.opensymphony.com/thread.jspa?threadID=41213)
the.mindstormf91c2a62006-09-03 01:32:44 +0000444
445Eclipse plug-in
446Added: TESTNG-105 Automaticaly define TESTNG_HOME classpath variable
cbeust8bee4072006-08-23 23:32:32 +0000447
448===========================================================================
the.mindstorma10e6b82006-08-06 21:51:57 +00004495.1
Cedric Beustac025d52010-07-20 23:06:08 -07004502006/08/18
cbeust336f0ef2006-08-01 22:50:26 +0000451
cbeust8855dc42006-08-14 20:20:52 +0000452Added: @Test(sequential = true)
cbeustca895ef2006-08-09 21:34:51 +0000453Fixed: TESTNG-102 (Incorrect ordering of @BeforeMethod calls when a dependency is specified)
the.mindstorm997a5932006-08-11 19:34:04 +0000454Fixed: TESTNG-101 (HTML output contains nested <P> tags and a missing <tr> tag)
the.mindstorma10e6b82006-08-06 21:51:57 +0000455Added: support for specifying test-only classpath (http://forums.opensymphony.com/thread.jspa?messageID=78048&tstart=0)
456Fixed: TESTNG-93 (method selectors filtering @BeforeMethod)
457Fixed: TESTNG-81 (Assert.assertFalse() displays wrong expected, actual value)
458Fixed: TESTNG-59 (multiple method selectors usage results in no tests run)
459Fixed: TESTNG-56 (invocation of @Before/AfterClass methods in parallel/sequential scenarios)
460Fixed: TESTNG-40 (failures suite does not contain @Before/After Suite/Test methods)
461Fixed: TESTNG-37 (allow passing null parameter value from testng.xml)
462Fixed: TESTNG-7 (display classname when hovering method)
463
464
465Eclipse plug-in
466
467Added: run contextual test classes with parameters from suite definition files
468Added: TESTNG-100 (Show HTML reports after running tests)
the.mindstorm13e8f502006-08-11 20:27:14 +0000469Added: TESTNG-97 (Double click top stack to raise comparison)
the.mindstorma10e6b82006-08-06 21:51:57 +0000470Added: TESTNG-84 (plug-in UI for suite option should support absolute path)
471Added: TESTNG-20 (copy stack trace)
472
473Fixed: TESTNG-72 (display groups with non-array values)
474Fixed: TESTNG-64 (Eclipse plug-in applies added groups to all launch configurations)
475Fixed: TESTNG-28 (Cannot select groups from dependent eclipse projects)
476Fixed: TESTNG-25 (do not display fully qualified method name when running contextual test class)
477
478Improved behavior:
479 TESTNG-98 (temporary files have guaranteed fixed names)
480 TESTNG-95 (Assertion failed comparison trims trailing ">")
cbeust96761aa2006-08-15 17:31:35 +0000481 TESTNG-70 (TestNG prevents eclipse from opening an older CVS version of a java class)
the.mindstorma10e6b82006-08-06 21:51:57 +0000482 display of test hierarchy information (TESTNG-29)
483
cbeust336f0ef2006-08-01 22:50:26 +0000484===========================================================================
485
4865.0.1
487
488Eclipse plug-in
489
490Added: Output directory for the tests
491Added: Can now specify listener classes
492
493===========================================================================
4945.0.1
495
496Fixed: reports generated by SuiteHTMLReporter do not work with JDK1.4
497
498===========================================================================
499
5005.0
Cedric Beustac025d52010-07-20 23:06:08 -07005012009/04/01
cbeust336f0ef2006-08-01 22:50:26 +0000502
503Added: Ant task: support for JVM, workingDir, timeout
504Added: Stack traces can be interactively shown in the HTML reports
505Added: Link to testng.xml in the reports
506Added: New structure for reports, suites go in their individual directory
507Added: @Test(suiteName) and @Test(testName)
508Added: The stack traces in reports do not include TestNG frames (system property testng.exception)
509 (see: http://groups.google.com/group/testng-dev/browse_thread/thread/9f4d46ade10b0fda)
510Fixed: Exit with error when no methods are run
511 (see: http://groups.google.com/group/testng-dev/browse_thread/thread/3c26e8a5658f22ac)
512Added: List of methods in alphabetical order
513Fixed: Class-scoped annotations were not recognized when inherited
514Added: Deprecated @Configuration and introduced @BeforeSuite/Test/Class/TestMethod
515Added: Deprecated @ExpectedExceptions and moved it into @Test
516Added: expectedExceptions to @Test, deprecated @ExpectedExceptions
517Added: New annotations: @BeforeSuite, @BeforeTest, etc...
518Fixed: Was returning an exit code of 0 if a cyclic graph was detected
519Added: Interface org.testng.ITest so that tests can declare a name
520Fixed: The Text reporter was reporting the square of the actual number of methods
521Fixed: Bug reported by Eran about dependencies with an afterClass method
522Added: IHookCallBack now receives the ITestResult in its run() method
523Added: Name of suite for command line can be set with -Dtestng.suite.name=xxx
524Fixed: TestNGAntTask was hardcoding m_haltOnFSP to true
525Fixed: Passing a null parameter caused an NPE in the reports
526Added: "listener" to the ant task (and documentation)
527Added: if patch-testng-sourcedir.properties is found in the classpath
528 with a property "sourcedir" containing a ; separated list of
529 directories, this list will override -sourcedir.
530
531===========================================================================
532
533
5344.7
535
536Added: Maven 2 plug-in
537Fixed: Message formattings in TestNG assertion utility class
538Fixed: @Factory methods were counted as @Test as well
539 http://jira.opensymphony.com/browse/TESTNG-51
540Fixed: All DataProvider parameters were shown in the HTML report
541Fixed: Bug in testng-failed.xml generation
542Fixed: <packages> bug when using a jar file to load the test classes
543Added: alwaysRun for before @Configuration methods
544 http://jira.opensymphony.com/browse/TESTNG-35
545Fixed: groupless @Configurations were not invoked if a method depends on a group
546 http://jira.opensymphony.com/browse/TESTNG-45
547Added: beforeGroups/afterGroups to @Configuration
548
549Eclipse plugin:
550
551Added: last contextual launch is available in Eclipse launcher lists
552Fixed: 3.2M5 integration (removed dependency on non-existing class)
553Fixed: testng-failures.xml generation
554
555===========================================================================
556
5574.6
Cedric Beustac025d52010-07-20 23:06:08 -07005582006/27/02
cbeust336f0ef2006-08-01 22:50:26 +0000559
560Added: Documentation contains the new reports
561Added: TestNG.setUseDefaultListeners(boolean)
562Added: Descriptions now appear in TextReporter (verbose>=2) and the HTML reports
563Added: description attribute to @Test and @Configuration
564Added: combined Reporter output in the reports
565Added: methods not run in the reports
566Added: org.testng.IReporter
567Added: threadPoolSize to @Test
568Added: Reports now show relative timings (start at 0)
569Added: Reports now show different colors depending on the methods' classes
570Added: Reports now show all parameters used to invoke the test method
571Added: org.testng.Reporter
572Added: DataProviders can accept a Method as first parameter
573Fixed: Extraneous implicit inclusion of a method
574
575Eclipse plugin:
576
577Added: Run/Debug as TestNG test from the editor contextual menu
578Fixed: TESTNG-24: 'Run as testng test' does not appear of the Test annotation does not have a group
579Fixed: TESTNG-18: Eclipse plugin ignores Factory annotation
580Fixed: TESTNG-21: Show differences when double clicking assertion exceptions
581Added: UI allows setting orientation (even more space)
582 http://forums.opensymphony.com/thread.jspa?threadID=17225&messageID=33805#33805
583
584===========================================================================
585
5864.5
Cedric Beustac025d52010-07-20 23:06:08 -07005872007/07/02
cbeust336f0ef2006-08-01 22:50:26 +0000588
589Core:
590
591Fixed: Methods were not implicitly included, only groups
592Fixed: Bug with failed parent @Configuration don't skip child @Configuration/@Test invocations
593Fixed: Bug with overridding @Configuration methods (both parent and child were run)
594Fixed: Bug when overriding beforeClass methods in base class (cyclic graph)
595Added: Support for JAAS (see org.testng.IHookable)
596Fixed: Problem with nested classes inside <package name="foo.*"
597Fixed: If a group is not found, mark the method as a skip instead of aborting
598Fixed: testng-failed.xml was not respecting dependencies
599Fixed: class/include method in testng.xml didn't work on default package
600Fixed: DTD only allowed one <define>
601Fixed: ArrayIndexOutOfBoundsException for jMock
602Added: dependsOnMethods can contain methods from another class
603Fixed: JUnitConverter required -restore, not any more (option is now a no-op)
604Fixed: JUnit mode wasn't invoking setName() on test classes
605Added: Regular expressions for classes in <package>
606Added: Distributed TestNG
607Fixed: Command line parameters and testng.xml are now cumulative
608Fixed: Reports now work for multiple suites
609Fixed: Was ignoring abstract classes even if they have non-abstract instances
610Fixed: If setUp() failed, methods were not skipped
611Fixed: Was not clearly indicating when beforeSuite fails
612Added: @Configuration.inheritGroups
613Fixed: inconsistency between testng.xml and objects regarding method selectors
614
615Eclipse plug-in:
616
617New look for the progress view.
618
619===========================================================================
620
6214.4
622
623Core:
624
625Fixed: testng-failures.xml was not excluding methods from base classes
626Fixed: Bug in suites of suites for JUnit mode
627
628===========================================================================
629
6304.3
631
632Core:
633
634Fixed: testng-failures.xml was not excluding methods from base classes
635Fixed: Bug in suites of suites for JUnit mode
636Added: Excluded groups on command line and ant task
637Fixed: When including a group, implicitly include groups depended upon
638Fixed: When depending on several groups, wasn't skipped if one of them failed
639Fixed: Failures weren't reported accurately in the JUnitReports report
640Fixed: Wasn't throwing an exception if depending on a non-existing group
641
642===========================================================================
643
6444.2
645
646Core:
647
648Fixed: wasn't excluding methods in base classes
649Added: alwaysRun for tests (soft dependencies)
650Fixed: Class-level enabled=false were not honored
651Fixed: Bug with multiple dataproviders on same class
652Fixed: Bug with dataprovider defined in the parent class
653Fixed: Bug with dataprovider defined in a subclass
654Fixed: Bug with dataprovider defined in an abstract class
655Fixed: testng-failures generation was excluding the methods even if a failed test depended on it
656
657===========================================================================
658
6594.1
660
661Core:
662
663Added: @DataProviders can return Iterable<Object[]>
664Fixed: Superclass test methods were not called in the presence of a class @Test
665Added: Reporter class to log messages in the HTML reports
666
667===========================================================================
668
6694.0
Cedric Beustac025d52010-07-20 23:06:08 -07006702005/11/10
cbeust336f0ef2006-08-01 22:50:26 +0000671
672Core:
673
674Fixed: suite methods now invoked only once in a hierarchy
675Added: @DataProvider and @testng.data-provider
676Fixed: Interleave order now respected for before/afterClass methods
677Added: Can now invoke java -jar testng-2.6.jar <...>
678Added: Support for BeanShell
679Added: Method Selectors (IMethodSelector)
680Fixed: In the absence of dependencies, @Configuration methods respect inheritance
681Fixed: Bug in multithreaded dependencies on methods
682Fixed: dependsOnGroups wasn't working on regular expressions
683Fixed: Bug in <package> when directories contain spaces in their names
684Fixed: Introduced a JDK5 dependency in the JDK1.4 build (getEnclosingClass())
685Fixed: Output directory in ant task was not honored if it didn't exist
686Fixed: Problem with timeout according to
687 http://forums.opensymphony.com/thread.jspa?threadID=6707
688
689Eclipse plug-in:
690
691Fixed: Wasn't handling linked directories correctly
692Fixed: Bug in QuickFix implementation
693Added: Quick Fix for JUnit conversion (Annotations and JavaDoc)
694Fixed: Methods Run as TestNG test
695Added: Package level Run as TestNG test
696Fixed: Resources from the linked directories are using a wrong path when
697 passed to command line TestNG
698
699IDEA plug-in:
700
701Added: Support for JDK 1.4 (both projects and IDEA itself)
702Fixed: Classes that contained only configuration were ignored
703
704===========================================================================
705
7062.5
Cedric Beustac025d52010-07-20 23:06:08 -07007072005/08/08
cbeust336f0ef2006-08-01 22:50:26 +0000708
709Added: ITestListener.onTestStart(ITestResult)
710Added: Support for <packages>
711Added: Resource files for easier ant taskdefs
712Fixed: @Configuration methods were not invoked with individual test methods
713Fixed: Bug with ExpectedExceptions
714Fixed: Didn't support nested factory classes
715Fixed: NPE if -target is omitted with JDK 1.4
716Fixed: @Configuration failures in a class would cause other classes to fail
717Added: alwaysRun
718Fixed: beforeTestClass/afterTestClass were broken for a pathological case
719Added: @Configuration(alwaysRun)
720Added: JUnitConverter task
721Fixed: < and > characters in reports were not escaped
722
723Eclipse plug-in:
724
725Fixed: Class dialog wasn't showing @Factory classes
726
727IDEA plug-in:
728
729First release!
730
731Documentation:
732
733Added: Brand new look!!!
734Added: Section on testng.xml
735Fixed: Numbering of sections
736
737===========================================================================
738
7392.4
Cedric Beustac025d52010-07-20 23:06:08 -07007402005/07/05
741
cbeust336f0ef2006-08-01 22:50:26 +0000742Changed: New package: testng.org
743Fixed: Bug with @ExpectedException occuring the parallel mode
744Fixed: Bug with parameters and beforeTest
745Added: IInstanceInfo support
746Fixed: methods were not excluded when included by groups
747Fixed: testng-failures.xml is now including also the beforeSuite/afterSuite methods
748Fixed: generating the testng-failures.xml is now working as expected
749Fixed: Factories call all the tests even if some of them fail along the way
750Fixed: Better JUnit support (wasn't creating individual instances)
751Fixed: dependsOnGroups didn't work across different classes
752Added: command line (and Ant) -groups option
753Added: @Parameters (and made parameters attribute deprecated)
754Added: Parameters for constructors
755Fixed: Better interleaving of before/afterTestMethods
756Fixed: Ant task
757Fixed: TestNGException thrown when TestNG conditions are not fulfilled
758
759Documentation:
760- New assert classes
761- New ways to launch
762- JUnitConverter documentation
763- new beforeSuite/afterSuite
764
765===========================================================================
766
7672.3
Cedric Beustac025d52010-07-20 23:06:08 -07007682005/04/12
cbeust336f0ef2006-08-01 22:50:26 +0000769
770Fixed: Spaces are now legal in JavaDoc comments
771Added: documentation for @Factory
772Fixed: factories were called multiple times
773Added: beforeSuite and afterSuite
774Fixed: inheritance and scope now working properly for annotations
775Fixed: dependsOnMethods wasn't working for 1.4
776Added: Better stack traces
777Added: Better syntax for included/excluded methods
778Fixed: Better verbose support
779Fixed: Various fixes for the Eclipse plug-in
780Added: Can specify a class name on the command line
781Fixed: Default package bug in JUnitConverter
782Added: Regression tests for JUnitConverter
783Added: -quiet option to JUnitConverter
784
785===========================================================================
786
7872.2
788
789Fixed: Wasn't handling several testng.xml files correctly
790Fixed: Renamed -src to -sourcedir
791Fixed: Complains if no sourcedir is specified in 1.4
792Added: In 1.4, don't require annotations="javadoc"
793Fixed: If setUp fails, complain and mark test methods as skips
794Fixed: Dependent methods weren't working for 1.4
795
796===========================================================================
797
7982.1
Cedric Beustac025d52010-07-20 23:06:08 -07007992005/02/12
cbeust336f0ef2006-08-01 22:50:26 +0000800
801Added: Parser can accept an InputStream for testng.xml
802Fixed: expected-exceptions now fails if test passes
803Fixed: reports now use the suite name in HTML
804Added: invocationCount and successPercentage
805Added: dependsOnMethods
806Added: timeOut works in non-parallel mode
807
808===========================================================================
809
8102.0
Cedric Beustac025d52010-07-20 23:06:08 -07008112004/12/06
cbeust336f0ef2006-08-01 22:50:26 +0000812
813Added: port on JDK 1.4
814
815===========================================================================
816
8171.3
818
819Added: new view: classes (still experimental)
820Added: timeout on methods
821Added: thread-count
822Added: TestNG is now multithread, see "parallel" in <suite>
823
824===========================================================================
825
8261.2
827
828Added: JUnitConverter
829Fixed: Bug with afterClasses (test: AfterClassCalledAtTheEnd)
830
831===========================================================================
832
8331.1
834
835Added: new links for methods and groups in the HTML report
836Added: <methods>
837Added: <fileset> to <testng>
838
839===========================================================================
840
8411.0
Cedric Beustac025d52010-07-20 23:06:08 -07008422004/04/28
843http://beust.com/weblog/2004/04/28/
cbeust336f0ef2006-08-01 22:50:26 +0000844
845Fixed: Updated to the new DTD
846Fixed: Suite table of contents displays failures first
847Fixed: Bug in afterTestClass
848Added: Validating testng.xml
849Added: Scoped parameters
850Added: testng.xml
851Removed: Property quiet
852Changed: Verbose is now an integer
853Added: Dependent methods
854
855===========================================================================
856
8570.9
858
859Added: Groups of groups
860Added: Groups for Configuration methods
861Added: Parameters
862
863===========================================================================
864
8650.2
866
867Fixed: Merged TestMethod and TestClass into Test
868Added: HTML report
869Added: Regexps for groups
870Fixed: Inheritance of methods
871Fixed: ExpectedException is now called ExpectedExceptions