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.

Bug 256226

Summary: Test Integration Test "Run Focused Test Method" support
Product: java Reporter: mosesonline <mosesonline>
Component: JUnitAssignee: Theofanis Oikonomou <theofanis>
Status: NEW ---    
Severity: normal Keywords: TEST
Priority: P3    
Version: 8.0.2   
Hardware: PC   
OS: Windows 8.1   
Issue Type: ENHANCEMENT Exception Reporter:

Description mosesonline 2015-10-28 11:19:29 UTC
When I'm in a test class i.e. MyServiceTestIT I can choose "Run Focused Test Method" in the popup menu.

But when I press it the test is skipped because it's an itegration test. As far as I know maven failsafe can run single methods.
As far as I know it's possible in eclipse to run this tests as normal unit tests.

Support for this would be great.
Comment 1 mosesonline 2015-10-28 11:27:11 UTC
For "Test file" I had to modify the action in the project settings "Test file" so it would be also great if this would work out of the box, too. For the "Run Focused Test Method" case it is not possible to modify the action in the project settings, there is no action and no varialbe ${focusedMethodName}, as far as I know.