This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Created attachment 125799 [details] Proposed patch of NbModuleSuite Proposed patch provides simple support for TestNG integration tests with the use of existing infrastructure in NbModuleSuite. Two methods are introduced to set up and tear down RCP application from a TestNG test class. Proposed usage case example code can be found in the patch in runTestngContainer javadoc. The proposed code works on my Maven-based RCP projects. Known problem: Under some circumstances (not always - depends on the way how the test is initiated) starting RCP application produces series of org.netbeans.DuplicateException warnings. This does not break the tests nor affect running application functionality, nevertheless it makes annoying application startup experience because the warning is provided in the error-reporting dialog and does not fall into the application log only.