Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!
Bug 219939 - TestNG functional testing support helper methods
TestNG functional testing support helper methods
Status: NEW
Product: java
Classification: Unclassified
Component: TestNG
7.3
All All
: P3 (vote)
: TBD
Assigned To: Theofanis Oikonomou
issues@java
:
Depends on: 232229
Blocks:
  Show dependency treegraph
 
Reported: 2012-10-11 18:44 UTC by František Mantlík
Modified: 2013-07-03 21:12 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
:


Attachments
Proposed patch of NbModuleSuite (4.34 KB, application/octet-stream)
2012-10-11 18:44 UTC, František Mantlík
Details

Note You need to log in before you can comment on or make changes to this bug.
Description František Mantlík 2012-10-11 18:44:08 UTC
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.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo