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 - Test Integration Test "Run Focused Test Method" support
Summary: Test Integration Test "Run Focused Test Method" support
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: JUnit (show other bugs)
Version: 8.0.2
Hardware: PC Windows 8.1
: P3 normal (vote)
Assignee: Theofanis Oikonomou
URL:
Keywords: TEST
Depends on:
Blocks:
 
Reported: 2015-10-28 11:19 UTC by mosesonline
Modified: 2015-10-28 11:28 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.